「Tailscale」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要 |
|||
第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是一個結合WireGuard的VPN服務。
安裝
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
外部連結
- 官方網站 (英文)