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 220.127.116.11
Chain num pkts bytes target prot opt in out source destination
DENYIN 200 0 0 DROP all — !lo * 18.104.22.168 0.0.0.0/0
DENYOUT 200 6 720 DROP all — * !lo 0.0.0.0/0 22.214.171.124
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 126.96.36.199 into the root account using password authentication
Oct 25 00:43:21 lfd: (sshd) Failed SSH login from 188.8.131.52 (US/United States/office.linuxfox.com): 5 in the last 3600 secs – *Blocked in csf* [LF_SSHD]
How to unblock your IP?
csf –dr 184.108.40.206
DROP all opt — in !lo out * 220.127.116.11 -> 0.0.0.0/0
DROP all opt — in * out !lo 0.0.0.0/0 -> 18.104.22.168
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 22.214.171.124
Adding 126.96.36.199 to csf.allow and iptables ACCEPT…
ACCEPT all opt — in !lo out * 188.8.131.52 -> 0.0.0.0/0
ACCEPT all opt — in * out !lo 0.0.0.0/0 -> 184.108.40.206
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