Is it possible to use tailscale
with WSL? I want to set up a private network, which includes a WSL system, and serve jupyter notebooks
to any device within the private network. I want to refer to the notebook's server using an ip address or DNS name.
Asked
Active
Viewed 1,427 times
0

BSalita
- 8,420
- 10
- 51
- 68
1 Answers
1
Tailscale works with WSL using the following steps:
- In WSL, create a unique
hostname
e.g.hostname my-systemname-wsl-ubuntu-20-04
. Restart WSL terminals. - Follow tailscale's Linux installation instructions.
- I recommend turning on tailscale's DNS feature.
- Verify that $HOSTNAME is listed in https://tailscale.com/admin.
- Make sure you can ping hostname from other network devices.
- In a WSL terminal:
sudo tailscaled
- In another WSL terminal:
sudo tailscale up
. - Start jupyter notebook:
jupyter notebook --ip $HOSTNAME
- Access notebook from any device's browser: https://my-systemname-wsl-ubuntu-20-04:8888

BSalita
- 8,420
- 10
- 51
- 68