• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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