Installing Tailscale on WSL2

I`m trying to install Tailscale on Ubuntu 20.04 running inside Windows Subsystem for Linux (“WSL2”) in Windows 10, based on the instructions in this article.

sudo tailscaled returns this.

Next, trying to disable IPv6 as suggested in the mentioned article:
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1

Results in:
sysctl: cannot stat /proc/sys/net/ipv6/conf/all/disable_ipv6: No such file or directory

Any idea what might be the issue? Is it possible to resolve it without disabling IPv6?


tailscaled doesn't start under WSL · Issue #562 · tailscale/tailscale · GitHub might help you here.

Thanks, I sent a request in the GitHub issue asking whether the workaround still works for others.