Differences

This shows you the differences between two versions of the page.

doc:recipes:routedap [2012/09/25 05:39]
hongquan
doc:recipes:routedap [2014/04/28 12:59] (current)
kronick
Line 68: Line 68:
Edit ''/etc/config/firewall'' and add new ''[[doc:uci:firewall#zones|zone]]'' section covering the ''wifi'' interface: Edit ''/etc/config/firewall'' and add new ''[[doc:uci:firewall#zones|zone]]'' section covering the ''wifi'' interface:
-| ''config 'zone' +| ''config zone 
-        option 'name'       **'wifi'** +        option name      **wifi** 
-        option 'input'     'ACCEPT' +        list  network    **'wifi'** 
-        option 'output'     'ACCEPT' +        option input      ACCEPT 
-        option 'forward'   'REJECT' '' |+        option output    ACCEPT 
 +        option forward    REJECT '' |
Now that the zone is defined, traffic forwarding control for the wireless network can be implemented. Now that the zone is defined, traffic forwarding control for the wireless network can be implemented.
Line 93: Line 94:
        option 'dest'      'lan' '' |         option 'dest'      'lan' '' |
 +If clients on the wifi network can't connect to the outside Internet, you may also need to enable masquerade (NAT) on your lan. To do this, add "option masq '1'" to your lan zone config as follows:
 +| ''config zone
 +        option name 'lan'
 +        option network 'lan'
 +        option input 'ACCEPT'
 +        option output 'ACCEPT'
 +        option forward 'REJECT'
 +        **option masq '1'** '' |
===== Apply changes ===== ===== Apply changes =====

Back to top

doc/recipes/routedap.1348544349.txt.bz2 · Last modified: 2012/09/25 05:39 by hongquan