If you are unable to access your website, cPanel, webmail and other services on the server, it might be that your IP is blocked on the server. To confirm that you’re behind the firewall, do the following.
1) Try to access from the website from another ISP or using proxies.
2) Try to ping the server and check if there is any packet loss.
3) Try a running the traceroute command.
You can either open a support ticket with us or just login to the server from a different ISP and do the following.
Assuming that CSF is installed on the server. You can find your IP address by access the URL http://whatismyip.com
In our example the IP is given below.
csf -g IPaddress
csf -g 188.8.131.52
Chain num pkts bytes target prot opt in out source destination
DENYIN 200 0 0 DROP all — !lo * 184.108.40.206 0.0.0.0/0
DENYOUT 200 6 720 DROP all — * !lo 0.0.0.0/0 220.127.116.11
In this case the IP given is blocked at the firewall. The “DROP’ represents that all the packets from that IP is being screened.
You can find the reason for the block from the file /var/log/lfd.log so that you can avoid the same in the future.
lfd: *SSH login* from 18.104.22.168 into the root account using password authentication
Oct 25 00:43:21 lfd: (sshd) Failed SSH login from 22.214.171.124 (US/United States/office.linuxfox.com): 5 in the last 3600 secs – *Blocked in csf* [LF_SSHD]
How to unblock your IP?
csf –dr 126.96.36.199
DROP all opt — in !lo out * 188.8.131.52 -> 0.0.0.0/0
DROP all opt — in * out !lo 0.0.0.0/0 -> 184.108.40.206
Now that the rule for dropping packets from the IP has been removed and you will be able to access the services again.
If you wish, you can whitelist your IP address on the server so that it won’t get blocked next time.
[~]# csf -a 220.127.116.11
Adding 18.104.22.168 to csf.allow and iptables ACCEPT…
ACCEPT all opt — in !lo out * 22.214.171.124 -> 0.0.0.0/0
ACCEPT all opt — in * out !lo 0.0.0.0/0 -> 126.96.36.199
Now that the IP is whitelisted on the server. If you still face any problems to connect to the server, please open a support ticket with us.
These guys do a great job. Keep up the good work AIMVM team. www.marghotels.comAisten Correya
When choosing a hosting provider, I’m looking for fast, knowledgeable support and reliable systems. aimvm.com provided it all at a great price. www.tranzmedia.inTranzmedia