Skip to main content

Connecting Linux/Windows clients to self-hosted Husarnet Instance

Connecting with self-hosted Husarnet Instance

To do this execute this commands on all of your client hosts:

husarnet setup-server <IP-OF-SELF-HOSTED-INSTANCE> # You can use either IP or domain

Output should look similar to this:

SUCCESS:  Successfully requested a change to <IP-OF-SELF-HOSTED-INSTANCE> server
WARNING: This action requires you to restart the daemon in order to use the new value
Do you want to run: sudo systemctl restart husarnet? [y/N]: Yes
SUCCESS: Waiting until we can communicate with husarnet daemon…

From this moment you should be connected to self-hosted instance. Remember to create network in Husarnet Dashboard and then connect to it as usual.