This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
router_setup_instructions [2009/05/29 09:42] 127.0.0.1 external edit |
router_setup_instructions [2010/03/23 13:48] admin old revision restored |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Linksys WRT54G setup with WiFi Dog instructions ====== x | + | ====== Linksys WRT54G setup with WiFi Dog instructions ====== |
- make sure you have the supported version of OpenWRT -- get it here: | - make sure you have the supported version of OpenWRT -- get it here: | ||
Line 221: | Line 221: | ||
reboot | reboot | ||
</code> | </code> | ||
+ | |||
+ | ===== preventing wifi users from accessing the local LAN ===== | ||
+ | |||
+ | add to the end of /etc/firewall.user: | ||
+ | |||
+ | <code> | ||
+ | ### secure the LAN | ||
+ | iptables -A forwarding_rule -s 192.168.1.0/24 -d 172.18.92.0/24 -j DROP | ||
+ | iptables -A input_rule -s 192.168.1.0/24 -d 172.18.92.0/24 -j DROP | ||
+ | </code> | ||
+ | |||
+ | where 192.168.17.0 is the wired LAN. you won't be able to ping 192.168.17.1, but traffic will still flow through it | ||