Koozali.org: home of the SME Server
Obsolete Releases => SME Server 6.x => Topic started by: netdesignns on June 13, 2006, 07:38:05 AM
-
Is there a method of blocking a single or a range of IP addresses from attempting to access SME completely?
-
You should add a rule to the firewall saying you want to ignore all traffic from that address (/sbin/iptables -I INPUT -s 111.222.111.123 -j DROP)
and then think of a way to make that stick when the machine reboots, for example by putting it in /etc/rc.d/rc.local.
Ranges are much like the single address, but the address looks different:
207.46.28.0/24 is an example, look here http://en.wikipedia.org/wiki/Netfilter for more details
-
netdesignns
If your lazy like me then mabe you wnat to find and load on this rpm.
smeserver-ipblock_internet-tg-1.0-b2.noarch.rpm
Regards,
Tib