What would the command be to block a range of IPs to port 80?
The block of IP I want to block is 123.56.x.x and 123.57.x.x.
What would the correct command be?
iptables -I FORWARD -p tcp --dport 80 -s 123.57/15 -j DROP
iptables -I FORWARD -p tcp --dport 80 -m iprange --src-range 123.56.0.0-123.57.255.255 -j DROP
Or is the correct command something else?
Note that I don't want to accidentally block addresses outside of 123.56.x.x and 123.57.x.x.