> I wonder what i should use for same effect on localhost.
>
>          $IPT -t nat -A OUTPUT -p tcp -o $INET -d ! $INET_IP --dport 21 \
>            -j REDIRECT --to-port $FTP_PROXY_PORT

Your local packets don't go via nat and prerouting table.

Hope you should enable in kernel NAT_OF_LOCAL_CONNECTIONS (experimental) .
Then you will be able to specify some policy.

Arkadiusz Binder

_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to