iptables -A PREROUTING -t nat -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 8080 cd /etc/rc.d/init.d ./iptables save