[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Redirect com iptables



Olá Gustavo,

Tente isso:

iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 80 -j DNAT --to 10.0.0.1:80

A ordem em que definiu sua regra está incorreta:
|iptables -t nat -A PREROUTING -j DNAT -i eth0 -p tcp --dport 80|
|--to-destination 10.0.0.1:80


[]'s
Henrique

-- 
Henrique Pedroni Neto
Administrador de Rede - ITAL (http://www.ital.org.br)
E-mail: henrique@ital.org.br
UIN: 8146255
Dúvidas sobre Debian? Visite o Rau-Tu: http://rautu.cipsga.org.br
"One foot to rule them all" - GNOME

Attachment: pgpLxljl6dU9A.pgp
Description: PGP signature


Reply to: