Skip to content
Nexcess.comServers.comLiquidWeb.com
Search our site for answers
Login
  • Help Docs
  • API Docs
  • liquidweb.com
  • Hosting Services
    • Cloud VPS Hosting
    • Dedicated Servers
    • GPU Hosting
    • Hosting For WordPress
    • Hosting For WooCommerce
    • Email Hosting
    • VMware Hosting
    • Add-ons
  • Security & Compliance
    • SSL Certificates
    • Firewalls
    • Cloud Hosting
    • Two Factor Authentication
    • DDoS Protection
    • Compliance
    • Malware Protection
  • Domain & DNS
    • Domain Registration
    • DNS Settings
    • Nameservers
    • Subdomains
    • Domain Forwarding
    • Email DNS Setup
  • Account & Billing
    • Account Setup
    • Payment Methods
    • Billing Cycles
    • Refunds Cancellations
    • Invoices Receipts
    • Account Security
  • Email Hosting
    • Email Setup
    • Email Forwarding
    • Spam Protection
    • Microsoft 365
    • G Suite Setup
    • Account Security
    • Email Troubleshooting
  • Performance & Optimization
    • Server Optimization
    • Caching Strategies
    • Content Delivery Network
    • Database Performance
    • Image Optimization
  • Server Administration
    • Server Setup
    • SSH Access
    • Command Line Basics
    • Database Management
    • CRON Jobs
    • Apache Nginx Setup
    • Log Analysis
  • CMS & Applications
    • WordPress
    • WooCommerce
    • Magento
    • Joomla
    • Drupal
  • Backups & Recovery
    • Backup Strategies
    • Cloud Backups
    • Disaster Recovery
    • Restoring Backups
    • Raid Configurations
  • Reseller & Partner Support
    • Reseller Program
    • White Label Hosting
    • Partner Portal
    • Client Management
  • Policies & Compliance
    • Terms Of Service
    • Privacy Policy
    • GDPR Compliance
    • Acceptable Use Policy
Help Docs Control Panel Guides The Ultimate Guide to the WHM Control Panel (2025) Security in WHM Whitelisting IPs in WHM

Whitelisting IPs in WHM

CSF is the default firewall on Liquid Web servers. Unblock and whitelist IPs via WHM, managing CSF for enhanced server security.
Account
4 min read

ConfigServer Security & Firewall (CSF) is the default firewall installed on Liquid Web servers. If you suspect a client or customer’s IP address has been blocked by the firewall, you can resolve the issue easily in WHM and the ConfigServer Firewall. CSF is managed through WebHost Manager (WHM), this tutorial will take you through how to unblock and whitelist IPs.

Host WHM with Liquid Web

CSF is found in the Plugins section of the WHM home page. Once you click on the Plugin icon, you can select ConfigServer Security & Firewall. This will open the options within the firewall and allow you to block, unblock and whitelist IP addresses and much more.

You can whitelist an IP address in one of two ways:

  • Using WHM
  • Via Command Line

Whitelist an IP Address using WHM

There are three main ways to whitelist an IP address in WHM, all using the ConfigServer Security and Firewall plugin. You can whitelist by:

  • Using Search for IP
  • Using Quick Allow (csf.allow)
  • Using Quick Ignore (csf.ignore)

Search for IP


  1. Once you are on the home page of CSF, navigate to the Search for IP section.


    search for IP address section highlighted

  2. Enter the IP you suspect is being blocked and click Search for IP.
    ip address entered to search
  3. If the IP is blocked, it will show and the reason why it is blocked will be given.
    message showing ip is blocked
  4. Click on the green Unblock button to unblock the IP.
    unblock button highlighted
  5. A confirmation that the IP has been unblocked will show.
    ip unblocked message

Use Quick Allow (csf.allow)

  1. Navigate to the Quick Allow section on the CSF home page.quick allow section highlighted  

  2. Enter the IP address you’d like to allow. This will allow the IP address through all ports, but it can still trigger lfd and multiple modsec rule violations. Click on Quick Allow to allow the IP address through the firewall.
  1. A screen will appear showing the IP address being removed from the csf.deny list. Click Return to be directed back to the CSF home page.
ip entered

