Re: FTP behind PF

2017-01-15 Thread Mik J
Thank you Sebastien, it works. I was confused because I tried so many things.Yes the man tells "_ftp-proxy" and this pagehttps://www.openbsd.org/faq/pf/ftp.html#natserverTells "proxy" Have a nice week end Le Dimanche 15 janvier 2017 7h09, Sebastien Marie a écrit : On Sat, Jan 14, 2017

Re: FTP behind PF

2017-01-14 Thread Sebastien Marie
On Sat, Jan 14, 2017 at 11:23:22PM +, Mik J wrote: > Hmmm I don't know# pfctl -f /etc/pf.conf > /etc/pf.conf:95: unknown user _ftp-proxy > pfctl: Syntax error in config file: pf rules not loaded > > I would like to make sure that this rule would match only if it's coming from > the ftp-proxy

Re: FTP behind PF

2017-01-14 Thread Mik J
Hmmm I don't know# pfctl -f /etc/pf.conf /etc/pf.conf:95: unknown user _ftp-proxy pfctl: Syntax error in config file: pf rules not loaded I would like to make sure that this rule would match only if it's coming from the ftp-proxy pass out quick on $int_if inet proto tcp from $int_add to $ftp_inter

Re: FTP behind PF

2017-01-14 Thread Sebastien Marie
On Sat, Jan 14, 2017 at 12:11:54PM +, Mik J wrote: > Openbsd 6.0 > Hello, > I have a ftp server behind my PF firewall and I would like to be able to ftp > in from the internet > It doesn't work with# /usr/sbin/ftp-proxy -D7 -v -R @ftp_internal_address > -p21 -b @external_address > anchor "ftp

FTP behind PF

2017-01-14 Thread Mik J
Openbsd 6.0 Hello, I have a ftp server behind my PF firewall and I would like to be able to ftp in from the internet It doesn't work with# /usr/sbin/ftp-proxy -D7 -v -R @ftp_internal_address -p21 -b @external_address anchor "ftp-proxy/*" pass in quick on $ext_if inet proto tcp to $ext_add port 21