Print

Whitelisting Multiple IPs in Imunify360

Imunify360 is a powerful security suite that safeguards your server from various threats. Its firewall component allows you to control network access by whitelisting or blacklisting IP addresses. This guide provides a step-by-step walkthrough of how to whitelist multiple IP addresses in Imunify360 or Whitelisting Multiple IPs in Imunify360, ensuring legitimate traffic can access your server while keeping malicious actors at bay.

Understanding IP Whitelisting

IP whitelisting is a security practice that allows specific IP addresses or IP ranges to access your server while blocking all others. This helps prevent unauthorized access and protects your server from malicious traffic.

Why Whitelist Multiple IPs?

You might need to whitelist multiple IPs for various reasons:

  • Allowing Access for Specific Users or Networks: If you have users or clients accessing your server from specific IP addresses or networks, whitelisting those IPs ensures they can connect without interruption.
  • Granting Access to Trusted Services: Certain services or applications might require access to your server from specific IP addresses. Whitelisting those IPs ensures those services function correctly.
  • Troubleshooting Connectivity Issues: If you’re experiencing connectivity issues with specific IP addresses, temporarily whitelisting them can help diagnose and resolve the problem.

Creating an External Whitelist in Imunify360

Imunify360 allows you to create an external whitelist file where you can list multiple IP addresses or subnets. This simplifies the process of managing your whitelist and keeps your rules organized.

Step 1: Create the Whitelist Directory

Ensure the necessary directory exists for storing your external whitelist file:

mkdir -p /etc/imunify360/whitelist

This command creates the directory /etc/imunify360/whitelist if it doesn’t already exist.

Step 2: Create the Whitelist File

Create a text file with any name and the .txt extension within the whitelist directory. Imunify360 will combine all .txt files in this directory into your whitelist.

touch /etc/imunify360/whitelist/ip.txt

This command creates an empty file named ip.txt in the /etc/imunify360/whitelist directory.

Step 3: Add IP Addresses to the Whitelist

Use the below command in ssh / terminal to open the whitelist file (ip.txt) using a text editor:

nano /etc/imunify360/whitelist/ip.txt

Add bulk IP addresses or subnets you want to whitelist, one per line. You can also use CIDR notation to specify IP ranges.

192.168.1.100
192.168.1.0/24
10.0.0.0/16

Step 4: Reload Imunify360 Lists

Reload the Imunify360 lists to apply your changes:

imunify360-agent reload-lists

Verifying Your Whitelist

You can verify your whitelist by checking the Imunify360 firewall logs or by attempting to connect to your server from a whitelisted IP address.

The above article very well answers the below queries:

  • Imunify360 Whitelisting: A Guide to Multiple IPs
  • Whitelist Multiple IPs with Imunify360
  • How to Whitelist IPs in Imunify360
  • Imunify360: Adding Multiple IPs to Whitelist
  • Bulk IP Whitelisting in Imunify360
  • Managing Your Imunify360 Whitelist: Adding Multiple IPs
  • Whitelist IPs Easily with Imunify360
  • Imunify360 Firewall: Whitelisting Multiple IP Addresses
  • Secure Your Server: Whitelisting Multiple IPs in Imunify360
  • Step-by-Step Guide to Whitelisting IPs in Imunify360

Additional Tips for Managing Your Imunify360 Whitelist

  • Keep Your Whitelist Updated: Regularly review and update your whitelist to ensure it reflects your current access requirements.
  • Use CIDR Notation for Efficiency: Use CIDR notation to specify IP ranges instead of listing individual IP addresses, making your whitelist more concise and manageable.
  • Document Your Whitelist: Maintain a record of the IP addresses and subnets you’ve whitelisted, along with the reasons for whitelisting them. This helps with troubleshooting and auditing.

MyGlobalHost and Imunify360: Enhanced Server Security

MyGlobalHost offers robust hosting solutions with Imunify360 integration, providing comprehensive security for your websites and applications. Our expert support team can assist you with configuring Imunify360, managing your whitelist, and optimizing your server’s security.

Choose MyGlobalHost for a secure and reliable hosting experience, backed by the power of Imunify360.

Table of Contents
Close
Get 75% + extra 10% Discount on web Hosting Plans by myglobalHOST

Extra 10% OFF

Coupon Code

EXTRA10

Applicable on

FLAT Rs 100 OFF

Coupon Code

FLAT100

Applicable on

How to Avail: Simply browse the most appropriate hosting plan for you and avail extra discount on all orders.

Expert Advice

+91-79862-84663

11AM to 6PM

Live Chat : 11AM to 6PM