Centos IPTables - Allow Traffic for Multiple IP Addresses

Posted by compcobalt on Server Fault See other posts from Server Fault or by compcobalt
Published on 2013-11-11T15:56:29Z Indexed on 2013/11/11 15:57 UTC
Read the original article Hit count: 229

Filed under:

I know that:

211.95.79.186/24, it would allow 211.95.79.0 all the way up to 211.95.79.255.

and

211.95.0.0/16, it would allow 211.95.0.0 all the way up to 211.95.255.255.

and

192.168.1.30-50, it would allow 192.168.1.30 all the way up to 192.168.1.50 ?? <-- is that correct ?

but how do I allow the following:

24.250.0.0 all the way up to 24.250.127.255 ?

OR

119.165.128.0 all the way up to 119.165.255.255 ?

© Server Fault or respective owner

Related posts about iptables