Tailscale
Tailscale is a VPN solution that provides seamless connectivity between devices across different networks without the need for public IP addresses or complicated firewall rules.
By joining a Tailscale network, your router can function as a subnet router, enabling remote access to local resources or securely connecting multiple subnets.
Example of Setting Tailscale
Section titled “Example of Setting Tailscale”Navigate to the router menu: SYSTEM > Terminal. Enter the username root and log in with the password you set.
1. Install Tailscale
Section titled “1. Install Tailscale”All commands are executed in the SYSTEM >Terminal section of the router menu.
opkg updateopkg install tailscale2. Enable the ZeroTier
Section titled “2. Enable the ZeroTier”Enable and start the Tailscale service.
/etc/init.d/tailscale enable/etc/init.d/tailscale start3. Authenticate and Join Network
Section titled “3. Authenticate and Join Network”Use this command to authenticate your device:
tailscale upThis command will generate a URL. Open the URL in your browser and log in with your Tailscale account to authorize the device.
.png)
4. Configure as Subnet Router (Optional)
Section titled “4. Configure as Subnet Router (Optional)”If you need to expose the local subnet through Tailscale, use:
tailscale up --advertise-routers=192.168.30.0/24 --accept-dns=falseReplace 192.168.30.0/24 with your local subnet.
Prevent Tailscale’s DNS Settings from disrupting your local network.
5. Enable Subnet Routes in Admin Console
Section titled “5. Enable Subnet Routes in Admin Console”- Visit the Tailscale Admin Console.
- Go to Machines, locate your router device, and turn on the Subnet routes option.
.png)
.png)
After completing the above settings, we can connect the remote device to the router and to the devices connected to it.
