Add "Local Only" Option for Services #1746

Closed
opened 2025-12-29 16:34:56 +01:00 by adam · 4 comments
Owner

Originally created by @vandlol on GitHub (May 24, 2018).

[ x] Feature request
[ ] Bug report
[ ] Documentation

I would love to have a Local Only bool for Device Services.
I have a lot of Servers with localhost only services which need to be registered.
But to achieve this i'd have to assign a localhost interface + localhost ips to each and every server - is this the intended way?
This would make a great addition to "All IPs", "Specific IPs Only"

Originally created by @vandlol on GitHub (May 24, 2018). [ x] Feature request <!-- An enhancement of existing functionality --> [ ] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> I would love to have a Local Only bool for Device Services. I have a lot of Servers with localhost only services which need to be registered. But to achieve this i'd have to assign a localhost interface + localhost ips to each and every server - is this the intended way? This would make a great addition to "All IPs", "Specific IPs Only"
adam closed this issue 2025-12-29 16:34:56 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 18, 2018):

What is your motivation behind recording services which are only locally-accessible in NetBox?

@jeremystretch commented on GitHub (Jul 18, 2018): What is your motivation behind recording services which are only locally-accessible in NetBox?
Author
Owner

@pm17788 commented on GitHub (Jul 18, 2018):

@jeremystretch: Mine is that it give my monitoring system information about what sockets should be open on the host when I run something like netstat -ntap

@pm17788 commented on GitHub (Jul 18, 2018): @jeremystretch: Mine is that it give my monitoring system information about what sockets should be open on the host when I run something like `netstat -ntap`
Author
Owner

@vandlol commented on GitHub (Jul 19, 2018):

I try to use netbox as a transparent documentation.
I have apache running locally on a lot of maschines and other services redirecting to this locally running instance.

@vandlol commented on GitHub (Jul 19, 2018): I try to use netbox as a transparent documentation. I have apache running locally on a lot of maschines and other services redirecting to this locally running instance.
Author
Owner

@jeremystretch commented on GitHub (Aug 7, 2018):

If you need to model services which are only locally accessible, the canonical approach would be to create lo0 or its analog, assign it 127.0.0.1/8 and/or ::1/128, and assign the local services to those IPs. Granted, this is more work, but that's how the services operate in reality, so that's how we'd model them in NetBox.

@jeremystretch commented on GitHub (Aug 7, 2018): If you need to model services which are only locally accessible, the canonical approach would be to create `lo0` or its analog, assign it `127.0.0.1/8` and/or `::1/128`, and assign the local services to those IPs. Granted, this is more work, but that's how the services operate in reality, so that's how we'd model them in NetBox.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1746