Wi-Fi How To

From Navas Wireless Wiki

Jump to: navigation, search
(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>&nbsp;&nbsp;&nbsp;interface=wl0.1<br>&nbsp;&nbsp;&nbsp;dhcp-option=wl0.1,3,192.168.2.1<br>&nbsp;&nbsp;&nbsp;dhcp-option=wl0.1,6,192.168.1.1<br>&nbsp;&nbsp;&nbsp;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 &rarr; Commands &rarr; Command Shell'''''
# '''''Administration &rarr; Commands &rarr; Command Shell'''''
-
:* Enter the ''Commands'':
+
:* Enter the ''Commands'':<code><br>&nbsp;&nbsp;&nbsp;iptables -I INPUT -i wl0.1 -m state --state NEW -j logaccept<br>&nbsp;&nbsp;&nbsp;iptables -I FORWARD -i wl0.1 -o br0 -j logdrop<br>&nbsp;&nbsp;&nbsp;iptables -I FORWARD -i br0 -o wl0.1 -j logdrop</code>
-
::{|
+
-
|
+
-
iptables -I INPUT -i wl0.1 -m state --state NEW -j logaccept
+
-
iptables -I FORWARD -i wl0.1 -o br0 -j logdrop
+
-
iptables -I FORWARD -i br0 -o wl0.1 -j logdrop
+
-
|}
+
:* Click ''Save Firewall''
:* Click ''Save Firewall''
:* Click the ''Management'' tab
:* Click the ''Management'' tab

Revision as of 21:40, 16 September 2009

Personal tools