• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Help Centos 7, Plesk 12 and Iptables

romand700

Regular Pleskian
Hello,
I disable firewalld and activate iptables:

# systemctl stop firewalld
# yum -y install iptables-services
# systemctl enable iptables
# systemctl enable ip6tables
# systemctl start iptables
# systemctl start ip6tables

Obviously now Plesk no work. I only need to enable ports below in /etc/sysconfig/iptables?

#20 ftp-data (TCP)
#21 ftp (TCP)
#22 ssh (TCP)
#25 smtp (TCP)
#53 dns (TCP and UDP)
#80 http (Web server and Plesk updater) (TCP)
#106 poppassd (for localhost only) (TCP)
#110 pop3 (TCP)
#113 auth (TCP)
#143 imap (TCP)
#443 https (TCP)
#465 smtps (TCP)
#587 mail message submission (TCP)
#990 ftps (TCP) (FTPS has to be configured manually)
#993 imaps (TCP)
#995 pop3s (TCP)
#3306 mysql (TCP)
#5224 (outgoing connections only) plesk-license-update (TCP)
#5432 postgres (TCP) - Linux Only
#8443 plesk-https (TCP)
#8447 autoinstaller (TCP)
#8880 plesk-http (TCP)
#9080 tomcat (TCP)

For exaple, I add in /etc/sysconfig/iptables:

-A INPUT -p tcp --dport 8443 -j ACCEPT
-A INPUT -p tcp --dport 21 -j ACCEPT
...
....

That's all or what I configure in addition to this? or there is a different way to follow?

Regards,
 
Last edited:
Back
Top