hello this iptables rule
to redirect all incoming traffic from all ports to one port example 80 on ip 192.168.1.10
1 |
iptables -A PREROUTE -t nat -i eth0 -p tcp --dport 1:65535 -j DNAT --to-destination 192.168.1.10:80 |
enjoy
PenelopeX
I must say you have high quality posts here. Your content should go viral.