Block incoming connections of a shared IP address in server

Jan 27, 2013
18
1
3
India
cPanel Access Level
Root Administrator
Hello,
I have a reseller on a separate IP address on Server. I would like to temporarily disable all the websites hosted on that particular reseller's shared IP without suspending the accounts, so that i can immediately reactivate all the accounts later. I tried blocking the IP address in CSF firewall but it says server IP cannot be blocked.
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
797
151
168
New Jersey
cPanel Access Level
DataCenter Provider
You can't, you'd have to ask your host but its somewhat of an odd request so I don't actually see them doing so.

If they are using CSF, they could add

tcp|in|d=80|d=1.1.1.1
tcp|in|d=443|d=1.1.1.1


in csf.deny

That would block all incoming requests on port 80/443 for IP 1.1.1.1