Skip to content
A simple script for Plesk on Centos/RHEL, which opens necessary ports to run a plesk 17.5+.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information. Highlighted Centos/RHEL version Mar 19, 2018

Plesk 17.5+ firewall opener for Centos/RHEL OS

This script helps you to open all necessary ports to run Plesk 17.5+ on strictly restricted Centos/RHEL servers (for example on vultr).


Since I ran many Plesk test installations on my vultr servers, I created a script which fast opens all ports required by Plesk and its services on the strict Centos firewall.

If you have troubles reaching services or the Plesk-Webinterface after installation on Centos 7 or RHEL 7, try to run this script.

I recommend to do this after the Plesk installation.

HowTo run

  1. Login as root.
  2. Copy the script-file on your Centos/RHEL machine.
  3. Set the run-permissions:
    • chmod +x
  4. Run it:
    • ./

Which ports will be opened?

All listened Linux ports, recommended by plesk:


  • FTP passive ports
  • 10155 (for a custom Plesk Migrator service performing miscellaneous)

How can I open FTP passive ports?

This script does not support passive ports right now.

Read the Plesk article here:

Can I add additional ports?

Yes, TCP and UDP ports are stored separately in an array. For example if you want to add port 1337 as UDP port, just edit the udpports-array from:

udpports=( 53 )


udpports=( 53 1337 )

You can’t perform that action at this time.