Advertisement
Guest User

Untitled

a guest
Feb 19th, 2022
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.90 KB | None | 0 0
  1. cromo@RT-AX88U-8158:/tmp/home/root# more /jffs/addons/YazFi.d/config
  2. ####################################################################
  3. ###### YazFi Configuration ######
  4. ####################################################################
  5. # User Variables - edit as needed #
  6. # #
  7. # You must configure the Guest Network(s) in #
  8. # the router GUI before using this script #
  9. # #
  10. # N.B. Currently hardcoded to a 255.255.255.0 #
  11. # subnet, so DHCP pool can start at a minimum #
  12. # of X.Y.Z.2 and a maximum of X.Y.Z.254 #
  13. # #
  14. ####################################################################
  15. ###### 2.4 GHz Networks ######
  16. ####################################################################
  17. ###### Guest Network 1 (wl0.1) #####
  18. ####################################################################
  19. wl01_ENABLED=false
  20. wl01_IPADDR=192.168.2.0
  21. wl01_DHCPSTART=2
  22. wl01_DHCPEND=254
  23. wl01_DNS1=192.168.2.1
  24. wl01_DNS2=192.168.2.1
  25. wl01_FORCEDNS=false
  26. wl01_ALLOWINTERNET=true
  27. wl01_REDIRECTALLTOVPN=false
  28. wl01_VPNCLIENTNUMBER=1
  29. wl01_TWOWAYTOGUEST=false
  30. wl01_ONEWAYTOGUEST=false
  31. wl01_CLIENTISOLATION=false
  32. ####################################################################
  33. ###### Guest Network 2 (wl0.2) #####
  34. ####################################################################
  35. wl02_ENABLED=false
  36. wl02_IPADDR=192.168.3.0
  37. wl02_DHCPSTART=2
  38. wl02_DHCPEND=254
  39. wl02_DNS1=8.8.8.8
  40. wl02_DNS2=8.8.4.4
  41. wl02_FORCEDNS=false
  42. wl02_ALLOWINTERNET=true
  43. wl02_REDIRECTALLTOVPN=false
  44. wl02_VPNCLIENTNUMBER=1
  45. wl02_TWOWAYTOGUEST=false
  46. wl02_ONEWAYTOGUEST=false
  47. wl02_CLIENTISOLATION=false
  48. ####################################################################
  49. ###### Guest Network 3 (wl0.3) #####
  50. ####################################################################
  51. wl03_ENABLED=false
  52. wl03_IPADDR=192.168.4.0
  53. wl03_DHCPSTART=2
  54. wl03_DHCPEND=254
  55. wl03_DNS1=8.8.8.8
  56. wl03_DNS2=8.8.4.4
  57. wl03_FORCEDNS=false
  58. wl03_ALLOWINTERNET=true
  59. wl03_REDIRECTALLTOVPN=false
  60. wl03_VPNCLIENTNUMBER=1
  61. wl03_TWOWAYTOGUEST=false
  62. wl03_ONEWAYTOGUEST=false
  63. wl03_CLIENTISOLATION=false
  64. ####################################################################
  65. ###### 5 GHz Networks ######
  66. ####################################################################
  67. ###### Guest Network 1 (wl1.1) #####
  68. ####################################################################
  69. wl11_ENABLED=false
  70. wl11_IPADDR=192.168.5.0
  71. wl11_DHCPSTART=2
  72. wl11_DHCPEND=254
  73. wl11_DNS1=8.8.8.8
  74. wl11_DNS2=8.8.4.4
  75. wl11_FORCEDNS=false
  76. wl11_ALLOWINTERNET=true
  77. wl11_REDIRECTALLTOVPN=false
  78. wl11_VPNCLIENTNUMBER=1
  79. wl11_TWOWAYTOGUEST=false
  80. wl11_ONEWAYTOGUEST=false
  81. wl11_CLIENTISOLATION=false
  82. ####################################################################
  83. ###### Guest Network 2 (wl1.2) #####
  84. ####################################################################
  85. wl12_ENABLED=true
  86. wl12_IPADDR=192.168.6.0
  87. wl12_DHCPSTART=2
  88. wl12_DHCPEND=254
  89. wl12_DNS1=9.9.9.9
  90. wl12_DNS2=8.8.4.4
  91. wl12_FORCEDNS=false
  92. wl12_ALLOWINTERNET=true
  93. wl12_REDIRECTALLTOVPN=true
  94. wl12_VPNCLIENTNUMBER=2
  95. wl12_TWOWAYTOGUEST=false
  96. wl12_ONEWAYTOGUEST=false
  97. wl12_CLIENTISOLATION=false
  98. ####################################################################
  99. ###### Guest Network 3 (wl1.3) #####
  100. ####################################################################
  101. wl13_ENABLED=true
  102. wl13_IPADDR=192.168.7.0
  103. wl13_DHCPSTART=2
  104. wl13_DHCPEND=254
  105. wl13_DNS1=9.9.9.9
  106. wl13_DNS2=8.8.4.4
  107. wl13_FORCEDNS=false
  108. wl13_ALLOWINTERNET=true
  109. wl13_REDIRECTALLTOVPN=true
  110. wl13_VPNCLIENTNUMBER=1
  111. wl13_TWOWAYTOGUEST=false
  112. wl13_ONEWAYTOGUEST=false
  113. wl13_CLIENTISOLATION=false
  114. ####################################################################
  115. ###### 5 GHz - 2 Networks ######
  116. ###### (for those with 2 5GHz radios, e.g. RT-AC5300) ######
  117. ####################################################################
  118. ###### Guest Network 1 (wl2.1) #####
  119. ####################################################################
  120. wl21_ENABLED=false
  121. wl21_IPADDR=192.168.8.0
  122. wl21_DHCPSTART=2
  123. wl21_DHCPEND=254
  124. wl21_DNS1=8.8.8.8
  125. wl21_DNS2=8.8.4.4
  126. wl21_FORCEDNS=false
  127. wl21_ALLOWINTERNET=true
  128. wl21_REDIRECTALLTOVPN=false
  129. wl21_VPNCLIENTNUMBER=1
  130. wl21_TWOWAYTOGUEST=false
  131. wl21_ONEWAYTOGUEST=false
  132. wl21_CLIENTISOLATION=false
  133. ####################################################################
  134. ###### Guest Network 2 (wl2.2) #####
  135. ####################################################################
  136. wl22_ENABLED=false
  137. wl22_IPADDR=192.168.9.0
  138. wl22_DHCPSTART=2
  139. wl22_DHCPEND=254
  140. wl22_DNS1=8.8.8.8
  141. wl22_DNS2=8.8.4.4
  142. wl22_FORCEDNS=false
  143. wl22_ALLOWINTERNET=true
  144. wl22_REDIRECTALLTOVPN=false
  145. wl22_VPNCLIENTNUMBER=1
  146. wl22_TWOWAYTOGUEST=false
  147. wl22_ONEWAYTOGUEST=false
  148. wl22_CLIENTISOLATION=false
  149. ####################################################################
  150. ###### Guest Network 3 (wl2.3) #####
  151. ####################################################################
  152. wl23_ENABLED=false
  153. wl23_IPADDR=192.168.10.0
  154. wl23_DHCPSTART=2
  155. wl23_DHCPEND=254
  156. wl23_DNS1=8.8.8.8
  157. wl23_DNS2=8.8.4.4
  158. wl23_FORCEDNS=false
  159. wl23_ALLOWINTERNET=true
  160. wl23_REDIRECTALLTOVPN=false
  161. wl23_VPNCLIENTNUMBER=1
  162. wl23_TWOWAYTOGUEST=false
  163. wl23_ONEWAYTOGUEST=false
  164. wl23_CLIENTISOLATION=false
  165. ####################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement