PLESK: Enable passive FTP ports

Martin 19/09/2017

When you have first installed Plesk Onyx, and you have forwarded port 20,21 to your Plesk server, you will find that the client is being redirected to passive ports, theese ports needs to be defined in your firewall and also in the Proftpd server inside Plesk.

For Plesk:

Create a new file

“touch /etc/proftpd.d/passive.conf”

Edit the file with ex. nano:

“nano /etc/proftpd.d/passive.conf”

Add the following lines:

<Global>
PassivePorts 57000 59000
</Global>

Then save the file, and the changes will be implemented instantly, with no need to reboot!

Then add a nat/firewall rule and allow ports 57000-59000 (TCP)

Done! 🙂

About the Author

Leave a Reply