<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tailscale on OHTLY Blog</title>
    <link>https://blog.ohtly.com/tags/tailscale/</link>
    <description>Recent content in Tailscale on OHTLY Blog</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Sun, 14 Jun 2026 23:45:51 +0800</lastBuildDate>
    <atom:link href="https://blog.ohtly.com/tags/tailscale/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Tailscale 快速组网：macOS &#43; Ubuntu 异地直连实战</title>
      <link>https://blog.ohtly.com/posts/2026-06-14-tailscale-ssh/</link>
      <pubDate>Sun, 14 Jun 2026 23:45:51 +0800</pubDate>
      <guid>https://blog.ohtly.com/posts/2026-06-14-tailscale-ssh/</guid>
      <description>&lt;h2 id=&#34;场景&#34;&gt;&#xA;  场景&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e5%9c%ba%e6%99%af&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;家里一台 macOS，办公室局域网内一台 Ubuntu VM。以前要 SSH 访问办公室 VM，需要经过跳板机：&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;macOS → 跳板机 → 办公室内网 → VM&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;步骤繁琐，依赖跳板机在线，而且 scp 传文件要走两跳，速度慢。&lt;/p&gt;&#xA;&lt;p&gt;目标：像在内网一样直接访问。&lt;/p&gt;&#xA;&lt;h2 id=&#34;注册&#34;&gt;&#xA;  注册&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e6%b3%a8%e5%86%8c&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;打开 &lt;a href=&#34;https://tailscale.com&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Tailscale 官网&lt;/a&gt;，用 GitHub 账号授权登录即可。登录后自动创建一个 Tailnet（你的私人网络）。&lt;/p&gt;&#xA;&lt;p&gt;免费版支持 3 个用户、100 台设备，个人使用完全够。&lt;/p&gt;&#xA;&lt;h2 id=&#34;macos-安装&#34;&gt;&#xA;  macOS 安装&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#macos-%e5%ae%89%e8%a3%85&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew install --cask tailscale&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;安装后启动，菜单栏出现 Tailscale 图标。点击登录，浏览器打开认证页面，选择 GitHub 账号授权，几秒钟就加入 Tailnet 了。&lt;/p&gt;&#xA;&lt;h2 id=&#34;ubuntu-server-安装&#34;&gt;&#xA;  Ubuntu Server 安装&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#ubuntu-server-%e5%ae%89%e8%a3%85&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;curl -fsSL https://tailscale.com/install.sh | sudo sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo tailscale up&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;第二条命令会输出一个认证链接，浏览器打开，登录同个 GitHub 账号即可。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
