Gentoo Archives: gentoo-user

From: "D.H." <derrickdb1@×××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Frox iptables ftp proxy
Date: Sun, 19 Apr 2009 17:54:38
Message-Id: 1240164158.5422.15.camel@DB2.glister-solace.net
1 I'd like to set up an ftp proxy on my home firewall so I can scan for
2 viruses using clamd. I found frox. Which looks like it will do what I
3 want. I've pretty much used the default install which makes frox listen
4 on 127.0.0.1:2121. But, I'm not sure the firewall rules are working
5 right.
6
7 eth1 is the internal interface
8
9 iptables -A FORWARD -p tcp -i eth1 --destination-port 2121 \
10 --destination 127.0.0.1 -j ACCEPT
11
12 iptables -t nat -A PREROUTING -p tcp -i eth1 --destination-port 21 \
13 -j DNAT --to-destination 127.0.0.1:2121
14
15 Either that, or frox itself is having issues. Any ideas? While I'm at it,
16 is there an alternative to frox?

Replies

Subject Author
Re: [gentoo-user] Frox iptables ftp proxy Daniel Iliev <daniel.iliev@×××××.com>