Thread: Ftp & pf
View Single Post
  #3   (View Single Post)  
Old 12th December 2013
bsd_matt bsd_matt is offline
Port Guard
 
Join Date: Oct 2013
Posts: 12
Default

Running OBSD v5.4
The divert-to change didn't help.

After running:
09:36:34 root@tng # pfctl -vv -a ftp-proxy/19725.7 -sr

@0 pass in log quick on rdomain 0 inet proto tcp from 72.38.43.86 to 50.x.x.x port = 57241 flags S/SA keep state (max 1) rtable 0 rdr-to 192.168.0.101 port 31705
[ Evaluations: 6 Packets: 0 Bytes: 0 States: 0 ]
[ Inserted: uid 71 pid 19725 State Creations: 0 ]
@1 pass out log quick on rdomain 0 inet proto tcp from 72.38.43.86 to 192.168.0.101 port = 31705 flags S/SA keep state (max 1) nat-to 50.x.x.x

my ftp server (proftpd) is setup as follows:
Masquerading address: 50.x.x.x
Passive Ports: 30000:35000

Last edited by bsd_matt; 12th December 2013 at 02:49 PM.
Reply With Quote