Monday, August 21, 2006

ftp proxy

there is not any current easy way to do this
after struggling through many package documentations and iptables I've decided to mirror CPAN instead. I got the nat aspect of it working, but the packages did not support caching, so I was unsatisfied with that as a solution. Here is the iptables rules I used

iptables -t nat -A OUTPUT -o eth0 -p tcp -s 137.142.101.21/24 --dport 21 -j DNAT --to-destination 137.142.101.21:2370

No comments: