Netbird connection relayed between VMs in Proxmox (and also to/from some hosts on the same LAN)
Describe the problem
Instead of P2P connection, I get relayed Netbird connections between VMs (TurnKey Linux) running in the same Proxmox hosts. This also happens for some (random) hosts on the same LAN.
I have netbird running in 2 VPS outside the LAN, but the Netbird connection between these and my VMs is P2P though.
This confuses me.
I hve no firewalls running in the VMs.
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
P2P connections
NetBird version, Netbird Status and Screenshots
All running 0.49
Attaching the netbird status -d command from one of the VMs (portainer) as well as from one of the VPS (rlz2)
Additional context
Add any other context about the problem here. The more information we have, the easier it is to help you!
4 Replies
Open inbound UDP 51820
(not necessarily on all hosts, only the central one)
Thanks, yes this seems to be the issue. Proxmox is, for some reason, blocking UDP traffic to the VMs. Verified with tcpdump that nothing is coming through. Will be researching for a solution.
A little bit of progress here. On my proxmox host, which is also running netbird and assigned as routing peer, I switched off masquerading in the Netbird admin. This has resolved the relayed connectivity in between the proxmox VMs (portainer and nextcloud in the logs).
However, I still have the Rock4 client, a separate host on the same network, getting relayed connection to the 2 VMs.
Continuing troubleshooting.
client.log reports warnings that ipset could not be found. installed it, did not make any difference, except that error is gone. continuing.
Removed and reinstalled netbird. Problem still the same. Maybe I'm missing something... Created a debug bundle and found this. Seems to be some problem to flush firewall rules. Maybe normal, But idk.
Logs
Being very confused about this, I decided to completely re-install the problematic client (a Radxa Rock 4SE SBC running Debian) from scratch, including the OS.
Netbird is now P2P connected to all other peers.
Worked for a day, now back to relayed connection. I'm giving up.