• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Howto add IP Addresses to the Firewall module in bulk?

F

FrederickHarju

Guest
hello, I would like to bulk add a bunch of IP Addresses to my firewall module.

The GUI is painful since it has 4 input boxes for each IP address rendering quick copy/paste useless.

Is there an alternate way to do this from the command line?
 
Hello I think i found a solution
I try and seems work so please can confirm me ? someone more experted than me can confirm if right way?
I created a rule for cdn ip list with 2 enters on firewall... then exported via json the firewall rules and named file (original to have as backup)...then using a text editor like Notepad++ founded where the addresses are and simply put others ip addresses one by one comma separated... then imported again the modified file (json) and seems all rules are a their position loaded correctly
Possible so simple????
 
Back
Top