> > I'd like to ask how to define an ip address range in a rule. I don't > mean using subnet mask but rather for example making a rule which will > block port 110 for the 10.10.2.50-10.10.2.150 ip range. > for i in IpListDelimitedwithSpace do iptables -A INPUT -p tcp --dport 110 -s $i -J DROP done Askar.