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? |