Wi-Fi How To
From Navas Wireless Wiki
(→Two wireless networks on one router: edit) |
(→Two wireless networks on one router: add content) |
||
Line 75: | Line 75: | ||
#* Click ''Save'' (and do '''not''' click ''Apply Settings'') | #* Click ''Save'' (and do '''not''' click ''Apply Settings'') | ||
# '''''Services → Services → DNSMasq''''' | # '''''Services → Services → DNSMasq''''' | ||
+ | #* In ''Additional DNSMasq Options'' enter:<code><br> interface=wl0.1<br> dhcp-option=wl0.1,3,192.168.2.1<br> dhcp-option=wl0.1,6,192.168.1.1<br> dhcp-range=wl0.1,192.168.2.100,192.168.2.249,255.255.255.0,1440m</code> | ||
+ | #* Click ''Save'' (and do '''not''' click ''Apply Settings'') | ||
# '''''Administration → Commands → Command Shell''''' | # '''''Administration → Commands → Command Shell''''' | ||
- | :* Enter the ''Commands'': | + | :* Enter the ''Commands'':<code><br> iptables -I INPUT -i wl0.1 -m state --state NEW -j logaccept<br> iptables -I FORWARD -i wl0.1 -o br0 -j logdrop<br> iptables -I FORWARD -i br0 -o wl0.1 -j logdrop</code> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
:* Click ''Save Firewall'' | :* Click ''Save Firewall'' | ||
:* Click the ''Management'' tab | :* Click the ''Management'' tab |