Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iptables wlan traffic to LAN webserver

Status
Not open for further replies.

geebers

Technical User
May 29, 2009
20
US
Need help with iptables rules for my wireless router running dd-wrt.
Have a bridge (br1) setup with eth0 and vlan2 assigned to it. No internet (WAN).

br1 IP = 192.168.3.1, 255.255.255.0
eth1 = wireless interface (br1)
vlan2 = wired LAN port #1 (br1)
webserver = 192.168.3.120:80 (wired to vlan2)

Any tcp traffic coming in from eth1 (wireless) will be redirected to webserver.

Much like a hotspot.
Scenario...
Client connects to open wifi (eth1), clients browser is directed to 192.168.3.120:80/index.html

Thanks for any help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top