2

Iptables redirect ip and port

view story
linux-howto

http://www.linuxquestions.org – I have a server with internet and firewall and I have some pages too, I have other server into my network where I have another web page I need redirect for this server "it is a windows 2003" with iptables when people need open this page outside of my network. So I creat a virual Interface eth0:1 with one ip, and try redirect ip in the windows server 2003 pages is on port 8080 so I did iptables -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xxx --dport 80 -j DNAT --to 172.16.0.12:8080 But when a do this and try open the page I have timeout. I h (HowTos)