Multiple ips in one line in iptables

Solution 1:

Thats what the /24 is, it marks the CIDR block.

To allow all IPs for 192.168.1.*, you would use

192.168.1.0/24

Where as a single IP would be

192.168.1.123/32