Originally posted here by lucktsm
Guys,

I am new to using iptables and I am trying to reject a range of ip addresses. Does anyone have a sample?

thanks,

Luck
The easiest way to use IP tables simply is to install webmin & use a nice GUI tool.

www.webmin.com

Otherwise it's a bit of a daunting task to do so

<edit> dug out my config to demonstrate the hard way.

iptables -A INPUT -s 192.168.0.10/255.255.255.245 -j DROP

will reject 192.168.0.10 - 192.168.0.20

HTH </edit>