Skip to content
Host4u Limited

Allowing and blocking IP addresses on your server (CSF and Imunify360)

Support Portal  »  Knowledgebase  »  Viewing Article
There was a problem loading the comments.
  Print

Servers use the ConfigServer Security & Firewall (CSF) firewall, with Imunify360 alongside it. You can allow an address that is being blocked wrongly, or block one that is causing trouble. If the person being blocked is a client of yours, see My IP address is blocked: unblocking it.

In WHM with CSF

  1. Log in to WHM as root.
  2. Open Plugins, then ConfigServer Security & Firewall. The top of the page should say Firewall Status: Enabled and Running.
  3. Scroll down to csf - Quick Actions. Enter the IP address and a comment, then click one of:
    • Quick Allow: always allow this address through the firewall (the "whitelist").
    • Quick Deny: block this address.
    • Quick Ignore: stop the login failure daemon (lfd) from acting on this address.
    • Quick Unblock: remove the address from the block lists.

To see why an address is blocked, or whether it is, use Search for IP. Firewall Allow IPs and Firewall Deny IPs open the allow and deny lists for editing, and Temporary Allow/Deny adds an entry that expires by itself.

In Imunify360

Imunify360 has its own address lists. In WHM open Plugins, then Imunify360, and choose Firewall. The All Lists tab holds its lists of addresses, and the Ports tab its port rules. An address can be blocked by CSF, by Imunify360, or by both, so check both when you are looking for the cause of a block.

Be careful

  • Never block your own address or your office's: you may lock yourself out of the server. If that happens, open a support ticket.
  • Only allow addresses you trust. An allowed address bypasses the firewall's protection.
  • Use Quick Deny for an address that is attacking you, and give it a clear comment so you know why it is there later.

Share via
Did you find this article useful?  

Related Articles


Self-Hosted Help Desk Software by SupportPal