Re: Can't get FTP through pf

2013-04-04 Thread John Tate
Thanks! On Thu, Apr 4, 2013 at 4:29 PM, David Diggles da...@elven.com.au wrote: Looks like these are your conflicting rules. pass in quick inet proto tcp to port ftp divert-to 127.0.0.1 port 8021 pass in on $ext_if proto tcp to port 21 The first rule needs to be on $int_if - you didn't

Re: Can't get FTP through pf

2013-04-03 Thread David Diggles
Your pf.conf differs from examples in the faq. I would suggest turn logging on in pf, and do: tcpdump -n -e -ttt -i pflog0 Then you can see why it's failing. On Thu, Apr 04, 2013 at 09:38:57AM +1100, John Tate wrote: I've got a gateway computer I also I want to be an ftp server. I've put

Re: Can't get FTP through pf

2013-04-03 Thread David Diggles
Looks like these are your conflicting rules. pass in quick inet proto tcp to port ftp divert-to 127.0.0.1 port 8021 pass in on $ext_if proto tcp to port 21 The first rule needs to be on $int_if - you didn't specify an interface so it then defaults to all interfaces.