IP address Blocking

TheEngler

New member
Joined
Mar 4, 2021
Messages
2
Looking at DirectAdmin to potentially replace CPanel.

In CPanel, I was able to block out large subnets of IP Addresses to control SPAM. In the DirectAdmin demo, under the 'E-mail Manager' tab there is an subheading for 'SPAM Filters'. There are options for 'E-mail', 'Domain', 'Stop word' and 'Size'. Is there a way to block email from certain IP addresses (or ranges) at the domain level?

-Thanks-
 

Active8

Verified User
Joined
Jul 13, 2013
Messages
631
Install CSF firewall & brute force and you can block anything you want:
Code:
yum install wget perl unzip net-tools perl-libwww-perl.noarch perl-LWP-Protocol-https.noarch perl-GDGraph -y
wget http://files.directadmin.com/services/all/csf/csf_install.sh
/bin/sh ./csf_install.sh
 

TheEngler

New member
Joined
Mar 4, 2021
Messages
2
Thanks for the replies @Active8 and @bdacus01. Since I am not well versed in Linux:

Q1 - Can I install if I my host is a shared server scenario?

Q2 - If I can, must the shared server be running Linux?

Thanks again, guys...
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
6,713
Location
Maastricht
Q1 - Can I install if I my host is a shared server scenario?
No. In that case your host has to install CSF and blocking ip's with CSF as stated is only possible for admins and maybe resellers (if configured by admin). And if you're an end-user you have to contact your host for support, not this forum. ;)

In cPanel this blocking ip ranges option is also only available to admins (or resellers) as far as I know.

Q2 - If I can, must the shared server be running Linux?
Always. Directadmin does not run on Windows neither does cPanel.
 
Top