Home arrow Journal arrow Fixing Proftpd FTP When Working With a Firewall
Fixing Proftpd FTP When Working With a Firewall PDF
Thursday, 02 February 2012
If your Proftpd FTP server is not available even if you've allowd port 20, 21 and upper ports in your firewall (higher than 50000, that are used for passive FTP transfer) and you get the following error in your proftpd log file:

proftpd[48202] localhost (...): Passive data transfer failed, possibly due to network issues
proftpd[48202] localhost (...): Check your PassivePorts and MasqueradeAddress settings,
proftpd[48202] localhost (...): and any router, NAT, and firewall rules in the network path.
proftpd[48202] localhost (...): FTP no transfer timeout, disconnected
proftpd[48202] localhost (...): FTP session closed.

then the problem is that you did not configure upper ports in your ProFTPD server config file: /usr/local/etc/proftpd.conf.

To fix the problem add the following line in /usr/local/etc/proftpd.conf:

  PassivePorts 50000 60000

Note! Don't forget to allow ports 20, 21 and ports > 50000 in your firewall rules.

Last Updated ( Tuesday, 21 February 2012 )
 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?