• 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

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