• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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