public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "D.H." <derrickdb1@comcast.net>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Frox iptables ftp proxy
Date: Sun, 19 Apr 2009 14:02:38 -0400	[thread overview]
Message-ID: <1240164158.5422.15.camel@DB2.glister-solace.net> (raw)

I'd like to set up an ftp proxy on my home firewall so I can scan for
viruses using clamd.  I found frox.  Which looks like it will do what I
want.  I've pretty much used the default install which makes frox listen
on 127.0.0.1:2121.  But, I'm not sure the firewall rules are working
right.

eth1 is the internal interface

iptables -A FORWARD -p tcp -i eth1 --destination-port 2121 \
     --destination 127.0.0.1 -j ACCEPT

iptables -t nat -A PREROUTING -p tcp -i eth1 --destination-port 21 \
     -j DNAT --to-destination 127.0.0.1:2121

Either that, or frox itself is having issues.  Any ideas?  While I'm at it, 
is there an alternative to frox?




             reply	other threads:[~2009-04-19 17:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-19 18:02 D.H. [this message]
2009-05-03 14:26 ` [gentoo-user] Frox iptables ftp proxy Daniel Iliev

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=1240164158.5422.15.camel@DB2.glister-solace.net \
    --to=derrickdb1@comcast.net \
    --cc=gentoo-user@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox