Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: ElFroggio on July 22, 2004, 04:53:23 PM

Title: Blocking IPs
Post by: ElFroggio on July 22, 2004, 04:53:23 PM
Is there a better way of blocking specific external IPs from web & email than iptables [It's a long list].

Thanks
Title: Blocking IPs
Post by: Muzo on July 23, 2004, 02:29:46 PM
HI,

Iptables is the best way.

But you can configure it with conf files.
Take a look here :
http://www.malibyte.net/iptables/scripts/fwscripts.html

But, you must adapt it to SME.

The idea : use a conf file where you put all your forbidden IP. And load this conf file in masq script.
Title: Re: Blocking IPs
Post by: raem on July 23, 2004, 07:23:44 PM
You could use Mailrules contrib to block email from certain domains and use Dansguardian contrib to block web access to certain IP addresses.

See dmay & rmitchell contrib areas.