Cloudkul Support

How to ban an IP from accessing the server?

To ban an IP address from accessing the server, we can set rule in iptables to drop all the packets coming from undesirable IP address.

Open your terminal and execute the command as:

It will ban IP a.b.c.d from accessing the server.

Is this article is helpful?

People like and 0 people dislike.

If result is not found or irrelevant, Please contact us.

Submit your request