Skip to content

failed to connect to Husarnet control socket, is the daemon running? in wsl2  #1

Open
@abhishekkarigar

Description

@abhishekkarigar

running the following command in wsl2 ( ubuntu 18.04 ) docket desktop for windows

$ sudo docker run --rm -it --env HOSTNAME='docker-vpn-1' --env JOINCODE='fc94:b01d:1803:8dd8:b293:5c7d:7639:932a/xxxxxxxxxxxxxxx' -v docker-vpn-v:/var/lib/husarnet -v /dev/net/tun:/dev/net/tun --cap-add NET_ADMIN --sysctl net.ipv6.conf.all.disable_ipv6=0 docker-vpn

[1/2] Initializing Husarnet Client:
[4583147] failed to connect to Husarnet control socket, is the daemon running?
success

🔥 [2/2] Connecting to Husarnet network as "docker-vpn-1":
[4583152] failed to connect to Husarnet control socket, is the daemon running?
done

[4583205] failed to connect to Husarnet control socket, is the daemon running?


root@019cab72ea90:/# husarnet daemon
iptables: Bad rule (does a matching rule exist in that chain?).
ip6tables v1.8.5 (nf_tables): RULE_APPEND failed (No such file or directory): rule in chain INPUT
[4185439] setting iptables failed
root@019cab72ea90:/#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions