I'm relatively new to using the command line so I'm understandably nervous about fiddling around with IP tables and accidentally doing something wrong which consequently opens up vulnerabilities in the firewall.
So, I thought I would ask here if my command usage was correct before actually trying to add this ip whitelisting rule via ssh.
iptables -I INPUT -p tcp -m multiport --dports http,https -s 220.127.116.11/24 18.104.22.168/24 22.214.171.124/21 126.96.36.199/20 188.8.131.52/22 184.108.40.206/18 220.127.116.11/18 18.104.22.168/20 22.214.171.124/20 -j ACCEPT
Is this usage correct? Not quite sure if it's possible to add all those IPs at once or if I have to add them manually one by one..