Hello Ryan,

I have the same problem, I think this happen because the local connections 
incomming in the chain FORWARD and don't pass in the chain PREROUTING so they 
aren't been filtered, but is possible that i'm wrong. 
Someone can help us?
 
Thanks ALL

Henrique

> 
> Hi. I have a NAT setup and working fine using the following settings.
> 
>         $IPTABLES -I PREROUTING  -p tcp -t nat -d 1.2.3.4 --dport 25 -j
> DNAT --to 172.16.1.4:25
>         $IPTABLES -A INPUT -i eth0 -d 1.2.3.4 -p tcp --dport 25 -j ACCEPT
> 
> For some reason when I connect from the local router the connections are not
> being nated. They end up routing to the local machine on port 25. What can I
> do to fix this?
> 
> -Ryan
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
Henrique Pedroni Neto
Administrador de Rede - ITAL (http://www.ital.org.br)
E-mail: [EMAIL PROTECTED]
UIN: 8146255
D�vidas sobre Debian? Visite o Rau-Tu: http://rautu.cipsga.org.br

Attachment: pgphC4Bkuss5p.pgp
Description: PGP signature

Reply via email to