Skip to content

Instantly share code, notes, and snippets.

@yoimbert
Created July 16, 2014 17:52
Show Gist options
  • Save yoimbert/3e21e7075adec0ceed4e to your computer and use it in GitHub Desktop.
Save yoimbert/3e21e7075adec0ceed4e to your computer and use it in GitHub Desktop.
PassivePortRange pure-ftpd
# 1) Configure pure-ftpd
echo "40110 40210" > /etc/pure-ftpd/conf/PassivePortRange
/etc/init.d/pure-ftpd-mysql restart
# 2) Configure the firewall. If you use ISPConfig 3 on my server to configure the bastille firewall, you can add the nescessery port range in the ISPConfig firewall settings.
Change the list of Open TCP ports from:
20,21,22,25,53,80,110,143,443,3306,8080,10000
to:
20,21,22,25,53,80,110,143,443,3306,8080,10000,40110:40210
and then click on "Save".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment