Hello,
I see this has been asked before, but I’m stuck with this as well, wherein when I run: sudo husarnet join $JOINCODE <hostname>, using my joincode and hostname, I get:
UPDATE:
When I try to connect through the websetup by running sudo husarnet websetup and Add Husarnet Device to your account I get an error message saying: Could not connect to your device. Make sure it is running.
UPDATE 2: It works fine, if I run sudo ufw disable , which turns off the firewall, so I guess the issues was with that. Is there any way to allow Husarnet without turning ufw off completely?
Husarnet plugs itself into ip6tables during installation and introduces following rules:
INPUT -s fc94::/16 -i lo -j ACCEPT
INPUT -s fc94::/16 \! -i hnet0 -j DROP
Since you are using ufw, these will be of no effect, because ufw will override them. If using different firewall with Husarnet, you need to specify similar rules in configuration yourself.
Assuming you have outgoing traffic on “allow” (this is the default with ufw), you need also to allow incoming traffic on hnet0 (Husarnet) interface.