Fairly new to running an OpenBSD 3.6 I am now finally able to ftp from
my LAN to the internet after editing my pf.conf and my inetd.conf file
as seen below.

127.0.0.1:8081  stream  tcp     nowait  root    /usr/libexec/ftp-proxy
ftp-proxy -n -u proxy -m 55000 -M 57000 -t 180

I have now placed my proftp server (normal ftp port) on my private DMZ,
I do a binat on pf..conf  and edited my inetd.conf file again to add
this line.

binat on $ext_if inet proto {tcp, udp, icmp} from $dmz_ftp to any ->
$ext_ftp

195.187.80.88:21  stream  tcp     nowait  root
/usr/libexec/ftp-proxy ftp-proxy -R 192.168.7.18:21

where $ext_ftp =195.187.80.88   and $dmz_ftp =192.168.7.18

I can't seem to get the ftp-proxy-reverse to work, I did a search for
ftp-proxy-reverse* on my OS, & can't find it, I read that the reverse
ftp patch already exist for 3.6, if so do I need to apply this patch?
Should my inetd.conf file contain these two entries?  What am I
missing?  Thanks in advance.

Reply via email to