On 4/21/06, Issam Hambouz <[EMAIL PROTECTED]> wrote:
> Hi
> Could anyone tell me what's wrong with this:
> iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j DNAT -s
> 10.0.0.100 --to 10.0.0.10:80
> As it is shown above, I just need to route any http connection to my
> webserver on 10.0.0.10 .. Sometimes does work, but not always, and not
> on all the machines. Have any clue?
>
> Regards,
> Issam Hambouz
>

iptables -t nat -A PREROUTING -i eth0 -p tcp -d 10.0.0.100 --dport 80
-j DNAT --to 10.0.0.10

--
---------------------------
Netiquette -> http://www.dtcc.edu/cs/rfc1855.html
Netiquette Nazi ->
http://redwing.hutman.net/%7Emreed/warriorshtm/netiquettenazi.htm
---------------------------
_______________________________________________
General mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/general_jolug.org

Reply via email to