Transparent FTP proxying from localhost?

Linux Advanced Routing and Traffic Control

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

 



Hi. I need to do transparent FTP proxying using frox. For my lan i just use:

    if [ "$USE_FTP_PROXY" == "yes" ]; then
        $IPT -t nat -A PREROUTING -p tcp -i $LAN -d ! $INET_IP --dport 21 \
          -j REDIRECT --to-port $FTP_PROXY_PORT
    fi

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

didn't worked :(

_______________________________________________
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