Docs
On this page
task2 min readApplication: IP Range Restriction

Restrict access by IP address

Allow only your office or VPN networks to reach the instance by adding allow and deny rules for IP address ranges.

Restrict access by IP address when users must reach Servicely only from known networks, such as an office or a VPN. You add an Allow rule for each network and then a Deny rule for every other address.

Before you begin

  • You need the administrator role.
  • Switch to the Administration workspace with the Workspace selector at the foot of the menu.
  • The IP Range Restriction application must be installed. To install it, go to Applications & licensing → Applications → Applications, select its card, then Install and Confirm install.
  • Know the address you are connecting from, and the CIDR range of every network you want to allow.
  • Make the change outside business hours. A wrong rule locks users out.

Steps

  1. Go to Access & security → Roles & permissions → System IP filter restrictions.

    The System IP filter restrictions item under Roles & permissions in the Access & security menu.
  2. Select New.

    The empty Create System IP Filter Restrictions form, with Access type, Active, Address CIDR, Order and Description.
  3. Fill in an Allow rule for the network you are connecting from.

    Field What to enter Example
    Access type Allow. Allow
    Active Yes, the default. Servicely checks active rules only. Yes
    Address CIDR The address or range of the network. 203.0.113.0/24
    Order The rule’s position. Servicely checks lower numbers first. The default is 100. 100
    Description What the network is. Office network
  4. Select Create.

  5. Create an Allow rule in the same way for each other network you allow.

  6. Create a Deny rule with 0.0.0.0/0 in Address CIDR and an Order higher than every Allow rule. Servicely refuses an active rule that would deny your own address, with “This rule would prevent you from accessing the system. Please check it.”

    A new Deny rule for 0.0.0.0/0 with an order of 200, before it is created.
  7. Open the instance from a network you did not allow. The browser shows an HTTP 403 error.

Result

Servicely checks the address of each request against the active rules, lowest Order first. The first rule whose range holds the address decides whether the request is allowed or denied. A request that matches no rule is allowed, so the Deny rule is what blocks every other address. Users on a denied network see an HTTP 403 error in place of the sign-in page.

Options

To Do this
Block addresses that reach the instance over IPv6 Add a second Deny rule with ::/0 in Address CIDR. A rule matches only addresses of its own family, so an IPv4 rule never matches an IPv6 address.
Switch a rule off without deleting it Set Active to No.
Give an Allow rule and a Deny rule the same Order Servicely checks the Allow rule first.
Get back in after a rule locks you out Connect from a network that an Allow rule covers and correct the rule. If you cannot, contact Servicely Support.
Last updated 3 December 2026commit 8d233372fa05Chris Jones
Back to top