Add nat_outside to the IPAddress table #6681

Closed
opened 2025-12-29 19:43:50 +01:00 by adam · 2 comments
Owner

Originally created by @atownson on GitHub (Jul 18, 2022).

Originally assigned to: @atownson on GitHub.

NetBox version

v3.2.4

Feature type

Change to existing functionality

Proposed functionality

Add the nat_outside field (as NAT (Outside)) to the IPAddressTable class (netbox/netbox/ipam/tables/ip.py). The nat_inside field already exists.

Use case

We manage several DMZs. Adding the nat_outside would help in identifying these relationships in the IP Address table as we typically reference these addresses by the inside NAT.

Database changes

None

External dependencies

None

Originally created by @atownson on GitHub (Jul 18, 2022). Originally assigned to: @atownson on GitHub. ### NetBox version v3.2.4 ### Feature type Change to existing functionality ### Proposed functionality Add the nat_outside field (as NAT (Outside)) to the IPAddressTable class [(netbox/netbox/ipam/tables/ip.py).](https://github.com/netbox-community/netbox/blob/develop/netbox/ipam/tables/ip.py#L343) The nat_inside field already exists. ### Use case We manage several DMZs. Adding the nat_outside would help in identifying these relationships in the IP Address table as we typically reference these addresses by the inside NAT. ### Database changes None ### External dependencies None
adam added the status: acceptedtype: feature labels 2025-12-29 19:43:50 +01:00
adam closed this issue 2025-12-29 19:43:50 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 20, 2022):

FYI the nat_outside relationship will return a list of objects in NetBox v3.3 and later (see #1202).

@jeremystretch commented on GitHub (Jul 20, 2022): FYI the `nat_outside` relationship will return a list of objects in NetBox v3.3 and later (see #1202).
Author
Owner

@atownson commented on GitHub (Jul 21, 2022):

Thanks for the info @jeremystretch. Will this new one-to-many relationship cause issues implementing this request, to add the nat_outside field to the list of available columns for the IP Address UI list? If not, I could submit a pull request for this. Thanks.

@atownson commented on GitHub (Jul 21, 2022): Thanks for the info @jeremystretch. Will this new one-to-many relationship cause issues implementing this request, to add the nat_outside field to the list of available columns for the IP Address UI list? If not, I could submit a pull request for this. Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6681