[GH-ISSUE #2040] Self Hosted Version doesnt report client IP (<nil>) #4103

Closed
opened 2026-08-05 00:55:55 -04:00 by saavagebueno · 6 comments
Owner

Originally created by @R-Nabil on GitHub (May 23, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2040

I've followed the 5 minutes guide for setting up Netbird. I do get access to the management interface and zitadel, and my clients are able to connect to the management interface.

However, all of them show an IP of .

I suspect that for that reason, I can't create direct P2P connection between my clients (despite appropriate firewall rules)

I've tested the same setup with the cloud version of Netbird, and ofc, IP is displayed and works well

Screenshot 2024-05-23 at 11 48 08 PM

FYI, this is done on Oracle Cloud VPS. And the VM there has the following IP Tables Rules :

Screenshot 2024-05-23 at 11 49 30 PM
Originally created by @R-Nabil on GitHub (May 23, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2040 I've followed the 5 minutes guide for setting up Netbird. I do get access to the management interface and zitadel, and my clients are able to connect to the management interface. However, all of them show an IP of <nil>. I suspect that for that reason, I can't create direct P2P connection between my clients (despite appropriate firewall rules) I've tested the same setup with the cloud version of Netbird, and ofc, IP is displayed and works well <img width="557" alt="Screenshot 2024-05-23 at 11 48 08 PM" src="https://github.com/netbirdio/netbird/assets/67181534/5d10140a-1842-45ed-855a-979c27de5b1f"> FYI, this is done on Oracle Cloud VPS. And the VM there has the following IP Tables Rules : <img width="670" alt="Screenshot 2024-05-23 at 11 49 30 PM" src="https://github.com/netbirdio/netbird/assets/67181534/1e81adbe-dd2d-44f4-a883-b2fe4388d5e7">
saavagebueno added the waiting-feedbacktriage-neededself-hosting labels 2026-08-05 00:55:55 -04:00
Author
Owner

@mlsmaycon commented on GitHub (May 23, 2024):

Hello @R-Nabil it seems like you have two issues. For the first one where you have no connection IP set, can you please share the output of the following command?

docker inspect netbirdio/management:latest | grep -i version

And for the peer connectivity, can see if this guide helps you? https://docs.netbird.io/selfhosted/selfhosted-guide#oracle-cloud-infrastructure-oci

Otherwise, can you run the following checks too https://docs.netbird.io/selfhosted/troubleshooting ?

<!-- gh-comment-id:2127732375 --> @mlsmaycon commented on GitHub (May 23, 2024): Hello @R-Nabil it seems like you have two issues. For the first one where you have no connection IP set, can you please share the output of the following command? ``` docker inspect netbirdio/management:latest | grep -i version ``` And for the peer connectivity, can see if this guide helps you? https://docs.netbird.io/selfhosted/selfhosted-guide#oracle-cloud-infrastructure-oci Otherwise, can you run the following checks too https://docs.netbird.io/selfhosted/troubleshooting ?
Author
Owner

@R-Nabil commented on GitHub (May 23, 2024):

Hey,

Not sure what fixed what, but thank you all is working !
The version was 0.27.7, which i've upgraded to 0.27.9.

Opening th mentioned port seems to have help as well !

Thanks !

May I follow up with some question ? Why is that port necessary when the 51820 port is already opened at the destination client ? Ie my ACL only allows peers to connect to one client (desktop) which has port forward and appropriate firewall rules. I thought COTURN would only be needed in case of NAT or more restrictive firewall)

<!-- gh-comment-id:2128199356 --> @R-Nabil commented on GitHub (May 23, 2024): Hey, Not sure what fixed what, but thank you all is working ! The version was 0.27.7, which i've upgraded to 0.27.9. Opening th mentioned port seems to have help as well ! Thanks ! May I follow up with some question ? Why is that port necessary when the 51820 port is already opened at the destination client ? Ie my ACL only allows peers to connect to one client (desktop) which has port forward and appropriate firewall rules. I thought COTURN would only be needed in case of NAT or more restrictive firewall)
Author
Owner

@R-Nabil commented on GitHub (May 24, 2024):

I'm still playing with netbird, so i've removed it and reinstalled it from scratch... and i'm back with the same issue of IP missing (displayed as ). Connection P2P is fine though.

I've seen few issues in the log about GeoIP. I've noticed download from my VPS were extremely slow. Could a failure of that download trigger issues with the IP detection (GUI only I mean)?

<!-- gh-comment-id:2129942492 --> @R-Nabil commented on GitHub (May 24, 2024): I'm still playing with netbird, so i've removed it and reinstalled it from scratch... and i'm back with the same issue of IP missing (displayed as <nil>). Connection P2P is fine though. I've seen few issues in the log about GeoIP. I've noticed download from my VPS were extremely slow. Could a failure of that download trigger issues with the IP detection (GUI only I mean)?
Author
Owner

@R-Nabil commented on GitHub (May 26, 2024):

I'm still playing with netbird, so i've removed it and reinstalled it from scratch... and i'm back with the same issue of IP missing (displayed as ). Connection P2P is fine though.

I've seen few issues in the log about GeoIP. I've noticed download from my VPS were extremely slow. Could a failure of that download trigger issues with the IP detection (GUI only I mean)?

Just as an update, waiting for few hours (~10hours), and it just came back without any manual intervention.
I strongly believe this is due to the GeoIP database being slow to download, even though i'm not sure why the DB not being available would not display the IP.

<!-- gh-comment-id:2132437444 --> @R-Nabil commented on GitHub (May 26, 2024): > I'm still playing with netbird, so i've removed it and reinstalled it from scratch... and i'm back with the same issue of IP missing (displayed as ). Connection P2P is fine though. > > I've seen few issues in the log about GeoIP. I've noticed download from my VPS were extremely slow. Could a failure of that download trigger issues with the IP detection (GUI only I mean)? Just as an update, waiting for few hours (~10hours), and it just came back without any manual intervention. I strongly believe this is due to the GeoIP database being slow to download, even though i'm not sure why the DB not being available would not display the IP.
Author
Owner

@nazarewk commented on GitHub (Apr 23, 2025):

@R-Nabil is it still an issue for you?

<!-- gh-comment-id:2824616691 --> @nazarewk commented on GitHub (Apr 23, 2025): @R-Nabil is it still an issue for you?
Author
Owner

@mlsmaycon commented on GitHub (Jun 1, 2025):

closing issue due to no recent feedback. Feel free to open a new one if the issue persist or reopen if this was a feature request.

<!-- gh-comment-id:2927892572 --> @mlsmaycon commented on GitHub (Jun 1, 2025): closing issue due to no recent feedback. Feel free to open a new one if the issue persist or reopen if this was a feature request.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#4103