How to connect your KVM to your self-hosted Netbird

As of Firmware v1.9.2 release1 GL-iNet KVMs support Netbird, however the default config is set to use login.netbird.io and does not prompt you for your own server’s FQDN.

To fix this, log in to your KVM, go to Accessories, then Terminal.

Enter the following:

cd /var/lib/netbird

nano default.json

Now update the Host section for both the Management URL and the Admin URL, replacing api.netbird.io and app.netbird.io with your server’s FQDN (i.e. netbird.mynode.cc).

Once complete, press Control + X, then y, then enter.

You can now exit the terminal.

Back in your KVM, navigate to App Center and enable Netbird. Once it is enabled, you should see a URL appear that says “bind”. Click that and you should be taken to your Netbird server’s login page to add the device.

I personally disabled the session expiration token on mine as I don’t want to have to keep repeating the setup, but you decide how you want to handle that.

Hope this helps someone!

2 Likes

thanks for the help!

i came here to ask how to use self-hosted with netbird!

it seems GLiNet have overlooked the fact netbird is self hosted!?

so they need to simply add a box underneath which lets you set the url of your server,
then when you change that box it changes the .json file