• 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

Is there a way to shutdown the Plesk firewall from the command line?

G

GraphicsGuy

Guest
DUH!! I didn't think to set up a rule to keep the Plesk port open and activated the "deny all other incoiming" rule. :eek:

Does anybody know a way to deactivate the Plesk firewall from the bash command line on a RHEL box?
 
Interesting. I found how to shut it down:

/etc/rc.d/init.d/psa-firewall stop

This flushes iptables:
echo 0 > /proc/sys/net/ipv4/ip_forward
echo 0 > /usr/local/psa/var/modules/firewall/ip_forward.active
/sbin/iptables -F
/sbin/iptables -X
/sbin/iptables -Z
/sbin/iptables -P INPUT ACCEPT
/sbin/iptables -P OUTPUT ACCEPT
/sbin/iptables -P FORWARD ACCEPT

However the Plesk admin still seems to be blocked, or else somehow activating the firewall broke it.
 
Rebooted server and everything is fine.

Live and learn.
 
Back
Top