T Txdk Regular Contributor Dec 12, 2013 #1 is this the correct way to redirect LAN traffic on port 80 to another ip and port Code: iptables -t nat -A PREROUTING -m iprange --src-range 192.168.1.2-192.168.1.254 -p tcp -m tcp --dport 80 -j REDIRECT -d --destination 192.168.1.4:8118
is this the correct way to redirect LAN traffic on port 80 to another ip and port Code: iptables -t nat -A PREROUTING -m iprange --src-range 192.168.1.2-192.168.1.254 -p tcp -m tcp --dport 80 -j REDIRECT -d --destination 192.168.1.4:8118