The main reason for the inaccessibility is that the
Main IP address get blocked in IP tables and Csf.
service iptables save
Check
if IP is blocked:
#
iptables -L -n --line | grep [IP Address]
If IP
appear as DROP or REJECT, the IP has been blocked
Unblock
the IP Address:
#
iptables -I INPUT -s [IP Address] -j ACCEPT
Blocking
back an IP Address:
#
iptables -A INPUT -d [IP Address] -j DROP
service iptables save
In CSF :
Check the file :
vi /etc/csf/csf.deny
If you find the Entry of thr respected IP Address, Comment
it and restart it using :
csf -r
In CpHulk brute Force detection :
Try this command :
ps aux | grep -i cphulk
kill -9 PID#
Where PID# is the
process ID number of that process.
Then disable it:
/usr/local/cpanel/bin/cphulk_pam_ctl
--disable
At that point, if you
can log into the machine, check WHM > Cphulk Brute Force Protection to see
if your IP is whitelisted. If it isn't, whitelist your local IP address that
you use to log into WHM to ensure you cannot be locked out when root user is brute
forced and root logins to WHM are disabled.
No comments:
Post a Comment