Koozali.org: home of the SME Server

Blocking IPs

ElFroggio

Blocking IPs
« 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

Muzo

Blocking IPs
« Reply #1 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.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Blocking IPs
« Reply #2 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.
...