Ubuntu Tailscale VPN + Subnet router
This is a step by step guide to install Tailscale VPN and setup Subnet router on Ubuntu OS. The guide will allow installation on both physical hardware, KVM virtual machine, as well as unprivileged LXC containers.
Ignore the following part if not using LXC containers. Edit the LXC container config file from the host machine. In this example, lets say the LXC container ID is 102.
1 | |
Add at the bottom of the config file:
1 2 | |
This step onward is applicable for all.
Run the following in the machine you are installing Tailscale on to setup the subnets:
1 2 3 | |
Then install tailscale with the following command:
1 | |
Bring up the tailscale with the subnet:
1 | |
Copy the url provided into your browser to login and edit the device to approve the subnet router request.
That's it.