netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
10.58k stars 473 forks source link

Cannot access servers hosted on Peer from Public IP #2468

Open ghaisasadvait opened 3 weeks ago

ghaisasadvait commented 3 weeks ago

I have a peer which is connected to my self hosted Netbird server. When I ping from the client machine to other peers, it is a successful ping. I have also hosted a webserver on the client machine. AS soon as I connect to the netbird server, the client machine stops responding to requests made to the web server via the public IP.

I am aware the I can access the web server using the internal IP, but I also want that server to be accessible publicly

ghaisasadvait commented 3 weeks ago

I have a peer which is connected to my self hosted Netbird server. When I ping from the client machine to other peers, it is a successful ping. I have also hosted a webserver on the client machine. AS soon as I connect to the netbird server, the client machine stops responding to requests made to the web server via the public IP.

I am aware the I can access the web server using the internal IP, but I also want that server to be accessible publicly

Following is my network Diagram for reference:

image