Cornerstone Media Group, Inc.
Please Login or Register




Knowledgebase

How to block an IP address from accessing my Dedicated server?

First you have to login to your Dedicated server as root via SSH. Then execute the following command in order to block an IP address from accessing your server:

iptables -I INPUT -s IP_ADDRESS -j DROP

Note that you will have to do this each time your firewall is restarted.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read

Powered by WHMCompleteSolution

Language:

Quick Navigation

Client Login

Email

Password

Remember Me

Search



Follow Us on Twitter