IP Allow List

IP Allow List

The IP Allow List restricts access to a Nexus Repository instance based on specific IP addresses or CIDR ranges. It adds a network-level control to ensure that only approved locations can access the system.

This feature is available in:

Use the IP Allow List to:

How IP Filtering Works

The IP Allow List evaluates each incoming request against configured entries. Based on the active filtering mode, the request is either allowed, monitored, or blocked.

Filtering Modes

Disabled (default)

Monitor

Enforce

Note
Start with Monitor mode to validate your configuration before switching to Enforce.

Configure the IP Allow List

Ensure you have administrative access to Nexus Repository.

Identify the IP addresses or CIDR ranges that require access.

  1. Administrator go to the Setting > Security > IP Allow List.
  2. Choose a filtering mode:
    • Disabled
    • Monitor
    • Enforce
  3. Save your changes.

The selected filtering mode is applied. Requests are evaluated according to the configured mode.

Note
Only users with administrator privileges can access and configure the IP Allow List settings in Nexus Repository.

Manage Allow List Entries

You can add, update, or remove entries using the UI or REST API.

Supported entry types

Add: Go to Setting > Security > IP Allow List, select add entry, enter IP/CIDR, and save. Edit: Find the entry, select Edit, update it, and save. Delete: Find the entry, select Delete, and confirm. Clear all: Select Clear all and confirm. Limits: Maximum of 256 entries by default.

Import Entries in Bulk

You can upload multiple entries using a CSV file.

Prerequisites

Use the following steps to import entries in bulk.

  1. Click the Import Entry button.
  2. Drag and drop a CSV file or select a file.
  3. Submit the file.

After processing, the system displays:

Duplicate entries are ignored, allowing repeated uploads without duplication.

Exempt Addresses and Endpoints

To prevent accidental lockouts, certain addresses and endpoints are always allowed.

Always allowed IPs

Always accessible endpoints

Audit Log Events

All IP Allow List activity is recorded in the audit log.

Events

Logged details

Note
Monitor mode can generate high log volume in high-traffic environments.

REST API

You can manage the IP Allow List using the REST API.

Endpoint

/v1/security/ip-allowlist

Supported operations

The REST API is available regardless of the UI version.

Limitations