User Tools

Site Tools


router_setup_instructions

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
router_setup_instructions [2008/04/25 19:56]
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 22: Line 22:
 ipkg update ipkg update
 ipkg install iptables-extra ​ kmod-iptables-extra libpthread libgcc ipkg install iptables-extra ​ kmod-iptables-extra libpthread libgcc
-ipkg install http://​wirelesstoronto.ca/​dist/​wifidog_1.1.3-1_mipsel.ipk+ipkg install http://​wirelesstoronto.ca/​dist/​wifidog_1.1.5-1_mipsel_whiterussian.ipk
 vi /​etc/​wifidog.conf vi /​etc/​wifidog.conf
 </​code>​ </​code>​
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
  
router_setup_instructions.txt ยท Last modified: 2013/09/28 16:06 (external edit)