View Single Post
Old 27th September 2006, 21:38
amussa amussa is offline
Junior Member
Join Date: Aug 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

I solved part of the problem.

Now I can access the vm01 http page from the outside if I use the same port (80).
iptables -A PREROUTING -t nat -p tcp -i eth0 --dport 80 -j DNAT --to
When I try to redirect from the outside port 8080 to the vm01 port:80 I don't have a conexion.

 iptables -A PREROUTING -t nat -p tcp -i eth0 --dport 8080 -j DNAT --to

Is there any problem with DNAT?? I read the netfilters tutorial and they say it is possible.

Thanks for any help.
Reply With Quote