Use Quick Ignore (csf.ignore)

  1. Enter the IP address in the Quick Ignore section of CSF.
     quick ignore section highlighted












    Warning:


    Only use this setting for trusted IP addresses. This allows the IP address to bypass all modsec rules, lfd and access all ports to your server.

  2. Click Quick Ignore to allow the IP address through your firewall. lfd will restart after the IP address is whitelisted.
ignore ip section

Whitelist by Command Line for Linux

Once you log into your server via Secure Shell (SSH), you can unblock an IP via CSF.

  1. First, you will need to know if the IP address is permanently blocked or only temporarily blocked. To do that, run the following command:
    csf -g 192.0.2.0

    The output should look like this for a permanent block:


    Chain		num 	pkts bytes target 	prot opt in 	source 		destination         
    DENYIN 200 0 0 DROP ;all -- !lo * 192.0.2.0 0.0.0.0/0
    DENYOUT 200 0 LOGDROPOUT all -- * !lo 0.0.0.0/0 192.0.2.0
    ip6tables:
    Chain num pkts bytes target prot opt in out source destination
    No matches found for 192.0.2.0 in ip6tables
    csf.deny: 192.0.2.0 # Manually denied: 192.0.2.0 (-/-/-) - Mon Feb 20 10:25:05 2017

    If it is temporarily denied, the output will look like this:


    Chain		num			pkts bytes target	prot opt in		out     source		destination         
    ALLOWIN 1 0 0 ACCEPT all -- !lo * 192.0.2.0 0.0.0.0/0
    ALLOWOUT 1 0 0 ACCEPT all -- * !lo 0.0.0.0/0 192.0.2.0
    DENYIN 200 0 0 DROP all -- !lo * 192.0.2.0 0.0.0.0/0
    ip6tables:
    Chain num pkts bytes target prot opt in out source destination
    No matches found for 192.0.2.0 in ip6tables
    csf.allow: 192.0.2.0 # Manually allowed: 192.0.2.0 (-/-/-) - Mon Feb 20 10:28:21 2017
    Temporary Blocks: IP:192.0.2.0 Port: Dir:in TTL:30 (Manually added: 192.0.2.0 (-/-/-))

  2. To remove a permanent IP block, use the following command:
    csf -dr 192.0.2.0

    The output will show that the IP was successfully unblocked:


    Removing rule...
    DROP all opt -- in !lo out * 192.0.2.0 -> 0.0.0.0/0
    LOGDROPOUT all opt -- in * out !lo 0.0.0.0/0 -> 192.0.2.0

  3. To remove a temporary IP block, you can wait until the time is up, or run the following:
    csf -tr 192.0.2.0

    The output will notify you that the temporary block has been removed:


    csf: 192.0.2.0 temporary block removed
    csf: There are no temporary IP allows

To see how to whitelist your IP using your Liquid Web account, see our article Unblocking Your IP Address.

Was this article helpful?
Thank you for your input.
Thank you for your feedback.
Table of Contents
  • Whitelist an IP Address using WHM
  • Whitelist by Command Line for Linux
Get hosting news and tips straight to your inbox
Join our community today.
Loading form…
Essential hosting resources to help your business stay ahead
Get the guides
Related hosting content
  • WordPress Hosting
  • High-Speed Cloud Hosting Services
  • GPU Server Hosting

Solutions

Managed DedicatedCloud DedicatedManaged VPSWordPress ManagedManaged MagentoManaged WooCommerceSignature ServicesAdd-ons

Company

ContactAboutTerms of ServicePrivacy PolicyCustomer StoriesGlobal Cloud Platform

Resources

Help DocsResource CenterWeb Hosting ToolsSitemap

Partnerships

Hosting Affiliate ProgramPartner ProgramsRefer-a-Friend
HIPAA logo.
RedHat logo
cPanel and WHM certified.
SSAE-16 audit compliant hosting provider.
CCNA Cisco certified routing and switching for servers and hosting.
Microsoft Partner Silver Hosting.
AICPA service organization, SOC compliant.
2025 Best Performance and Reliability Award from HostAdvice.com.
Liquid Web reviewLiquid Web review
BBB Accredited Business logo with A+ rating.

©  Liquid Web, LLC by Nexcess Corp.

Privacy Policy

  • Solutions
  • VPS Hosting
  • Dedicated Servers
  • Managed Hosting
  • WordPress
  • GPU Hosting
  • Products
Log in
  • System status
  • Support | Get Help