RE: Transparent FTP proxying from localhost?

Linux Advanced Routing and Traffic Control

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

 



> 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 / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux