• 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

firewall configuration from command line

SymeonM

New Pleskian
Hi,

I have Plesk version 12.0.18 and I would like to configure the firewall. Actually, ban some specific ip address from all ports. How is it possible to do it through command line?

Plesk has firewall v.1.0 extension installed and I can ban any ip address through the GUI. However, I'm trying to create a script that automatically bans specific ip addresses, but at the same time I would like whatever I do through command line to be reflected on the GUI. How is that possible?

Thanks
 
Hi, unfortunately at the moment we don't have command line for the built-in firewall module. Until next version you can only use direct iptables calls for command line management. They won't be reflected in GUI.

Starting next version it will be possible to manage firewall in command line
 
Back
Top