jawug info
NodeDBCore Team
Donate
How-To's
Forum
IRC by browser (NEW!)
JAWUG|
|
Client Mode wifi and lan separated ( break the bridge mode ) ie firewalled wireless interface
nvram set boot_wait=on 1. the next few lines vary based on your configs and might not be reuired in all cases
2. nvram set wifi_gateway=172.16.255.x 3. nvram set wifi_dns=172.16.255.x Ensure /etc/init.d/S45firewall is modified accordingly so that the line reading MAKE SURE TO DO THE FIREWALL BEFORE REBOOTING WRTIF THIS IS NOT DONE, YOU RUN THE RISK OF BEING LOCKED OUT OF THE AP.don't forget to nvram commit
Well done, you have just setup wrt to be a client to another network, and firewalled your local network, by setting a route to the subnet of the wireless network, you can NAT out of your LAN to the wireless users IP segment, and to allow wireless users access to services on your LAN. e.g. To forward http traffic to a local web server, add lines: iptables -t nat -A prerouting_rule -i $WAN -p tcp --dport 80 -j DNAT --to 192.168.2.2:80 EditThisPage BackLinks PageInfo Pages like this verdiff PageCalendar Attachments last changed on Sun Aug 7 19:03:08 2005 Subpages:
WRT54CLIENT-REVFWWAN |