> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-user-guide.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Firewall

This feature limits and controls the MoEngage dashboard access to only approved IP addresses or ranges with an additional authentication measure. This ensures increased security and a lower risk of compromised accounts.

<Info>
  You must be an Admin for your MoEngage workspace to add a firewall. For more information, refer to [Access Roles](/user-guide/settings/account/team-management/access-roles?_gl=1*m6oahe*_gcl_aw*R0NMLjE3MDI0NDM1MTEuQ2p3S0NBaUFwdUNyQmhBdUVpd0E4Vko2SnBmNmZDWnZaSUdSSXJEWFBNRTFlUloyWDZYSXEzSzRWblJ3alZBYzAyQ21LelJhanV4VWpSb0Nmc0FRQXZEX0J3RQ..*_gcl_au*OTAxMTgzNzIxLjE3MDI0NDM1MTE.*_ga*MjgyMTc5NTk1LjE3MDI0NDM1MTE.*_ga_SEBHW7YTZ7*MTcwNjY4NTQ4OS4zLjEuMTcwNjY5NDY5Mi41NC4wLjA.*_ga_161P72P6V0*MTcwNjY4NTQ4OS4zLjEuMTcwNjY5NDY4Ni4wLjAuMA..#01G37YHTDFGHEPY83QHH1GZDPC).
</Info>

# Add a Firewall

Perform the following steps to add a firewall:

1. On the left navigation menu in the MoEngage dashboard, click **Settings** > **Account** > **Security**.

2. On the Security page, click the **Firewall** tab.
   <img src="https://mintcdn.com/moengage-user-guide/eI98be5uTx7OhSec/images/moengage_8b5692.png?fit=max&auto=format&n=eI98be5uTx7OhSec&q=85&s=e0caa6d020ae45d709ff16fe2db4e642" alt="" width="2880" height="1344" data-path="images/moengage_8b5692.png" />

3. Click **Add** **firewall**. <img src="https://mintcdn.com/moengage-user-guide/og_IWyLOPeLfVvWp/images/moengage_58c730.png?fit=max&auto=format&n=og_IWyLOPeLfVvWp&q=85&s=b08ba8a34e2bc81cca8911275eaedf7b" width="2880" height="1344" data-path="images/moengage_58c730.png" />

4. On the **Add firewall**dialog box, enter the following details:
   <img src="https://mintcdn.com/moengage-user-guide/o-R_Ot8gzngW4Fxh/images/moengage_a31121.png?fit=max&auto=format&n=o-R_Ot8gzngW4Fxh&q=85&s=28f078ceb3b671d4ee3cbe8be7082516" alt="Screenshot 2025-04-17 at 8.29.37 PM.png" width="670" height="414" data-path="images/moengage_a31121.png" />

5. Under **Select Type**, select an option:
   * **Allowed**: Select this option to whitelist any IP. You can add specific IP addresses or ranges and grant permission to access the MoEngage dashboard. Only connections originating from these IPs will be successful. This is a security measure to restrict access to authorized users and networks, such as your office or a designated VPN.
   * **Blocked**: Select this option to blacklist any IP. You can add specific IP addresses or ranges and block their access to the MoEngage dashboard. Connections originating from these IPs are effectively blocked from accessing the MoEngage dashboard. If users attempt to log in from a blocked IP address, their login will fail.

6. In the **Enter IPs/ip range** box, type the IP addresses and subnets you want to allow or block as Classless Inter-Domain Routing (CIDR) ranges.

   <Warning>
     **Critical**

     Do not block IP addresses with a /0 or /32 subnet mask.

     * Blocking IP addresses with a /0 subnet mask will block all possible IPv4 addresses, and your workspace will be inaccessible.

         <img src="https://mintcdn.com/moengage-user-guide/37ccD5gdAdeo5pER/images/moengage_d57bba.png?fit=max&auto=format&n=37ccD5gdAdeo5pER&q=85&s=8e60746b01b822d0dd7ed415212d00d1" width="792" height="626" data-path="images/moengage_d57bba.png" />

     * Blocking IP addresses with a /32 subnet mask can lead to unintended workspace inaccessibility issues for individual IP addresses.

         <img src="https://mintcdn.com/moengage-user-guide/z5wObluGBPTSzQMv/images/moengage_d7c082.png?fit=max&auto=format&n=z5wObluGBPTSzQMv&q=85&s=91248aa51b1a567fee917eec0a44cec5" width="758" height="632" data-path="images/moengage_d7c082.png" />
   </Warning>

7. Click **Save**.

   <Warning>
     * If your current IP fails to meet the firewall criteria, you will receive the following error message:

         <img src="https://mintcdn.com/moengage-user-guide/plASHx0RUUpvhgYP/images/moengage_b11750.png?fit=max&auto=format&n=plASHx0RUUpvhgYP&q=85&s=135db5a5811bbe55fbb14158f000f1d9" alt="Screenshot_2023-06-02_at_1.45.15_PM.png" width="742" height="200" data-path="images/moengage_b11750.png" />

       This prevents you from adding the firewall to your workspace.

     * After you add the firewall successfully, any logged-in users not connected to the registered networks will be automatically logged out.
   </Warning>

# Edit IPs or IP Ranges

To edit IPs or IP ranges, perform the following steps:

1. On the Security page, click the **Firewall** tab.
2. Click the ellipsis icon adjacent to the IP/IP range under **Actions**.
3. Click **Edit**.
   <img src="https://mintcdn.com/moengage-user-guide/w89gcvhxT1w_pzZQ/images/moengage_44f8c6.png?fit=max&auto=format&n=w89gcvhxT1w_pzZQ&q=85&s=781d4574112a9e733f6a9a045843b95b" alt="" width="2878" height="1332" data-path="images/moengage_44f8c6.png" />
4. On the **Edit firewall** dialog box, make the necessary edits. For more information, refer [here](/user-guide/settings/account/security/firewall).
   <img src="https://mintcdn.com/moengage-user-guide/OEZzGRSFwifpX5UP/images/moengage_2ca49d.png?fit=max&auto=format&n=OEZzGRSFwifpX5UP&q=85&s=f84b3b627f19293a87d3fbdcdd42d55e" alt="" width="720" height="456" data-path="images/moengage_2ca49d.png" />
5. Click **Save**.

Your IP status is now updated successfully.

# Delete IPs or IP Ranges

To delete IPs or IP ranges, perform the following steps:

1. On the Security page, click the **Firewall** tab.
2. Click the ellipsis icon adjacent to the IP/IP range under **Actions**.
3. Click **Delete**.
   <img src="https://mintcdn.com/moengage-user-guide/Of0LK4TPdtESqIEt/images/moengage_51eafb.png?fit=max&auto=format&n=Of0LK4TPdtESqIEt&q=85&s=7b0986aa29eeef2b101522a75f415f5e" alt="" width="2880" height="1346" data-path="images/moengage_51eafb.png" />
   The Delete Config pop-up window will appear, prompting for confirmation to delete the config.
4. Click **Delete**.
   <img src="https://mintcdn.com/moengage-user-guide/VJZv-32Au5XtRBs2/images/moengage_5c6234.png?fit=max&auto=format&n=VJZv-32Au5XtRBs2&q=85&s=3646846f4bc5964f818c3c7c7aecd107" alt="" width="642" height="296" data-path="images/moengage_5c6234.png" />

Your IPs or IP ranges are removed successfully.

# FAQ

* ****Why is my access to the MoEngage dashboard denied?****
  MoEngage access may be restricted to specific IP addresses configured by your administrator.
  For example, the IP address of your office VPN is whitelisted, whereas the network to which your personal device is connected to may not be. When you try to access the MoEngage dashboard from outside the office VPN, MoEngage will deny you access. In that case, you need to connect to your office VPN and access the MoEngage dashboard.
  If you cannot access the MoEngage dashboard, contact your MoEngage administrator to verify that you are using a whitelisted IP address. To check your current IP address, use a website such as [What is My IP Address](https://whatismyipaddress.com/).
