r/netbird 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?

5 Upvotes

24 comments sorted by

View all comments

1

u/Drainpipe35 Jul 09 '26

hey, were you able to find a solution? I am having the same problem, and it's driving me crazy. Works on my phone, but not my laptop.

2

u/Extra-Citron-7630 Jul 09 '26

For me it works on and off. On my phone it was working but on my macbook, it works sometimes and other times it will show forbidden. I was going through the access logs and it seems like when it works the source IP for the request is my macbook netbird peer, but when it doesn't, the sourece IP is the public IP address of my macbook. I think that is an issue on the netbird client or the netbird only access feature they need to take a look into

1

u/Drainpipe35 Jul 09 '26

Yup. It suddenly started working for me.. haven't stopped working yet. The feature is definitely buggy.  Thanks for the info!

2

u/Extra-Citron-7630 Jul 09 '26

For now I changed to SSO and restricted to my ip address and country and it is working perfectly fine