• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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