Netbird + Zitadel Installation via Script behind an Nginx Proxy Manager

Hello everyone! I’m creating this post to see if anyone can help me with this. I tried to install Netbird self-hosted following the documentation: Self-hosting quickstart guide (5 min) - NetBird Docs within the company itself, but in our case, ports 80 and 443 are being occupied by an Nginx Proxy Manager that manages all our connections on the single valid IP we have from each provider.

When I tried to run the script: export NETBIRD_DOMAIN=netbird.client.com.br; curl -fsSL https://github.com/netbirdio/netbird/releases/latest/download/getting-started-with-zitadel.sh | bash

It didn’t complete the installation because it gave an error generating the certificate through Caddy.

I’d like to ask my friends if there’s a way, using this simplified installation script, to use Nginx Proxy Manager as a reverse proxy and have Netbird use a self-signed certificate, so I don’t need to hire a VPS from elsewhere?

I ask this because I’m in Brazil, and when I set up a VPS on Hetzner in the US, the ping between peers through the tunnel was between 270ms and 350ms, while the ping from my computer to Netbird is around 130-140ms.

I appreciate any advice you can give.

You’ll have to use:

Furthermore, the configure.sh will give you information about the proxy settings, and you’ll additionally have to change some files (like the docker compose) for Netbird to function on port 443 while the service itself still runs on it’s original port.

Thanks a lot! I’ll try to run some tests this weekend if I can find the time. Now that I see Netbird solves my problem, I’m going to try to find a way to keep it behind a reverse proxy — otherwise I’ll have to look for a decent VPS in Brazil with a reasonable price (which is hard… lol) and run Netbird there as a relay.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.