Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cromo@RT-AX88U-8158:/tmp/home/root# more /jffs/addons/YazFi.d/config
- ####################################################################
- ###### YazFi Configuration ######
- ####################################################################
- # User Variables - edit as needed #
- # #
- # You must configure the Guest Network(s) in #
- # the router GUI before using this script #
- # #
- # N.B. Currently hardcoded to a 255.255.255.0 #
- # subnet, so DHCP pool can start at a minimum #
- # of X.Y.Z.2 and a maximum of X.Y.Z.254 #
- # #
- ####################################################################
- ###### 2.4 GHz Networks ######
- ####################################################################
- ###### Guest Network 1 (wl0.1) #####
- ####################################################################
- wl01_ENABLED=false
- wl01_IPADDR=192.168.2.0
- wl01_DHCPSTART=2
- wl01_DHCPEND=254
- wl01_DNS1=192.168.2.1
- wl01_DNS2=192.168.2.1
- wl01_FORCEDNS=false
- wl01_ALLOWINTERNET=true
- wl01_REDIRECTALLTOVPN=false
- wl01_VPNCLIENTNUMBER=1
- wl01_TWOWAYTOGUEST=false
- wl01_ONEWAYTOGUEST=false
- wl01_CLIENTISOLATION=false
- ####################################################################
- ###### Guest Network 2 (wl0.2) #####
- ####################################################################
- wl02_ENABLED=false
- wl02_IPADDR=192.168.3.0
- wl02_DHCPSTART=2
- wl02_DHCPEND=254
- wl02_DNS1=8.8.8.8
- wl02_DNS2=8.8.4.4
- wl02_FORCEDNS=false
- wl02_ALLOWINTERNET=true
- wl02_REDIRECTALLTOVPN=false
- wl02_VPNCLIENTNUMBER=1
- wl02_TWOWAYTOGUEST=false
- wl02_ONEWAYTOGUEST=false
- wl02_CLIENTISOLATION=false
- ####################################################################
- ###### Guest Network 3 (wl0.3) #####
- ####################################################################
- wl03_ENABLED=false
- wl03_IPADDR=192.168.4.0
- wl03_DHCPSTART=2
- wl03_DHCPEND=254
- wl03_DNS1=8.8.8.8
- wl03_DNS2=8.8.4.4
- wl03_FORCEDNS=false
- wl03_ALLOWINTERNET=true
- wl03_REDIRECTALLTOVPN=false
- wl03_VPNCLIENTNUMBER=1
- wl03_TWOWAYTOGUEST=false
- wl03_ONEWAYTOGUEST=false
- wl03_CLIENTISOLATION=false
- ####################################################################
- ###### 5 GHz Networks ######
- ####################################################################
- ###### Guest Network 1 (wl1.1) #####
- ####################################################################
- wl11_ENABLED=false
- wl11_IPADDR=192.168.5.0
- wl11_DHCPSTART=2
- wl11_DHCPEND=254
- wl11_DNS1=8.8.8.8
- wl11_DNS2=8.8.4.4
- wl11_FORCEDNS=false
- wl11_ALLOWINTERNET=true
- wl11_REDIRECTALLTOVPN=false
- wl11_VPNCLIENTNUMBER=1
- wl11_TWOWAYTOGUEST=false
- wl11_ONEWAYTOGUEST=false
- wl11_CLIENTISOLATION=false
- ####################################################################
- ###### Guest Network 2 (wl1.2) #####
- ####################################################################
- wl12_ENABLED=true
- wl12_IPADDR=192.168.6.0
- wl12_DHCPSTART=2
- wl12_DHCPEND=254
- wl12_DNS1=9.9.9.9
- wl12_DNS2=8.8.4.4
- wl12_FORCEDNS=false
- wl12_ALLOWINTERNET=true
- wl12_REDIRECTALLTOVPN=true
- wl12_VPNCLIENTNUMBER=2
- wl12_TWOWAYTOGUEST=false
- wl12_ONEWAYTOGUEST=false
- wl12_CLIENTISOLATION=false
- ####################################################################
- ###### Guest Network 3 (wl1.3) #####
- ####################################################################
- wl13_ENABLED=true
- wl13_IPADDR=192.168.7.0
- wl13_DHCPSTART=2
- wl13_DHCPEND=254
- wl13_DNS1=9.9.9.9
- wl13_DNS2=8.8.4.4
- wl13_FORCEDNS=false
- wl13_ALLOWINTERNET=true
- wl13_REDIRECTALLTOVPN=true
- wl13_VPNCLIENTNUMBER=1
- wl13_TWOWAYTOGUEST=false
- wl13_ONEWAYTOGUEST=false
- wl13_CLIENTISOLATION=false
- ####################################################################
- ###### 5 GHz - 2 Networks ######
- ###### (for those with 2 5GHz radios, e.g. RT-AC5300) ######
- ####################################################################
- ###### Guest Network 1 (wl2.1) #####
- ####################################################################
- wl21_ENABLED=false
- wl21_IPADDR=192.168.8.0
- wl21_DHCPSTART=2
- wl21_DHCPEND=254
- wl21_DNS1=8.8.8.8
- wl21_DNS2=8.8.4.4
- wl21_FORCEDNS=false
- wl21_ALLOWINTERNET=true
- wl21_REDIRECTALLTOVPN=false
- wl21_VPNCLIENTNUMBER=1
- wl21_TWOWAYTOGUEST=false
- wl21_ONEWAYTOGUEST=false
- wl21_CLIENTISOLATION=false
- ####################################################################
- ###### Guest Network 2 (wl2.2) #####
- ####################################################################
- wl22_ENABLED=false
- wl22_IPADDR=192.168.9.0
- wl22_DHCPSTART=2
- wl22_DHCPEND=254
- wl22_DNS1=8.8.8.8
- wl22_DNS2=8.8.4.4
- wl22_FORCEDNS=false
- wl22_ALLOWINTERNET=true
- wl22_REDIRECTALLTOVPN=false
- wl22_VPNCLIENTNUMBER=1
- wl22_TWOWAYTOGUEST=false
- wl22_ONEWAYTOGUEST=false
- wl22_CLIENTISOLATION=false
- ####################################################################
- ###### Guest Network 3 (wl2.3) #####
- ####################################################################
- wl23_ENABLED=false
- wl23_IPADDR=192.168.10.0
- wl23_DHCPSTART=2
- wl23_DHCPEND=254
- wl23_DNS1=8.8.8.8
- wl23_DNS2=8.8.4.4
- wl23_FORCEDNS=false
- wl23_ALLOWINTERNET=true
- wl23_REDIRECTALLTOVPN=false
- wl23_VPNCLIENTNUMBER=1
- wl23_TWOWAYTOGUEST=false
- wl23_ONEWAYTOGUEST=false
- wl23_CLIENTISOLATION=false
- ####################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement