如何在 XCP-NG 主机上安装 tailscale

通过在 XCP-NG 主机上安装 tailscale,你可以使用 VPN 更轻松地访问虚拟化主机。

在 XCP-NG 主机上以 root 身份通过 SSH 运行以下命令:

install_tailscale.sh
sudo yum-config-manager --add-repo https://pkgs.tailscale.com/stable/centos/7/tailscale.repo
sudo yum -y install tailscale

并启用和启动 tailscale 守护进程 tailscaled

enable_tailscale.sh
systemctl enable --now tailscaled

Check out similar posts by category: Headscale, Networking, Virtualization, VPN