Portal Home > Knowledgebase > Articles Database > My IP was blocked to access to my server


My IP was blocked to access to my server




Posted by timadams, 09-03-2007, 01:57 PM
Hello, I got the server hosting at liquidweb. I access my website and ssh normally until 2 days ago. I couldn't go to my website and ssh anymore. All my clients can go to the website, sftp, ssh normally. I did a VPN to my company office and I can access to my website and ssh from my office. Obviously, my IP address at home was blocked. Do you think that was from Liquidweb firewall or my server cpanel firewall or something like that? Please help. Thank you.

Posted by -OY-, 09-03-2007, 02:01 PM
Do you have APF installed? IPtables?

Posted by SparkSupport, 09-03-2007, 02:06 PM
Your IP should be blocked in your server itself. ssh into your server from your office and run the following to get it unblocked. #iptables -I INPUT -s "your_home_ip" -j ACCEPT you can get "your_home_ip" by accessing the site "http://www.whatismyip.com".

Posted by host plugin, 09-03-2007, 03:45 PM
why don't you just give your ip address to liquidweb and ask them to unblock for you? that's the beauty of server mgmt

Posted by timadams, 09-03-2007, 08:26 PM
Thank you all for your kind reply, especially Sparsupport, After I ran the command from Sparssuport and restart iptables service, I am now able to go to my beloved server. WHT is great

Posted by timadams, 09-03-2007, 09:10 PM
Another problem, After I restarted the IPs table, access my website is very very slow. Is there any way to turn of filter on port 80 http or https? Thank you

Posted by david510, 09-03-2007, 09:27 PM
do you mean you need to block access to port 80 for a certain IP, If yes please use the below command. iptables -I INPUT -p tcp --dport 80 -s IP -j DROP To block https iptables -I INPUT -p tcp --dport 443 -s IP -j DROP

Posted by network-junkie, 09-04-2007, 02:16 AM
You may want to invistigate why your IP was blocked by iptables. Just unblocking it is the solution of course but you want to know why it happened and make sure it won't happen again. Maybe some automated scripts, etc... check the iptables rules script, check current rules (iptables -L),read some manualls about iptables so you will be able to actually control it and understand.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Show hidden processes (Views: 689)


Language: