Tailscale:修订间差异

来自Gea-Suan Lin's Wiki
跳到导航 跳到搜索
此页面具有访问限制。如果您看见此消息,则说明您没有权限访问此页面。
无编辑摘要
第5行: 第5行:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/$(lsb_release -c -s).noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg > /dev/null; curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/$(lsb_release -c -s).tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list; sudo apt update; sudo apt install -y tailscale; sudo apt clean
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/$(lsb_release -c -s).noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg > /dev/null; curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/$(lsb_release -c -s).tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list; sudo apt update; sudo apt install -y tailscale; sudo apt clean
</syntaxhighlight>
== 設定 ==
啟動順便宣告為出口節點:
<syntaxhighlight lang="bash">
sudo tailscale up --advertise-exit-node
</syntaxhighlight>
</syntaxhighlight>



2023年3月31日 (五) 19:20的版本

Tailscale是一个结合WireGuardVPN服务。

安装

curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/$(lsb_release -c -s).noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg > /dev/null; curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/$(lsb_release -c -s).tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list; sudo apt update; sudo apt install -y tailscale; sudo apt clean

设定

启动顺便宣告为出口节点:

sudo tailscale up --advertise-exit-node

外部连结