Describe the problem
Hello,
I selfhost netbird and I use the reverse proxy. I configured the urls to be accessible only in France. The issue is when I try to connect to service at home, I have the IP 192.168.1.254, which is not France, and I receive a Forbidden response.
Here the logs
netbird-proxy] 2026-03-26T05:26:19.895Z DEBG proxy/internal/auth/middleware.go:100: checking authentication for host: music.netbird.mydomain.fr, exists: true
[netbird-proxy] 2026-03-26T05:26:19.896Z DEBG proxy/internal/auth/middleware.go:201: IP restriction: country_restricted for 192.168.1.254:60856
To Reproduce
Steps to reproduce the behavior:
- Configure geo blocking on a service
- Allow only your country
- Connect to the service at home
- See error
Expected behavior
I expect to access my service when I am at home.
The existing geoblocking middleware in traefik plugins allows to specify ip and ip range to bypass the geo blocking restrictions, it should be great to have the same with an env variable for example?
I can't apply geoblocking by country if I can't access services at home.
Are you using NetBird Cloud?
Self-host NetBird's control plane.
NetBird version
0.67.0
NetBird status -d output:
If applicable, add the `netbird status -d' command output.
Screenshots

Additional context
Add any other context about the problem here.
Describe the problem
Hello,
I selfhost netbird and I use the reverse proxy. I configured the urls to be accessible only in France. The issue is when I try to connect to service at home, I have the IP 192.168.1.254, which is not France, and I receive a Forbidden response.
Here the logs
netbird-proxy] 2026-03-26T05:26:19.895Z DEBG proxy/internal/auth/middleware.go:100: checking authentication for host: music.netbird.mydomain.fr, exists: true
[netbird-proxy] 2026-03-26T05:26:19.896Z DEBG proxy/internal/auth/middleware.go:201: IP restriction: country_restricted for 192.168.1.254:60856
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect to access my service when I am at home.
The existing geoblocking middleware in traefik plugins allows to specify ip and ip range to bypass the geo blocking restrictions, it should be great to have the same with an env variable for example?
I can't apply geoblocking by country if I can't access services at home.
Are you using NetBird Cloud?
Self-host NetBird's control plane.
NetBird version
0.67.0
NetBird status -d output:
If applicable, add the `netbird status -d' command output.
Screenshots
Additional context
Add any other context about the problem here.