NetBox Access Lists Plugin
A NetBox plugin for managing Access Lists.
Features
- Access Lists (Standard and Extended)
- Standard Rules for Access Lists
- Extended Rules for Access Lists
- Interface Assignment for Access Lists
Compatibility
The following table details the tested plugin versions for each NetBox version:
| NetBox Version | Plugin Version |
|---|---|
| 4.7.x | 2.1.0 |
| 4.6.x | 2.0.3 |
| 4.5.x | 2.0.3 |
| 4.4.x | 1.9.1 |
| 4.3.x | 1.9.1 |
| 4.2.x | 1.8.1 |
| 4.1.x | 1.7.0 |
| >= 4.0.2 < 4.1.0 | 1.6.1 |
| 3.7.x | 1.5.0 |
| 3.6.x | 1.4.0 |
| 3.5.x | 1.3.0 |
| 3.4.x | 1.2.2 |
| 3.3.x | 1.1.0 |
| 3.2.x | 1.0.1 |
Installing
For Docker Setups
For instructions specific to NetBox Docker setups, see the netbox-docker plugin documentation.
Via pip
Activate your NetBox Python virtual environment and run:
source /opt/netbox/venv/bin/activate
pip install netbox-acls
Important: When using NetBox's upgrade.sh, the virtual environment is
deleted and recreated.
To ensure that the ACL plugin is reinstalled during an upgrade,
add it to your local_requirements.txt (for local installations) or
plugin_requirements.txt (for container-based installations).
netbox-acls
Configuration
Enable the plugin by editing the NetBox configuration file.
For local installations, update /opt/netbox/netbox/netbox/configuration.py;
for Docker setups, modify /configuration/plugins.py:
PLUGINS = [
"netbox_acls",
]
PLUGINS_CONFIG = {
"netbox_acls": {
# Set to True to add a top-level menu item, or False to place it
# under the Plugins menu. Default is True.
"top_level_menu": True,
# Sequence number increment for new ACL rules (e.g., 10, 20, 30...)
"rule_sequence_step": 10,
},
}
After configuration, apply the changes by running the database migrations:
source /opt/netbox/venv/bin/activate
cd /opt/netbox
python3 netbox/manage.py migrate
Screenshots
-
Access List (List View)
-
Access List (Standard) (Detail View)
-
Access List (Extended) (Detail View)
-
Standard Access List Rules (List View)
-
Extended Access List Rules (List View)
-
ACL Assignments (List View)
-
Host Access Lists (New Card for Devices, Virtual Chassis, Virtual Machines)
Developing
VSCode + Docker + Dev Containers
You can use the provided .devcontainer configuration
to set up a development environment with a fully functional NetBox
installation.
This configuration works best with WSL 2.
For this to work, make sure you have Docker Desktop installed and the WSL 2
integrations activated.
- Open a WSL terminal and run
codeto launch Visual Studio Code. - Install the ms-vscode-remote.remote-containers extension.
- Press
Ctrl+Shift+Pand select Dev Container: Clone Repository in Container Volume to start cloning the repository. The process may take some time. - (Optional) To prepopulate NetBox with example data from
netbox-initializers,
run:
make initializers - Start the NetBox instance:
make all
After these steps, NetBox will be available at http://localhost:8000.
Contributing
This project is maintained by the netbox-community. For contribution guidelines, please see the CONTRIBUTING document.
Credits
This plugin is based on the NetBox plugin tutorial by jeremystretch:
All credit should go to Jeremy. Thanks, Jeremy!
This project aims to build upon the framework and model presented there.
Release files for netbox-acls 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| netbox_acls-2.1.0.tar.gz | 57.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netbox_acls-2.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:137.7 kB
Release files / netbox_acls-2.1.0.tar.gz
| Download URL | netbox_acls-2.1.0.tar.gz |
|---|---|
| Size | 57.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e41858b9d6ee33355eb13f0a7c14ef68fe39ffa8992597379284ff530ec42fb5
|
|
BLAKE2b-256 checksum How to use checksums |
f4e11b16faac8584f2a70706320c25576eb6aae8879933b2e541cf1ff31c049a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / netbox_acls-2.1.0-py3-none-any.whl
| Download URL | netbox_acls-2.1.0-py3-none-any.whl |
|---|---|
| Size | 79.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a5c05ddb0db499a288789f1b28a7786b3e57f5fdda0d62677513a2779b4a772
|
|
BLAKE2b-256 checksum How to use checksums |
e712a0bd2f7be263d6563b7247855acd8dad64172d9ee4391c2158c6dee04f96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|