Skip to main content

IP Rules

An IP Rule specifies an IP Address Filter and an Action that controls access:

  • The IP Address Filter can be a single IPv4 or IPv6 address, or a canonical CIDR range.
  • The Action determines the outcome:
    • Allow: connections from the source are permitted.
    • Block: connections from the source are denied.

IP Rules are defined within an IP Filter. They apply automatically wherever that filter is referenced in:

Before You Begin

IP Rule Examples

IP Address FilterActionResult
1.1.1.0BlockBlocks only 1.1.1.0 (/32 implied).
1.1.1.0/24BlockBlocks all hosts in 1.1.1.0/24 (1.1.1.0 to 1.1.1.255).
192.168.1.42/24N/AInvalid (not canonical). Use 192.168.1.0/24.
0.0.0.0/0AllowAllows all IPv4 sources; with Block entries, acts as a blocklist-only policy (Block takes precedence).
::/0AllowAllows all IPv6 sources; with Block entries, acts as a blocklist-only policy (Block takes precedence).

IP Rules Administration via USP Admin UI

Adding an IP Rule

To add an IP Rule, follow these steps:

  1. From the Sidebar, click Authentication > IP Filtering.
  2. Click the row of the IP Filter where you want to add the IP Rule.
  3. Go to the IP Rules tab.
  4. Click the Add IP Rule button above the IP Filter details.
  5. Complete the IP Rule details using the Field Descriptions table as a guide.
  6. Click Save.

Field Descriptions

NameDescriptionSpecificationsRequired
IP Address FilterAn IPv4 or IPv6 address to block or allow. CIDR ranges are supported, but only in canonical form (network base address required).Yes
DescriptionThe description of the IP Rule.No
Action

Select the action to apply to the entered IP Address Filter.

Options:

  • Block
  • Allow
Yes

Editing an IP Rule

To edit an IP Rule, follow these steps:

  1. From the Sidebar, click Authentication > IP Filtering.
  2. Click the row of the IP Filter where the IP Rule is added.
  3. Go to the IP Rules tab.
  4. Click the row of the IP Rule you want to edit.
  5. Click the Edit button above the IP Rules details.
  6. Edit the IP Rule details using the Field Descriptions table as a guide.
  7. Click Save.
warning

If you modify a IP Rule that is currently in use by a USP Server instance, the changes will not take effect until you manually apply the updated configuration by pushing it to the server. To apply the changes:

  1. Navigate to Monitoring > Status.
  2. Click the Name of the associated USP Server instance.
  3. Go to the Configuration tab.
  4. Review the pending changes in the Updated Configuration column.
  5. If the changes are correct, click Push Configuration.

IP Rule Metadata

IP Rules details include all parameters given in the Field Descriptions table above, plus the following read-only metadata:

NameDescription
IDUniversally Unique Identifier of this IP Rule.
Created AtDate and time this IP Rule was created.
Updated AtDate and time this IP Rule was last updated.
Filter IDThe ID of the IP Filter where the IP Rule belongs.

Deleting an IP Rule

To delete an IP Rule, follow these steps:

  1. From the Sidebar, click Authentication > IP Filtering.
  2. Click the row of the IP Filter where the IP Rule is added.
  3. Go to the IP Rules tab.
  4. Click the row of the IP Rule you want to delete.
  5. Click the Delete button above the IP Rules details.
  6. You will be asked to confirm the deletion. Click Delete.