Prefix-to-prefix and Prefix-to-IP NAT #9882

Closed
opened 2025-12-29 21:23:57 +01:00 by adam · 3 comments
Owner

Originally created by @mlazzarotto on GitHub (Jun 21, 2024).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.7.4

Feature type

Data model extension

Proposed functionality

I propose to extend the functionality of NAT. Permit NAT association prefix-to-prefix and prefix-to-IP.

Use case

Use case 1

NATing outbound traffic with a specific IP address, so LAN network will have a PAT for Internet access.
Example: NAT 10.0.0.0/24 (LAN) to 111.122.133.144/32 (WAN IP address of the firewall).

Use case 2

NATing subnet to subnet, for example in a VPN where local subnet would conflict with remote subnet (or the opposite).
Example: LAN is 10.0.0.0/24, remote peer's LAN is also 10.0.0.0/24. NATing remote network 10.0.0.0/24 to 192.168.0.0/24

Database changes

No response

External dependencies

No response

Originally created by @mlazzarotto on GitHub (Jun 21, 2024). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.7.4 ### Feature type Data model extension ### Proposed functionality I propose to extend the functionality of NAT. Permit NAT association prefix-to-prefix and prefix-to-IP. ### Use case #### Use case 1 NATing outbound traffic with a specific IP address, so LAN network will have a PAT for Internet access. **Example**: NAT 10.0.0.0/24 (LAN) to 111.122.133.144/32 (WAN IP address of the firewall). #### Use case 2 NATing subnet to subnet, for example in a VPN where local subnet would conflict with remote subnet (or the opposite). **Example**: LAN is 10.0.0.0/24, remote peer's LAN is also 10.0.0.0/24. NATing remote network 10.0.0.0/24 to 192.168.0.0/24 ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurepending closurestatus: revisions needed labels 2025-12-29 21:23:57 +01:00
adam closed this issue 2025-12-29 21:23:57 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jun 21, 2024):

Thank you for your interest in extending NetBox. Unfortunately, the information you have provided does not constitute an actionable feature request. Per our contributing guide, a feature request must include a thorough description of the proposed functionality, including any database changes, new views or API endpoints, and so on. It must also include a detailed use case justifying its implementation. If you would like to elaborate on your proposal, please modify your post above. If sufficient detail is not added, this issue will be closed.

@jeremystretch commented on GitHub (Jun 21, 2024): Thank you for your interest in extending NetBox. Unfortunately, the information you have provided does not constitute an actionable feature request. Per our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md), a feature request must include a thorough description of the proposed functionality, including any database changes, new views or API endpoints, and so on. It must also include a detailed use case justifying its implementation. If you would like to elaborate on your proposal, please modify your post above. If sufficient detail is not added, this issue will be closed.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 29, 2024):

This is a reminder that additional information is needed in order to further triage this issue. If the requested details are not provided, the issue will soon be closed automatically.

@github-actions[bot] commented on GitHub (Jun 29, 2024): This is a reminder that additional information is needed in order to further triage this issue. If the requested details are not provided, the issue will soon be closed automatically.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 7, 2024):

This issue is being closed as no further information has been provided. If you would like to revisit this topic, please first modify your original post to include all the requested detail, and then ask that the issue be reopened.

@github-actions[bot] commented on GitHub (Jul 7, 2024): This issue is being closed as no further information has been provided. If you would like to revisit this topic, please first modify your original post to include all the requested detail, and then ask that the issue be reopened.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9882