public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Frox iptables ftp proxy
@ 2009-04-19 18:02 D.H.
  2009-05-03 14:26 ` Daniel Iliev
  0 siblings, 1 reply; 2+ messages in thread
From: D.H. @ 2009-04-19 18:02 UTC (permalink / raw
  To: gentoo-user

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?




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-03 22:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-19 18:02 [gentoo-user] Frox iptables ftp proxy D.H.
2009-05-03 14:26 ` Daniel Iliev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox