> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mochahost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to unblock an IP from CSF/Cpanel (VPS/Cloud)

## There are two alternatives to unblock an IP via the interface or via SSH.

### To unblock an IP from the CSF in the WHM panel, please follow the steps below:

1. Login to WHM with 'root'.

![](https://tutorials.my-virtual-panel.com/csf_cpanel_unblock/1_csf_ip_unblock.png)

2. Under **Plugins** choose **ConfigServer Security & Firewall**.

![](https://tutorials.my-virtual-panel.com/csf_cpanel_unblock/2_csf_ip_unblock.png)

3. From **csf - Quick Actions**, write the **IP under the Quick Unblock function**.

![](https://tutorials.my-virtual-panel.com/csf_cpanel_unblock/3_csf_ip_unblock.png)

4. For more details on the exact reason for the block, you can search the IP under **Server Infromation > Search System Logs**. Write the IP in the Text: bar and click **Search**.

![](https://tutorials.my-virtual-panel.com/csf_cpanel_unblock/4_csf_ip_unblock.png)

![](https://tutorials.my-virtual-panel.com/csf_cpanel_unblock/4a_csf_ip_unblock.png)

### To unblock an IP from the CSF from SSH, please follow the steps below:

1. Login via SSH.

2. To check **if the IP is blocked by CSF**, please execute the following command:

`csf -g IP\_address`

Note: IP\\\_address being the specific IP you wish to check.

3. If the IP is denied and you wish to **remove it**, please execute the following command:

`csf -dr IP\_address`

4. To complete the process, you will need to **restart CSF** for the changes to take effect:

`csf -r`
