# Something like this for the firewall script ## By default no firewalling #${fwcmd} add 65000 pass all from any to any # ## Transproxy/WLportal/Captive portal #${fwcmd} add 10000 allow tcp from any to localhost 80 #${fwcmd} add 10001 allow tcp from any to me 80 # ############# ## Reserved: WLPortal rule numbers ## 10010 - 10099 # ## Forward rules work without a base address, so needed a loop over all inet4 adresses #for IP in `ifconfig -a | awk '/inet / {print $2}'`; do # ${fwcmd} add 10100 fwd $IP,8081 tcp from any to not 172.16.0.0/12 80 #done