Allow IP have multiple NAT inside IPs #8203

Closed
opened 2025-12-29 20:33:46 +01:00 by adam · 2 comments
Owner

Originally created by @jsalatiel on GitHub (Jun 17, 2023).

NetBox version

v3.5.3

Feature type

New functionality

Proposed functionality

For those who have just a few public IPs, you usually need to have the same public IP having multiple NAT inside IPs in different ports. Eg.
External IP 1.1.1.1:80 nat inside for 172.16.1.1:80
External IP 1.1.1.1:21 nat inside for 172.16.1.13:21
External IP 1.1.1.1:2222 nat inside for 172.16.1.21:22

Currently that can not be documented on netbox.

Use case

It would be possible to truly document the public ip to multiple private ip mapping.

Database changes

Probably the nat inside would require to have a source port (bound to the public ip) , the private IP, and the dst port on the private IP.

Eg:
Public IP: 1.1.1.1
Nat Inside as a map list:

  • { srcPort: 80 , internalIP: 172.16.1.1, dstPort: 80 }
  • { srcPort: 21 , internalIP: 172.16.1.13, dstPort: 21 }
  • { srcPort: 2222 , internalIP: 172.16.1.21, dstPort: 22 }

External dependencies

No response

Originally created by @jsalatiel on GitHub (Jun 17, 2023). ### NetBox version v3.5.3 ### Feature type New functionality ### Proposed functionality For those who have just a few public IPs, you usually need to have the same public IP having multiple NAT inside IPs in different ports. Eg. External IP 1.1.1.1:80 nat inside for 172.16.1.1:80 External IP 1.1.1.1:21 nat inside for 172.16.1.13:21 External IP 1.1.1.1:2222 nat inside for 172.16.1.21:22 Currently that can not be documented on netbox. ### Use case It would be possible to truly document the public ip to multiple private ip mapping. ### Database changes Probably the nat inside would require to have a source port (bound to the public ip) , the private IP, and the dst port on the private IP. Eg: Public IP: 1.1.1.1 Nat Inside as a map list: - { srcPort: 80 , internalIP: 172.16.1.1, dstPort: 80 } - { srcPort: 21 , internalIP: 172.16.1.13, dstPort: 21 } - { srcPort: 2222 , internalIP: 172.16.1.21, dstPort: 22 } ### External dependencies _No response_
adam added the type: featurepending closure labels 2025-12-29 20:33:46 +01:00
adam closed this issue 2025-12-29 20:33:46 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 3, 2023):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Oct 3, 2023): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Nov 2, 2023):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Nov 2, 2023): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8203