On Fri, 16 Feb 2007, [EMAIL PROTECTED] wrote:
> #1 client: PORT 192,168,1,56,9,96\r\n
> #1 proxy: PORT 193,172,163,50,235,99\r\n

193.172.163.50 is the correct external IP ?  Does the firewall have more 
then one external IP?

> #1 server: 200 PORT command successful - not using PASV eh?\r\n
> #1 active: server to client port 2400 via port 60259
> #1 client: NLST\r\n

This looks fine.  At the point where it says "active" it has inserted the 
rules.  You can check those like this:

# pfctl -sA -v                                                          
  ftp-proxy
  ftp-proxy/27568.13

# pfctl -a ftp-proxy/27568.13 -sr 
pass in quick inet proto tcp from 129.128.5.191 to 192.168.28.28 port = 58202 
flags S/SA keep state (max 1) rtable 0
pass out quick inet proto tcp from 129.128.5.191 to 192.168.28.28 port = 58202 
flags S/SA keep state (max 1) rtable 0

and with -sn for the nat rules.

Do those look correct?

> My PF log isn't showing anything useful regarding ftp.

Make sure all the rules have the log option set, especially the block 
rules.

You can also try tcpdump on the external interface to check if the SYN 
packets of the active connection are coming in.

If nothing comes in, someone upstream may be blocking.


--
Cam

Reply via email to