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

Re: Port forwarding and local firewall connections



On Thu, 12 Jul 2007 14:23:17 +0200, Yann Lejeune wrote:

>  Trafic generated by the firewall is not filtered by the
> FORWARD chain but by the OUTPUT one.
This is the answer! Thank you so much! :-D

> You have add this rule if default policy is to drop outbound
> trafic :
>
>  iptables -t filter -A OUTPUT -p tcp -d 192.168.10.2 --dport
> 80 -j ACCEPT
Not exactly, I need this:

iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to
192.168.10.2

Thank you, now it works everything!


--
mandi, Marco

Attachment: pgpbUhEthakpC.pgp
Description: PGP signature


Reply to: