Chriz1977

Well-Known Member
Sep 18, 2006
191
0
166
Hi

I need to ban an IP from my server. Is there an option in WHM to do that?

Cheers
Chriz
 

krava

Well-Known Member
Sep 23, 2003
149
0
166
cPanel Access Level
Root Administrator
Hello,

As I know WHM doesn't have such option. However, if your box works under Linux, then you can ban the IP by:

#route add XXX.XXX.XXX.XXX reject

to unlock the IP, please use:

#route del XXX.XXX.XXX.XXX reject
 

rikgarner

Well-Known Member
Mar 31, 2006
75
1
158
/dev/null