PasteFerry (隔空贴): clipboard and file sync across macOS, Windows and Linux. Direct-first, end-to-end encrypted. Optional official access: no server to host. Independent self-hosting remains available.
Dart airdrop-alternativeclipboardclipboard-sharingclipboard-synccopy-pastecross-platformend-to-end-encryptionfile-syncfile-transferfluttergolanglinuxmacosnat-traversalp2pself-hostedtailscaleuniversal-clipboardwebrtcwindows
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<script>
(function () {
if (location.hostname !== "baiyuze.github.io") return;
var prefix = /^\/(?:pasteferry|copysync)(?=\/|$)/.exec(location.pathname);
if (!prefix) return;
var path = location.pathname.slice(prefix[0].length) || "/";
location.replace("https://pasteferry.cc" + path + location.search + location.hash);
})();
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Use PasteFerry across networks with Tailscale: no server, home and office in sync</title>
<meta name="description" content="Install Tailscale on each computer under one account and enter the other computer's Tailscale address when pairing: no public IP, no server and no computer that has to stay on. The clipboard syncs from the office or anywhere else.">
<link rel="canonical" href="https://pasteferry.cc/en/tailscale/">
<link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/tailscale/">
<link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/tailscale/">
<link rel="alternate" hreflang="zh-HK" href="https://pasteferry.cc/zh-hk/tailscale/">
<link rel="alternate" hreflang="en" href="https://pasteferry.cc/en/tailscale/">
<link rel="alternate" hreflang="ja" href="https://pasteferry.cc/ja/tailscale/">
<meta name="theme-color" content="#141416">
<meta property="og:type" content="article">
<meta property="og:site_name" content="PasteFerry">
<meta property="og:title" content="Use PasteFerry across networks with Tailscale: no server, home and office in sync">
<meta property="og:description" content="Install Tailscale on each computer under one account and enter the other computer's Tailscale address when pairing: no public IP, no server and no computer that has to stay on. The clipboard syncs from the office or anywhere else.">
<meta property="og:url" content="https://pasteferry.cc/en/tailscale/">
<meta property="og:image" content="https://pasteferry.cc/assets/og-en.png">
<meta property="og:locale" content="en_US">
<meta name="twitter:card" content="summary_large_image">
<link rel="icon" href="../../assets/favicon.svg?v=df696024d8" type="image/svg+xml">
<link rel="icon" href="../../assets/favicon-32.png?v=8e9afa506d" sizes="32x32" type="image/png">
<link rel="apple-touch-icon" href="../../assets/apple-touch-icon.png?v=bcbf406cb8">
<link rel="stylesheet" href="../../assets/site.css?v=dbae55d27c">
<script>document.documentElement.classList.add("js");if (!/Mac|iPhone|iPad/.test(navigator.platform || navigator.userAgent)) document.documentElement.classList.add("pc");</script>
</head>
<body>
<a class="skip" href="#main">Skip to content</a>
<header class="bar">
<div class="wrap">
<a class="brand" href="../../en/" aria-label="PasteFerry home"><img src="../../assets/icon.svg?v=65a69999e0" alt="" width="26" height="26">PasteFerry</a>
<nav aria-label="Page">
<a href="../../en/features/">Features</a>
<a class="mid" href="../../en/start/">Quick start</a>
<a class="wide" href="../../en/start/#server" aria-current="true">Ways to connect</a>
<a href="../../en/download/">Download</a>
<details class="menu">
<summary aria-label="More pages"><span>More</span><svg class="chev" viewBox="0 0 12 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m3 4.5 3 3 3-3"/></svg></summary>
<ul>
<li class="narrow"><a href="../../en/start/">Quick start</a></li>
<li class="narrow"><a href="../../en/start/#server">Ways to connect</a></li>
<li><a href="../../en/themes/">Themes guide</a></li>
<li><a href="../../en/how/">How it works</a></li>
<li><a href="../../en/security/">Security</a></li>
<li><a href="../../en/faq/">FAQ</a></li>
<li><a href="../../en/feedback/">Discussion & feedback</a></li>
<li class="sep" role="separator"></li>
<li><a href="https://github.com/baiyuze/pasteferry/blob/main/CHANGELOG.md">Changelog</a></li>
<li class="narrow-gh"><a href="https://github.com/baiyuze/pasteferry">GitHub</a></li>
</ul>
</details>
<a class="gh" href="https://github.com/baiyuze/pasteferry" data-gh-stars aria-label="Star PasteFerry on GitHub"><svg class="gh-mark" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg><span class="gh-label">Star</span><span class="gh-count" hidden><svg class="gh-star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 .25a.75.75 0 01.673.418l1.882 3.815 4.21.612a.75.75 0 01.416 1.279l-3.046 2.97.719 4.192a.751.751 0 01-1.088.791L8 12.347l-3.766 1.98a.75.75 0 01-1.088-.79l.72-4.194L.818 6.374a.75.75 0 01.416-1.28l4.21-.611L7.327.668A.75.75 0 018 .25z"/></svg><b></b></span></a>
<details class="lang">
<summary aria-label="Language:English"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><circle cx="10" cy="10" r="7.25"/><path d="M2.75 10h14.5M10 2.75c-2.1 2-3.1 4.4-3.1 7.25s1 5.25 3.1 7.25M10 2.75c2.1 2 3.1 4.4 3.1 7.25s-1 5.25-3.1 7.25"/></svg><span>English</span><svg class="chev" viewBox="0 0 12 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m3 4.5 3 3 3-3"/></svg></summary>
<ul>
<li><a href="../../tailscale/" hreflang="zh-CN" lang="zh-CN" data-lang="zh">简体中文</a></li>
<li><a href="../../zh-tw/tailscale/" hreflang="zh-TW" lang="zh-TW" data-lang="zh-tw">繁體中文(台灣)</a></li>
<li><a href="../../zh-hk/tailscale/" hreflang="zh-HK" lang="zh-HK" data-lang="zh-hk">繁體中文(香港)</a></li>
<li><a href="../../en/tailscale/" hreflang="en" lang="en" data-lang="en" aria-current="page">English</a></li>
<li><a href="../../ja/tailscale/" hreflang="ja" lang="ja" data-lang="ja">日本語</a></li>
</ul>
</details>
</nav>
</div>
</header>
<main id="main">
<section class="hero guide-hero">
<div class="wrap">
<p class="crumb"><a href="../../en/">PasteFerry</a> / <a href="../../en/start/#server">Ways to connect</a></p>
<h1 class="display">Across networks with Tailscale</h1>
<p class="lede">No public IP, and no wish to run a server? Install Tailscale on each computer and enter the other computer's Tailscale address when pairing. Syncs at home and at the office.</p>
<ol class="guide-toc">
<li><a href="#join">Install Tailscale</a></li>
<li><a href="#address">Find the address</a></li>
<li><a href="#pair">Pair</a></li>
<li><a href="#faq">Questions</a></li>
</ol>
</div>
</section>
<section class="section" id="overview" aria-labelledby="overview-title">
<div class="wrap">
<h2 id="overview-title">As if on one LAN</h2>
<p class="intro">Tailscale connects your devices into a private network: every device signed in to the same account gets a fixed address starting with 100, reachable from the others wherever they are. PasteFerry remembers the other computer's address when you pair, and connects as if both were on one network.</p>
<figure class="diagram">
<svg viewBox="0 0 960 330" role="img" aria-labelledby="ts-title ts-desc">
<title id="ts-title">PasteFerry over Tailscale</title>
<desc id="ts-desc">A Mac at the office and a Windows PC at home both run Tailscale and each has an address starting with 100 on the same private network. Copied content goes directly between them; there is no server.</desc>
<rect class="d-ts" x="8" y="8" width="944" height="314" rx="22"/>
<text class="d-ts-label" x="32" y="42">Tailscale network: every device has a 100.x address</text>
<rect class="d-box" x="40" y="100" width="240" height="160" rx="14"/>
<text class="d-title" x="160" y="146" text-anchor="middle">Mac</text>
<text class="d-sub" x="160" y="174" text-anchor="middle">At the office</text>
<text class="d-ip" x="160" y="226" text-anchor="middle">100.88.20.5</text>
<rect class="d-box" x="680" y="100" width="240" height="160" rx="14"/>
<text class="d-title" x="800" y="146" text-anchor="middle">Windows</text>
<text class="d-sub" x="800" y="174" text-anchor="middle">At home</text>
<text class="d-ip" x="800" y="226" text-anchor="middle">100.92.41.17</text>
<path class="d-direct" d="M280 190H680"/>
<text class="d-label" x="480" y="176" text-anchor="middle">Direct, encrypted twice</text>
<text class="d-note" x="480" y="218" text-anchor="middle">Content stays between the two computers</text>
</svg>
</figure>
<ul class="points ports">
<li><strong>No server,</strong> and no computer that has to stay on: two computers that are on and connected to Tailscale sync.</li>
<li><strong>Enter the address once.</strong> A Tailscale address doesn't change; you enter it when pairing and the two computers find each other from then on.</li>
<li><strong>Encrypted twice.</strong> Inside Tailscale's WireGuard tunnel runs PasteFerry's own end-to-end encrypted connection. Tailscale can't see the content.</li>
</ul>
</div>
</section>
<section class="section" id="prepare" aria-labelledby="prepare-title">
<div class="wrap">
<h2 id="prepare-title">Before you start</h2>
<dl class="fallbacks">
<div><dt>A Tailscale account</dt><dd>Free for personal use; sign in with Google, Microsoft, GitHub or Apple. Use the same account on every device.</dd></div>
<div><dt>Tailscale on every computer</dt><dd>There are clients for Windows, macOS and Linux. Every computer that runs PasteFerry needs it, connected.</dd></div>
<div><dt>PasteFerry installed</dt><dd>The app on each computer with background sync on; see the <a href="../../en/start/#app">quick start</a>. Leave the server address empty.</dd></div>
<div><dt>ZeroTier works too</dt><dd>So does any tool that gives each device a fixed virtual address: enter that address when pairing. This guide uses Tailscale.</dd></div>
</dl>
</div>
</section>
<section class="section" id="join" aria-labelledby="join-title">
<div class="wrap">
<p class="eyebrow">Step 1</p>
<h2 id="join-title">Install Tailscale on each computer</h2>
<p class="intro">On every computer you sync, install it and sign in to the same account.</p>
<div class="os-grid qs-grid">
<div class="os-steps">
<ol class="steps">
<li>Download the client for your system from the Tailscale website and install it.<span class="aside">On Linux, run <code>curl -fsSL https://tailscale.com/install.sh | sh</code>, then <code>sudo tailscale up</code>, and open the link it prints to sign in.</span></li>
<li>Open Tailscale and sign in, using the same account on every computer.</li>
<li>The Tailscale admin console then lists all your devices, each with an address starting with 100.</li>
</ol>
<a class="button" href="https://tailscale.com/download"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>Download Tailscale</a>
</div>
<div class="os-figures">
<figure class="browser listing" role="img" aria-label="The Tailscale admin console's machine list (illustration): macbook-pro is 100.88.20.5 and home-pc is 100.92.41.17">
<div class="b-bar"><span class="t-lights" aria-hidden="true"><i></i><i></i><i></i></span><span class="b-url">login.tailscale.com/admin/machines</span></div>
<table>
<thead><tr><th scope="col">Machine</th><th scope="col">Tailscale address</th><th scope="col">OS</th></tr></thead>
<tbody>
<tr><td>macbook-pro</td><td>100.88.20.5</td><td>macOS</td></tr>
<tr><td>home-pc</td><td>100.92.41.17</td><td>Windows</td></tr>
</tbody>
</table>
</figure>
</div>
</div>
<div class="server-notes">
<h3>Keep Tailscale connected</h3>
<ul class="points">
<li><strong>Windows:</strong> right-click the Tailscale icon in the notification area and check Run unattended under Preferences, so it stays connected after you sign out.</li>
<li><strong>Mac:</strong> make sure Tailscale opens at login.</li>
<li><strong>Disable key expiry:</strong> by default Tailscale asks devices to sign in again every 180 days. For a computer that rarely changes, open the menu at the end of its row on the Machines page and choose Disable key expiry.</li>
</ul>
</div>
</div>
</section>
<section class="section" id="address" aria-labelledby="address-title">
<div class="wrap">
<p class="eyebrow">Step 2</p>
<h2 id="address-title">Find the other computer's Tailscale address</h2>
<p class="intro">On the computer you'll pair with, click the Tailscale icon (in the menu bar on a Mac, in the notification area on Windows) to see its address, or run <code>tailscale ip -4</code> in a terminal.</p>
<div class="address-term">
<figure class="term" role="img" aria-label="Running tailscale ip -4 in PowerShell prints the computer's Tailscale address, 100.92.41.17">
<div class="t-bar mac"><span class="t-lights" aria-hidden="true"><i></i><i></i><i></i></span><span class="t-title">home-pc — PowerShell</span></div>
<pre class="t-body"><span class="t-prompt">></span> tailscale ip -4
<span class="t-url">100.92.41.17</span></pre>
</figure>
</div>
<p class="note">The steps below use <code>100.92.41.17</code>, the Windows PC at home. Use your own address.</p>
</div>
</section>
<section class="section" id="pair" aria-labelledby="pair-title">
<div class="wrap">
<p class="eyebrow">Step 3</p>
<h2 id="pair-title">Enter the address when pairing</h2>
<p class="intro">Just like pairing on one network, with one extra address.</p>
<div class="os-grid qs-grid">
<div>
<ol class="steps">
<li>On the Windows PC at home, open Devices, click Add device and note the 6-character code.</li>
<li>On the Mac at the office, click Add device, switch to Enter a code and type it in; then click On a different subnet?, enter <code>100.92.41.17</code> and click Continue.</li>
<li>Both screens show the same two fingerprint lines. Check them, then confirm. The two computers now sync wherever they are.</li>
</ol>
</div>
<figure class="shot">
<img src="../../assets/screenshots/en/pairing-join-ts-dark.png?v=cd573058a3" width="2112" height="1472" loading="lazy" alt="Enter a code: the code K7MP2X, with the Tailscale address 100.92.41.17 in the address field">
</figure>
</div>
<p class="note">When both computers are at home, PasteFerry also finds the other one on the LAN directly, so data takes no detour.</p>
</div>
</section>
<section class="section" id="faq" aria-labelledby="faq-title">
<div class="wrap">
<h2 id="faq-title">Questions</h2>
<div class="faq">
<details>
<summary>Devices show Direct, but it's slow</summary>
<div class="answer"><p>Direct in PasteFerry means the two computers connect directly on the Tailscale network. When Tailscale can't connect them peer to peer, it relays through its DERP servers, which can be far away.</p><p>Run <code>tailscale ping other-address</code> in a terminal: via DERP means Tailscale is relaying; via an IP and port means it's peer to peer. Office and campus networks relay more often; you can run your own DERP server or try another mesh VPN.</p></div>
</details>
<details>
<summary>Pairing can't find the other computer</summary>
<div class="answer"><p>First make sure Tailscale is connected on both: run <code>tailscale ping other-address</code> and try again once it answers.</p><p>If ping works but pairing doesn't, the other computer's firewall is likely blocking it. On Windows, click Allow under Settings → Connection in PasteFerry; on a Mac, turn on PasteFerry Daemon under System Settings → Privacy & Security → Local Network.</p></div>
</details>
<details>
<summary>Does every computer need Tailscale?</summary>
<div class="answer"><p>Yes, a computer without it can't reach the 100.x addresses. Computers on the same network don't need it; see the <a href="../../en/lan/">same network guide</a>.</p></div>
</details>
<details>
<summary>I set up a server at home with the old guide. Do I still need it?</summary>
<div class="answer"><p>No. Clear the server address in Settings → Connection on each computer and uninstall the server at home; paired devices stay paired. Keeping it doesn't hurt either: a server and Tailscale work together.</p></div>
</details>
<details>
<summary>Can Tailscale see what I copy?</summary>
<div class="answer"><p>No. Tailscale connections are end-to-end encrypted with WireGuard, and inside runs PasteFerry's own DTLS-encrypted connection; only your two computers can open either layer. Tailscale's servers only exchange device keys and addresses, and its relays forward encrypted packets.</p></div>
</details>
<details>
<summary>Will a Tailscale address change?</summary>
<div class="answer"><p>Usually not. The address belongs to the device and survives restarts and network changes; it only changes if you remove the device from Tailscale and add it again. If it does, enter it once more under Devices.</p></div>
</details>
<details>
<summary>I have a public server. Do I need Tailscale?</summary>
<div class="answer"><p>No. Run the server on the machine with the public IP and enter that address on every computer; see the <a href="../../en/cloud/">public server guide</a>.</p></div>
</details>
</div>
</div>
</section>
<section class="closing" aria-labelledby="closing-title">
<div class="wrap">
<h2 class="display" id="closing-title">No server.<br>Your clipboard comes with you.</h2>
<div class="cta">
<a class="button" href="../../en/download/"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>Download PasteFerry</a>
</div>
<p class="note">Version 2.10.1, free and open source. macOS 13 or later; Windows 10 and 11; Linux (x64 and ARM64). Android 9 or later; phones can also use the web page.</p>
<a class="source" href="../../en/lan/">Back to the same network guide</a>
</div>
</section>
</main>
<footer class="footer">
<div class="wrap">
<p>PasteFerry is open source under the GNU AGPL-3.0.</p>
<nav aria-label="Footer">
<a href="https://github.com/baiyuze/pasteferry/releases">All releases</a>
<a href="https://github.com/baiyuze/pasteferry/blob/main/CHANGELOG.md">Changelog</a>
<a href="https://pasteferry.cc/design/nat-traversal.html">Design notes (Chinese)</a>
<a href="https://github.com/baiyuze/pasteferry/blob/main/LICENSING.md">License</a>
<a href="https://github.com/baiyuze/pasteferry/issues">Report an issue</a>
<a href="../../en/privacy/">Privacy</a>
<a href="../../en/feedback/">Discussion & feedback</a>
</nav>
<nav aria-label="Language">
<a href="../../tailscale/" hreflang="zh-CN" lang="zh-CN" data-lang="zh">简体中文</a>
<a href="../../zh-tw/tailscale/" hreflang="zh-TW" lang="zh-TW" data-lang="zh-tw">繁體中文(台灣)</a>
<a href="../../zh-hk/tailscale/" hreflang="zh-HK" lang="zh-HK" data-lang="zh-hk">繁體中文(香港)</a>
<a href="../../en/tailscale/" hreflang="en" lang="en" data-lang="en" aria-current="page">English</a>
<a href="../../ja/tailscale/" hreflang="ja" lang="ja" data-lang="ja">日本語</a>
</nav>
</div>
</footer>
<script src="../../assets/site.js?v=fb60f6e5ce" defer></script>
<script src="/assets/analytics.js?v=e2777f714d" defer></script>
<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon='{"token": "7ee226baf4a949a397c4bfd69a9e7461"}'></script>
</body>
</html>