From: "Artūras Šlajus" <x11@h2o.pieva.net>
To: lartc@vger.kernel.org
Subject: [LARTC] Transparent FTP proxying from localhost?
Date: Sat, 07 Feb 2004 21:05:32 +0000 [thread overview]
Message-ID: <4025531C.5000005@h2o.pieva.net> (raw)
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@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2004-02-07 21:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-07 21:05 Artūras Šlajus [this message]
2004-02-07 22:10 ` [LARTC] Transparent FTP proxying from localhost? arek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4025531C.5000005@h2o.pieva.net \
--to=x11@h2o.pieva.net \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.