• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Firewall configuration from the command line

tkalfaoglu

Silver Pleskian
I recently started using PLESK firewall instead of the plain vanilla Linux firewall.
I have some tools that, after X attempts, needs to ban that IP.
However, I can't just add an "iptables" command, because it gets overwritten.

I understand plesk firewall has no command line interface.
Does anyone have the necessary table layout to add custom rules to the firewall?

Many thanks, -turgut
 
Thanks igor - those changes are not reflected back to plesk's GUI interface though.. So, I better make sure not to use the GUI interface if I make my own rules in the "active" file..

Regards, -turgut
 
Hi, you are correct - if you are configuring firewall manually, better to not mix it with Plesk Firewall GUI.
We know the need for firewall command line, but we don't have it yet

Regards
 
firewall

Well I wrote something like that, that mimics what the GUI does.
I just append to the firewall rule file - I do not update the database.
I just make sure not to use the GUI at all..
 
Back
Top