Talk:V24: WLAN separate from LAN, with independent DHCP
From DD-WRT Wiki
(Difference between revisions)
Revision as of 11:03, 30 September 2008 (edit) Jozevolf (Talk | contribs) (Authentication service problem, IPTABLES suggestion) ← Previous diff |
Current revision (11:12, 30 September 2008) (edit) (undo) Jozevolf (Talk | contribs) (Removing all content from page) |
||
Line 1: | Line 1: | ||
- | I followed your article on v24 sp1. I had problems with wifi clients not being able to acquire IP from DHCP. I found out that there was a problem with the nas authentication service running without '-l' parameter. I then included the following two commands in post boot script: | ||
- | killall nas | ||
- | nas -P /tmp/nas.wl0lan.pid -H 34954 -l eth1 -i eth1 -A -m 132 -k yourpsk -s yourssid -w 6 -g 3600 & | ||
- | # adjust other nas parameters according to your security needs | ||
- | # use http://wiki.openwrt.org/OpenWrtDocs/nas as reference | ||
- | |||
- | For firewall part, I gues the following is more appropriate: | ||
- | |||
- | iptables -I FORWARD 1 -i eth1 -d $(nvram get lan_ipaddr)/$(nvram get lan_netmask) -j DROP | ||
- | iptables -I FORWARD 2 -i br0 -d $(nvram get eth1_ipaddr)/$(nvram get eth1_netmask) -j DROP |