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

# Restrict access by IP address (IP restriction)

> Allow access to your Admina organization only from registered IPv4 addresses. Covers how to turn the setting on and off, the values you can enter, and what people see and can do when they access from a network that isn't allowed.

## Overview

With IP restriction on, the web app allows access to this organization only from the IP addresses you register.
Access from other networks is blocked.

* The setting applies per organization. A login user who belongs to more than one organization is restricted only in organizations that have it turned on.
* It applies to browser access, whichever way you log in (Money Forward ID or SSO).
* Access with API keys isn't covered. To restrict where an API key can be used, see [Restrict API keys by IP address (per-key IP allowlist)](https://support.i.moneyforward.com/en/it-management/settings/bulpw3cqk0-api-key-ip-allowlist.md).
* You can register IPv4 addresses and CIDR ranges. IPv6 is not supported.

> [!WARNING]
>
> If you connect over IPv6 only, you can't access an organization that has IP restriction turned on.

Admins who can update the organization settings can change IP restriction.
Other login users can view the settings but can't change them.

## Set up IP restriction

1. Go to **Settings** > **Security** and find **IP restriction**.

   ![IP restriction settings on the Security tab of Settings](https://mintcdn.com/moneyforwardi/FdEkO8TCQcls9xeh/images/en/it-management/0xo5rmfxw8/ip-restriction-settings.png?fit=max\&auto=format\&n=FdEkO8TCQcls9xeh\&q=85\&s=819209809893abaa8f16181a941d5fe3)

2. Click **Add IP address**. Enter the IP address or CIDR range to allow, and an optional **Description**.
   For the values you can enter, see [Values you can enter](#allowed-values).
   To add the IP address you're connected from now, click **Add my IP address** (it adds that one address as `/32`).

   ![IP restriction settings with 192.0.2.0/24 and Osaka office entered in row 2](https://mintcdn.com/moneyforwardi/FdEkO8TCQcls9xeh/images/en/it-management/0xo5rmfxw8/ip-restriction-add.png?fit=max\&auto=format\&n=FdEkO8TCQcls9xeh\&q=85\&s=8ff91b1c1c57663e895c26e2904567cb)

3. After you add all the networks you need, click **Save**.

4. Turn on the **IP restriction** switch.

5. In the confirmation dialog, click **Turn on**.
   If your current IP address isn't in the list, click **Add my IP and turn on**.
   For the other dialogs, see [Confirmation dialogs](#confirmation).

   ![The "Turn on IP restriction?" confirmation dialog](https://mintcdn.com/moneyforwardi/FdEkO8TCQcls9xeh/images/en/it-management/0xo5rmfxw8/ip-restriction-confirm.png?fit=max\&auto=format\&n=FdEkO8TCQcls9xeh\&q=85\&s=b09f5a1d0e2a76e62d8ed173c64ab9a2)

> [!NOTE]
>
> You can't change the switch until you save or cancel your list changes.
> The switch takes effect when you click the button in the confirmation dialog.

## Confirmation dialogs

A confirmation dialog appears when you change the switch.
When you save the list while IP restriction is on, a dialog appears only in these cases:

* Your current IP address isn't in the list you're saving.
* Your current IP address can't be detected.

In every dialog, **Cancel** closes it without changing anything.

| Dialog title | When it appears | Buttons |
| - | - | - |
| **Turn on IP restriction?** | You turn on the switch, and your current IP address is in the list | **Turn on** |
| **Your IP address isn't in the list** | You turn on the switch or save the list, and your current IP address isn't in the list | **Add my IP and turn on**, **Add my IP and save** |
| **The list is empty** | You turn on the switch with an empty list | **Add my IP and turn on** |
| **Your IP address couldn't be checked** | Your current IP address can't be checked, or you're connected over IPv6 | **Turn on anyway**, **Save anyway** |
| **Turn off IP restriction?** | You turn off the switch | **Turn off** |

**Add my IP and turn on** and **Add my IP and save** first add your current IP address to the list.

> [!WARNING]
>
> **Turn on anyway** and **Save anyway** can block you from the network you're on.
> If no admin can get in, contact Admina support or your sales representative.

## Values you can enter

| Field | Allowed values |
| - | - |
| **IP address / CIDR** | An IPv4 address, or a CIDR range from `/8` to `/32` (for example, `203.0.113.0/24`). An IPv4 address without `/` is treated as `/32` (that address only) |
| **Description** | Optional. Up to 255 characters |
| Number of entries | Up to 100 |

You can't add the following ranges:

* A range that is already in the list
* A range that includes an address the service uses internally

## Turn off IP restriction

1. In **Settings** > **Security**, turn off the **IP restriction** switch.
2. In the confirmation dialog, click **Turn off**.

Access is then allowed from any network.
The list is kept, so turning the switch on again restricts access with the same list.

## Access from a network that isn't allowed

On the organization selection screen, an organization blocked by IP restriction can't be opened.
It shows "This organization only allows access from approved networks."
Click **Details** to see why.

![The message shown for a blocked organization on the organization selection screen](https://mintcdn.com/moneyforwardi/FdEkO8TCQcls9xeh/images/en/it-management/0xo5rmfxw8/ip-restriction-org-list.png?fit=max\&auto=format\&n=FdEkO8TCQcls9xeh\&q=85\&s=8f10ffdc903a8b38b28fa10eeeeeb57c)

When you open the organization, "Access from this network is not allowed" appears.
The screen also shows the organization name and, if it can be checked, your current IP address.

![The "Access from this network is not allowed" screen](https://mintcdn.com/moneyforwardi/FdEkO8TCQcls9xeh/images/en/it-management/0xo5rmfxw8/ip-restriction-blocked.png?fit=max\&auto=format\&n=FdEkO8TCQcls9xeh\&q=85\&s=664d1ef5ae778c249d2b430afde8207e)

To regain access, do one of the following:

* Ask an admin who can access from an allowed network to add your network or turn off IP restriction.
* If no admin can get in, contact Admina support.

## Audit log

The audit log records changes to the IP restriction settings and access blocked from networks that aren't allowed. Access that our infrastructure (such as the WAF or network) defends against or blocks isn't recorded.
It also records access blocked by IP restriction.
For details, see [Check audit logs](https://support.i.moneyforward.com/en/it-management/faq/3kr059fq2z-auditlog.md).

## FAQ

### Troubleshooting

| Message or symptom | Cause | Solution |
| - | - | - |
| "Enter a valid IPv4 address or CIDR range, for example 203.0.113.0/24." | The value isn't an IPv4 address or CIDR range. | Enter a value such as `203.0.113.10` or `203.0.113.0/24`. |
| "IPv6 addresses are not supported." | You entered an IPv6 address. | Enter an IPv4 address. |
| "The prefix length must be between /8 and /32." | The number after `/` is outside 8 to 32. | Use a prefix from `/8` to `/32`. |
| "This range is already in the list." | The same range is already in the list. | Remove the duplicate row. |
| "You can add up to 100 entries." | You tried to add more than 100 entries. | Remove rows you don't need, or combine them into CIDR ranges. |
| "This range includes an address the service uses internally, so it cannot be added." | The range includes an address the service uses internally. | Enter a range that leaves that address out. |
| "The description must be 255 characters or fewer." | The **Description** is longer than 255 characters. | Shorten it to 255 characters or fewer. |
| "You are connected over IPv6, which IP restriction does not support." | You're connected over IPv6. | Switch to an IPv4 connection and try again. |
| "We couldn't check your current IP address." | Your current IP address couldn't be checked. | Before you save, check that the networks you want to allow are in the list. |
| "These settings were changed elsewhere while you were editing." | Someone else changed the settings while you were editing. | Saving overwrites their changes. Reload the page to see the latest settings. |
| "Could not load the IP restriction settings." | The settings couldn't be loaded. | Reload the page and try again. |
| "Only users who can update the organization can change IP restriction." | You don't have permission to update the organization. | Ask a login user who can update the organization to make the change. |
| "Save or cancel your list changes first." appears and the switch can't be changed | The list has unsaved changes. | Click **Save** or **Cancel**, then change the switch. |

### FAQ

**Q. Is access with API keys also restricted?**

A. No.
Access with API keys is not covered by IP restriction.
To restrict where an API key can be used, set up a [per-key IP allowlist](https://support.i.moneyforward.com/en/it-management/settings/bulpw3cqk0-api-key-ip-allowlist.md).

**Q. Are my other organizations restricted too?**

A. No.
IP restriction is set per organization, and only the organizations with it turned on are restricted.

**Q. Is SAML (IdP) login also restricted?**

A. Yes.
You can't log in with SAML from a network that isn't allowed.

**Q. Does turning off IP restriction delete the registered IP addresses?**

A. No.
Turning it on again restricts access with the same list.

**Q. No admin can access the organization.**

A. Contact Admina support.
Admina support will turn off IP restriction for you.

## Related pages

* [Configure single sign-on with SAML](https://support.i.moneyforward.com/en/it-management/settings/sni7chcawy-saml.md)
* [Require multi-factor authentication (MFA)](https://support.i.moneyforward.com/en/it-management/settings/lqb4m5d1tj-login-method-2fa.md)
* [Restrict API keys by IP address (per-key IP allowlist)](https://support.i.moneyforward.com/en/it-management/settings/bulpw3cqk0-api-key-ip-allowlist.md)
* [Required IP addresses, URLs, and ports](https://support.i.moneyforward.com/en/it-management/faq/nmglgrm1ik-restrict-ip.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.