In this section · 11 articles

Block an IP address

Stop an IP address or a whole range from signing in to Laramin or using its API, and release it again later.

Applies to
Core 12.0 and later
Who can do this
Administrator, Platform owner
Permission
feature.core.blocked_ip.create
Where
Configurations › Security › Blocked IPs
On this page

Before you start

  • You need feature.core.blocked_ip.create. To change or remove a block later, you need feature.core.blocked_ip.edit or feature.core.blocked_ip.delete.
  • Blocked IPs takes one IP address, such as 198.51.100.23, or a range in CIDR form, such as 203.0.113.0/24 for the 256 addresses from 203.0.113.0 to 203.0.113.255. IPv6 works too. To allow addresses, or to block them for one role or user only, use Create an IP rule instead.
  • Find your own IP address before you start, so you don't block yourself.

Danger: A blocked IP address can't sign in, even as a super admin. Break-glass doesn't override a block. If you block the address you're working from, you can't sign in again from it until someone else releases it.

Steps

  1. In the sidebar, open Configurations › Security › Blocked IPs.

  2. Select Create.

    The Create Blocked IP drawer with empty IP address or CIDR range and Block / Release Reason fields, and Status set to Blocked.
  3. In IP address or CIDR range, enter the address or range, for example 198.51.100.23 or 203.0.113.0/24. If it isn't valid, the field says Enter a valid IP address or CIDR range (e.g. 192.168.1.10 or 10.0.0.0/24).

  4. In Block / Release Reason, write why you're blocking the address.

  5. Check that Status is set to Blocked.

  6. Select Save.

Release a blocked IP

  1. In the row for the address, open the actions menu.

  2. Select Edit.

  3. Set Status to Released, and update Block / Release Reason.

  4. Select Save.

The row stays in the list as a record, and the address can sign in again. To remove it completely, select Delete from the row's actions menu instead. Deleting can't be undone.

What happens next

The address, or every address in the range, can no longer sign in to the admin or call the REST API. Anyone already signed in from it stays signed in until their session ends. The block also appears in IP Rules as a global Block rule.