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!
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!