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

    https://survey.webpros.com/

firewalld rules with CentOS 7?

RobHost

Basic Pleskian
Why isnt Plesk 12 configuring firewalld under CentOS 7 correctly?
We have to manuella enable port 8443 and all other ports manually with firewall-cmd..
 
Anything new about this topic?

We want to use fail2ban, but it does not work, as firewalld is not running.

2015-03-05 13:58:33,025 fail2ban.action [20699]: ERROR ipset create fail2ban-sshd hash:ip timeout 600
firewall-cmd --direct --add-rule ipv4 filter INPUT 0 -p tcp -m multiport --dports ssh -m set --match-set fail2ban-sshd src -j REJECT --reject-with icmp-port-unreachable -- stdout: '\x1b[91mFirewallD is not running\x1b[00m\n'

But when we start firewalld with "systemctl start firewalld", our website is blocked. We were lucky, because ssh was not blocked, so I could stop firewalld again.
 
Back
Top