Bulk Add Banned IPs in WHMCS

This article provides a guide for how to bulk add Banned IPs in WHMCS.

WHMCS Banned IPs is the list of IPs which are unable create accounts/login. This is useful to prevent any user from signing up from problematic networks.

How to Bulk Add Banned IPs in WHMCS

To bulk add Banned IPs in WHMCS, follow the steps below:

  1. Login to cPanel server of your WHMCS.
  2. Navigate to phpMyAdmin.
  3. Select your WHMCS database.
  4. Click "SQL" to input query.
  5. Enter the following query:
    INSERT INTO `tblbannedips` (`id`, `ip`, `reason`, `expires`)
    VALUES
    (NULL, '192.168.1.1', 'Network Abuse', '2099-12-31 23:59:00'),
    (NULL, '192.168.2.*', 'Network Abuse', '2099-12-31 23:59:00'),
    (NULL, '192.169.*.*', 'Network Abuse', '2099-12-31 23:59:00');
    Replace '192.168.1.1', '192.168.2.*' and '192.169.*.*' with your preferred values.

You can use this format to bulk add Banned IPs in WHMCS via SQL query.

  • banned ips, fraud protection, whmcs admin, security
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Synchronize Server Time with WHMCS

This tutorial provides a step-by-step guide for synchronizing server time with WHMCS billing...

Remove STRICT_TRANS_TABLES in SQL Mode for WHMCS

WHMCS, a billing and support software for the web hosts, may experience a conflict with default...

Get WHMCS Support

This article provides a guide for how to get WHMCS support for licenses purchased from Rad Web...

How to Enable Subdomain Options for a Product in WHMCS

This article provides a guide for how to enable subdomain options for a product in WHMCS. While...

How to Setup WHMCS Development and Testing Environment

Creating a testing and development environment will let you verify all of your customizations...