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)