Skip to content

Wrong Host IP displayed for Netbird Peer if netbird peer is the management host machine #5619

@venerablemushroom

Description

@venerablemushroom

Describe the problem

Machine A hosts the Netbird Management and Dashboard, when setting up machine A as a netbird peer, the host ip displayed in the Netbird dashboard is wrong. It is not the globally routable ipv4 of the machine (vps) but the ip of something in the docker compose network(?)

To Reproduce

Steps to reproduce the behavior:

  1. Setup netbird dashboard's host machine as a netbird peer
  2. Check the Host IP under Peers
  3. Notice that it is in the 172.16.0.0/12 range which is the subnet picked by the docker compose network instead of the globally routable ipv4.

Expected behavior
The globally routable ipv4 is displayed as host machine ip

Are you using NetBird Cloud?
Self-Hosted Netbird

NetBird version
Client: 0.66.4
Dashboard: 2.34.2
Management: 0.66.4

Is any other VPN software installed?
No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions