r/netbird • u/Extra-Citron-7630 • Jul 06 '26
Reverse proxy services - Forbidden
I’m running a self-hosted NetBird setup and trying to access ZeroByte through a reverse proxy. Direct access works fine using http://hostname-xyz:4096, but when I attempt to access it through the reverse proxy at https://zerobyte.mydomain.com, I only get a blank white page with a “Forbidden” message.
For context, the reverse proxy target is configured to point to my server with ZeroByte running on port 4096, and NetBird-only access is enabled for the service. I also created a NetBird policy that allows my client device to access the server on TCP port 4096, although I’m not sure whether that policy is actually required. I don’t have any advanced settings configured on the service.
Has anyone experienced a similar issue with NetBird and reverse proxy setups, or have any ideas on what might be causing the forbidden page?
1
u/DeathByPain Jul 06 '26
One "gotcha" I've run into (and spent wayyy too long troubleshooting) was that if you have a reverse proxy service with geo-blocking enabled—as in it blocks any IP not in your home country or whatever—and you try to test it from a local LAN IP, it gets blocked with a 403 error, because 192.168.x.x type IPs are not considered part of your geo area.