No it's not. It is possible to add multiple ports on a single IP address separated by commas. In case you need to quickly add multiple rules with different IP addresses, you can automate the process using bash:
In your SSH, as root, run:
Code: Select all
mcedit add-multiple-firewall-rules.sh
Insert this code:
Code: Select all
#!/bin/bash
v-add-firewall-rule 'ACCEPT/DROP' 'IP1' 'PORT' 'TCP/UDP' 'Comment'
v-add-firewall-rule 'ACCEPT/DROP' 'IP2' 'PORT' 'TCP/UDP' 'Comment'
v-add-firewall-rule 'ACCEPT/DROP' 'IP3' 'PORT' 'TCP/UDP' 'Comment'
v-add-firewall-rule 'ACCEPT/DROP' 'IP4' 'PORT' 'TCP/UDP' 'Comment'
Save and exit. Then run:
Code: Select all
chmod a+x add-multiple-firewall-rules.sh
./add-multiple-firewall-rules.sh