Describe the problem
I set up selfhosted instance on OVH VPS (IP1) and I have 2 LANs that are far away from each other: LAN1 (country 1) and LAN2 (country 2).
I installed few clients in each of the LAN and use them as exit nodes for specific countries.
When I use the exit nodes accordingly, my client on laptop reports correctly the local IP of the country that I use the exit node from (using i.e. myip dot com)
However, in country 1 I have a traefik server and I try to set the IP filtering so that some services are available only from specific origin IP. Unfortunately traefik does NOT see the IP (neither public nor private) of the exit node - it always sees the real IP of the laptop client. That causes problem as IP filtering is not working.
If I use tailscale (and its exit nodes) instead of netbird, traefik sees properly the IP of tailscale exit node. Why is that? I am looking for the solution but I am not able to find it.
To Reproduce
Steps to reproduce the behavior:
- setup netbird server
- setup clients
- setup exit nodes
- etc
Expected behavior
When connecting from laptop (with netbird client) while using exit node, I would expect IP of the exit node (public) instead of origin IP of the laptop
Are you using NetBird Cloud?
no, selfhosted
NetBird version
0.67.1
Is any other VPN software installed?
turned off tailscale but used while comparing the behaviour
Debug output
To help us resolve the problem, please attach the following anonymized status output
Create and upload a debug bundle, and share the returned file key:
netbird debug for 1m -AS -U (not sure what to do with that)
Uploaded files are automatically deleted after 30 days.
Alternatively, create the file only and attach it here manually:
netbird debug for 1m -AS - where and how am I supposed to add the zip file?
Have you tried these troubleshooting steps?
- Reviewed client troubleshooting (if applicable)
- Checked for newer NetBird versions
- Searched for similar issues on GitHub (including closed ones)
- Restarted the NetBird client
- Disabled other VPN software
- Checked firewall settings