[GH-ISSUE #5330] Reverse Proxy - expose services from peers localhost #11213

Open
opened 2026-08-05 01:28:55 -04:00 by saavagebueno · 4 comments
Owner

Originally created by @ben-ba on GitHub (Feb 14, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5330

Is your feature request related to a problem? Please describe.
The new reverse proxy let us securely expose services, as long as they are accessible over the vpn.

Now, if you have services on the netbird server itself, you have no simple way to expose them.
(Or any other system when the service is exposed to 0.0.0.0 and the system is directly reachable from the internet)

Describe the solution you'd like
Bind a service to the localhost like 127.0.0.1:8080, then let us select the peer in the reverse proxy as destination, maybe like peerXY-localhost or something like that

Describe alternatives you've considered
Instead of binding the service to localhost, i bind it to the vpn address of the agent like 100.97.0.3:8080

Additional context
none

Originally created by @ben-ba on GitHub (Feb 14, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5330 **Is your feature request related to a problem? Please describe.** The new reverse proxy let us securely expose services, as long as they are accessible over the vpn. Now, if you have services on the netbird server itself, you have no simple way to expose them. (Or any other system when the service is exposed to 0.0.0.0 and the system is directly reachable from the internet) **Describe the solution you'd like** Bind a service to the localhost like 127.0.0.1:8080, then let us select the peer in the reverse proxy as destination, maybe like peerXY-localhost or something like that **Describe alternatives you've considered** Instead of binding the service to localhost, i bind it to the vpn address of the agent like 100.97.0.3:8080 **Additional context** none
saavagebueno added the feature-request label 2026-08-05 01:28:55 -04:00
Author
Owner

@Skinner927 commented on GitHub (Mar 9, 2026):

Run a service peer on your netbird host

<!-- gh-comment-id:4028186609 --> @Skinner927 commented on GitHub (Mar 9, 2026): Run a service peer on your netbird host
Author
Owner

@ben-ba commented on GitHub (Mar 10, 2026):

thanks for the answer @Skinner927 , but i want a declarative configuration.

<!-- gh-comment-id:4029420687 --> @ben-ba commented on GitHub (Mar 10, 2026): thanks for the answer @Skinner927 , but i want a declarative configuration.
Author
Owner

@danielniccoli commented on GitHub (May 28, 2026):

Hi @ben-ba, just found this issue. I'm not sure if I'm describing the same use case as you. Can you take a look? #5643

<!-- gh-comment-id:4566241283 --> @danielniccoli commented on GitHub (May 28, 2026): Hi @ben-ba, just found this issue. I'm not sure if I'm describing the same use case as you. Can you take a look? #5643
Author
Owner

@si458 commented on GitHub (Jun 16, 2026):

@Skinner927 can you explain it a little more?
i have a similar issue
i have code-server running on 127.0.0.1:8080 on a remote machine that has netbird installed
but when i create the service and select the server as the peer, its still trying to connect to the netbird ip
where i would like netbird to forward the traffic over netbird to the remote machine then to 127.0.0.1

<!-- gh-comment-id:4717073254 --> @si458 commented on GitHub (Jun 16, 2026): @Skinner927 can you explain it a little more? i have a similar issue i have code-server running on 127.0.0.1:8080 on a remote machine that has netbird installed but when i create the service and select the server as the peer, its still trying to connect to the netbird ip where i would like netbird to forward the traffic over netbird to the remote machine then to 127.0.0.1
Sign in to join this conversation.
No Label feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#11213