Linux启用Tailscale作为VPN

官方脚本安装

curl -fsSL https://tailscale.com/install.sh | sh

使用tailscale up启动默认模式

使用tailscale login来登录,按提示链接登录

使用tailscale up --advertise-exit-node来同时启用出口路由

使用tailscale up –advertise-routes 192.168.100.0/24来同时宣告子网,将192.168.100.0/24换成你需要的网段

使用tailscale up –reset –force重置启动模式

子网和出口路由需要去web管理界面确认