Contributed by jose on from the of-brain-dead-protocols dept.
Note that a simple configuration in two /etc files can also suffice:
/etc/inetd.conf : 127.0.0.1:8081 stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy /etc/pf.conf : ## ftp-proxy rdr on $int_if proto tcp from any to any port 21 -> 127.0.0.1 port 8081 # pass in data mode connections for ftp-proxy running on this host. # (see ftp-proxy(8) for details) pass in on $ext_if inet proto tcp from any to $ext_if port > 49152 flags S/SA keep stateCheck the documentation for both ftp-proxy(8) and pf.conf(5) for more information.
(Comments are closed)
By dolmant () on
pass in on xl1 proto tcp from any to xl1 user proxy keep state
By Jacek Artymiak () on
Merry Christmas,
Jacek
By Jim () noone@nowhere.com on mailto:noone@nowhere.com
It does alot more than just FTP, but I just use it for FTP proxying.
It can do exactly what ftp-proxy does, but also you can ftp directly to it and use its built-in proxying. Basically it acts like a normal FTP server but it actually connects to and transfers files from another ftp site. This will work for ALL ftp clients, even those that do not support ftp proxies.
Comments
By RC () on
By Bards () bards1888@yahoo.com.au on mailto:bards1888@yahoo.com.au
I can authenticate but when I do an 'ls' for example it just hangs after saying 'entering passive mode'.
Any tips on getting an ftp server to work would be appreciated.
Comments
By RC () on
#2, I'd strongly suggest using SCP/SFTP instead of FTP. FTP wasn't well thought-out, and so, it has hack upon hack in it just to get it to work... Never mind that those hacks just don't cut it in several situations.
#3 If you are still determined to use FTP on a firewalled/NATed server, then there's an article for you. Through a good deal of modifications, you can get FTP to work. http://www.daemonnews.org/200109/ftpnat.html
By Anonymous Coward () on
By bards () bards1888@yahoo.com.au on mailto:bards1888@yahoo.com.au
There is a 'reverse' proxy patch available for ftp-proxy.
http://www.benzedrine.cx/ftp-proxy-reverse.diff