GithubHelp home page GithubHelp logo

diffway / plesk-centos-firewall-opener Goto Github PK

View Code? Open in Web Editor NEW

This project forked from reiser89/plesk-centos-firewall-opener

0.0 1.0 0.0 11 KB

A simple script for Plesk on Centos/RHEL, which opens necessary ports to run a plesk 17.5+.

Shell 100.00%

plesk-centos-firewall-opener's Introduction

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).

Description

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 fwplesk.sh
  4. Run it:
    • ./fwplesk.sh

Which ports will be opened?

All listened Linux ports, recommended by plesk:

https://support.plesk.com/hc/en-us/articles/213932745-Which-Ports-Need-To-Be-Opened-for-all-Plesk-Services-to-Work-with-a-Firewall-

Except:

  • 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:

https://support.plesk.com/hc/en-us/articles/213902285

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 )

to

udpports=( 53 1337 )

plesk-centos-firewall-opener's People

Contributors

reiser89 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.