[PLUG] block a range of addresses with iptables
frankhunt
fh-linux at frankhunt.com
Sat Jan 1 22:57:47 UTC 2011
I need to block a range of IPs from my site. I'm thinking that this is
the command:
iptables -I INPUT -m iprange --src-range $FIRSTIP-$LASTIP -j DROP
but before I mess my system up really bad, I thought I would check with
the group to see if I am
(a) right-on
(b) close
(c) not even in the ball park
thanks & happy new year . . .
--
frank hunt
(L0F) R0B-ZAR1
befuddled linux admin
erstwhile photographer
hillsboro oregon
More information about the PLUG
mailing list