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 184.108.40.206/24 220.127.116.11/24 18.104.22.168/21 22.214.171.124/20 126.96.36.199/22 188.8.131.52/18 184.108.40.206/18 220.127.116.11/20 18.104.22.168/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..