proxy peers FQDN in the management server #570

Closed
opened 2025-11-20 05:13:59 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @magixus on GitHub (Jan 5, 2024).

Is your feature request related to a problem? Please describe.

Well, although it's not a problem yet but it's wasn't clear to me when I had my first impression with Netbird.
I have a self-hosted netbird install with Zitadel, I have configured a bunch of peers, and they seem to connect to each other via domain name/IP. all worked as expected. nothing wrong.

image

my domain is : eu-vpn.domain.ltd
I have added a wildcard CNAME in my DNS zone as : *.eu-vpn.domain.ltd CNAME eu-vpn.domain.ltd. in the hope that each peer FQDN would resolve to its instance.

But I think (I could be wrong) Netbird is not designed in such way ? isn't ?

Describe the solution you'd like
I would like to be able to reach peers from internet using their FQDN, and not only between peers.

Describe alternatives you've considered
still looking for a workaround

Originally created by @magixus on GitHub (Jan 5, 2024). **Is your feature request related to a problem? Please describe.** Well, although it's not a problem yet but it's wasn't clear to me when I had my first impression with Netbird. I have a self-hosted netbird install with Zitadel, I have configured a bunch of peers, and they seem to connect to each other via domain name/IP. all worked as expected. nothing wrong. ![image](https://github.com/netbirdio/netbird/assets/7642058/1b2b8fbe-0e72-4cf2-806a-ed4c61861922) my domain is : `eu-vpn.domain.ltd` I have added a wildcard CNAME in my DNS zone as : `*.eu-vpn.domain.ltd CNAME eu-vpn.domain.ltd.` in the hope that each peer FQDN would resolve to its instance. But I think (I could be wrong) Netbird is not designed in such way ? isn't ? **Describe the solution you'd like** I would like to be able to reach peers from internet using their FQDN, and not only between peers. **Describe alternatives you've considered** still looking for a workaround
saavagebueno added the question label 2025-11-20 05:13:59 -05:00
Author
Owner

@surik commented on GitHub (Jan 8, 2024):

Hi @magixus, just to confirm do you want to be able to access private NetBird peers using their private IPs from other machines on the Internet that don't have the NetBird network? I'm afraid that this is not how it is designed right now as this is P2P mesh VPN. If you can describe your use-case we may try to find a workaround.

@surik commented on GitHub (Jan 8, 2024): Hi @magixus, just to confirm do you want to be able to access private NetBird peers using their private IPs from other machines on the Internet that don't have the NetBird network? I'm afraid that this is not how it is designed right now as this is P2P mesh VPN. If you can describe your use-case we may try to find a workaround.
Author
Owner

@magixus commented on GitHub (Jan 8, 2024):

Hi @surik , Not exactly using Netbird peers' private IP but their address names.

Use case

Connect multiple edge devices (SBCs {raspberry pi mainly}) to the Netbird network. These SBCs act as an NVR and cameras gateway. I want to be able to reach each camera behind the SBC using peers FQDN like (edge-xxxxx.netbird.selfhosted/cam1 .../cam2 .../rtsp1 ...etc)
of course I have a reverse proxy installed in each SBC/peer to proxy each path (/camx) to its respective camera/device.
in general use case, I can configure different proxy_pass in my peers to reach various services behind them. like (RTSP, RTMP, WS ...etc)

@magixus commented on GitHub (Jan 8, 2024): Hi @surik , Not exactly using Netbird peers' private IP but their address names. ### Use case Connect multiple edge devices (SBCs {raspberry pi mainly}) to the Netbird network. These SBCs act as an NVR and cameras gateway. I want to be able to reach each camera behind the SBC using peers FQDN like (edge-xxxxx.netbird.selfhosted/cam1 .../cam2 .../rtsp1 ...etc) of course I have a reverse proxy installed in each SBC/peer to proxy each path (/camx) to its respective camera/device. in general use case, I can configure different proxy_pass in my peers to reach various services behind them. like (RTSP, RTMP, WS ...etc)
Author
Owner

@surik commented on GitHub (Jan 8, 2024):

Ok, I see. Unfortunately, this is how it is designed right now. The edge-xxxxx.netbird.selfhosted is only accessible from the NetBird network. So to access that the client needs to have netbird agent up and running.

@surik commented on GitHub (Jan 8, 2024): Ok, I see. Unfortunately, this is how it is designed right now. The `edge-xxxxx.netbird.selfhosted` is only accessible from the NetBird network. So to access that the client needs to have netbird agent up and running.
Author
Owner

@magixus commented on GitHub (Jan 8, 2024):

Thanks for confirming, that's what I thought. Would be interesting to see a workaround though

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Yury Gargay @.>
Sent: Monday, January 8, 2024 3:23:45 PM
To: netbirdio/netbird @.
>
Cc: Oussama Boumaad @.>; Mention @.>
Subject: Re: [netbirdio/netbird] proxy peers FQDN in the management server (Issue #1436)

Ok, I see. Unfortunately, this is how it is designed right now. The edge-xxxxx.netbird.selfhosted is only accessible from the NetBird network. So to access that the client needs to have netbird agent up and running.


Reply to this email directly, view it on GitHubhttps://github.com/netbirdio/netbird/issues/1436#issuecomment-1881108494, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB2JXSQZNNNF7HCHDFGMAIDYNP6PDAVCNFSM6AAAAABBOJUE4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRGEYDQNBZGQ.
You are receiving this because you were mentioned.Message ID: @.***>

@magixus commented on GitHub (Jan 8, 2024): Thanks for confirming, that's what I thought. Would be interesting to see a workaround though Get Outlook for Android<https://aka.ms/AAb9ysg> ________________________________ From: Yury Gargay ***@***.***> Sent: Monday, January 8, 2024 3:23:45 PM To: netbirdio/netbird ***@***.***> Cc: Oussama Boumaad ***@***.***>; Mention ***@***.***> Subject: Re: [netbirdio/netbird] proxy peers FQDN in the management server (Issue #1436) Ok, I see. Unfortunately, this is how it is designed right now. The edge-xxxxx.netbird.selfhosted is only accessible from the NetBird network. So to access that the client needs to have netbird agent up and running. — Reply to this email directly, view it on GitHub<https://github.com/netbirdio/netbird/issues/1436#issuecomment-1881108494>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB2JXSQZNNNF7HCHDFGMAIDYNP6PDAVCNFSM6AAAAABBOJUE4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRGEYDQNBZGQ>. You are receiving this because you were mentioned.Message ID: ***@***.***>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#570