{"id":144,"date":"2026-10-18T12:04:39","date_gmt":"2026-10-18T04:04:39","guid":{"rendered":"http:\/\/laoke.pw\/?p=144"},"modified":"2026-10-18T12:04:39","modified_gmt":"2026-10-18T04:04:39","slug":"106-tailscale-%e5%87%ba%e5%b7%ae%e5%9c%a8%e5%a4%96%ef%bc%8c%e5%ae%b6%e9%87%8c%e9%82%a3%e5%8f%b0%e7%94%b5%e8%84%91%e5%83%8f%e5%9c%a8%e5%90%8c%e4%b8%80%e4%b8%aa%e5%b1%80%e5%9f%9f","status":"publish","type":"post","link":"https:\/\/laoke.pw\/?p=144","title":{"rendered":"106 Tailscale \u2014\u2014 \u51fa\u5dee\u5728\u5916\uff0c\u5bb6\u91cc\u90a3\u53f0\u7535\u8111\u50cf\u5728\u540c\u4e00\u4e2a\u5c40\u57df\u7f51"},"content":{"rendered":"<p>\u4e00\u53e5\u8bdd\u5b9a\u4f4d\uff1aTailscale \u662f\u4e00\u6b3e\u57fa\u4e8e WireGuard \u7684\u96f6\u914d\u7f6e\u7ec4\u7f51\u5de5\u5177\uff0c\u628a\u624b\u673a\u3001\u7b14\u8bb0\u672c\u3001\u5bb6\u91cc\u7535\u8111\u548c\u4e91\u670d\u52a1\u5668\u4e32\u6210\u4e00\u4e2a\u865a\u62df\u5c40\u57df\u7f51\uff0c\u4e0d\u9700\u8981\u516c\u7f51 IP\u3001\u4e0d\u7528\u6539\u8def\u7531\u5668\u3001\u4e0d\u7528\u914d\u7aef\u53e3\u6620\u5c04\u3002<\/p>\n<h2>\u75db\u70b9\uff1a\u60f3\u8fde\u81ea\u5df1\u5bb6\u7684\u7535\u8111\uff0c\u6bd4\u8fde\u516c\u53f8\u670d\u52a1\u5668\u8fd8\u96be<\/h2>\n<p>\u8fdc\u7a0b\u8bbf\u95ee\u8fd9\u4ef6\u4e8b\uff0c\u7406\u8bba\u4e0a\u6709\u65e0\u6570\u79cd\u65b9\u6848\uff0c\u5b9e\u9645\u64cd\u4f5c\u8d77\u6765\u6bcf\u4e00\u6b65\u90fd\u662f\u5751\u3002<\/p>\n<p>\u60f3\u7528\u8fdc\u7a0b\u684c\u9762\u8fde\u5bb6\u91cc\u90a3\u53f0\u5e38\u5f00\u7684\u53f0\u5f0f\u673a\uff0c\u5148\u5f97\u6709\u516c\u7f51 IP\u2014\u2014\u5f88\u591a\u5bbd\u5e26\u65e9\u5c31\u6362\u6210\u5927\u5185\u7f51\u4e86\uff0c\u6253\u5ba2\u670d\u7533\u8bf7\u4e5f\u672a\u5fc5\u7ed9\u3002\u6709\u4e86\u516c\u7f51 IP \u8fd8\u5f97\u914d DDNS\uff0c\u56e0\u4e3a\u5730\u5740\u4f1a\u53d8\uff1b\u8fd8\u5f97\u5728\u8def\u7531\u5668\u4e0a\u505a\u7aef\u53e3\u6620\u5c04\uff1b\u8fd8\u5f97\u5728\u9632\u706b\u5899\u4e0a\u653e\u884c\u3002\u8fd9\u4e00\u5957\u5f04\u5b8c\uff0c\u628a 3389 \u7aef\u53e3\u76f4\u63a5\u66b4\u9732\u5728\u516c\u7f51\u4e0a\uff0c\u6bcf\u5929\u88ab\u626b\u63cf\u5668\u6572\u95e8\u51e0\u767e\u6b21\uff0c\u5fc3\u91cc\u53d1\u6bdb\u3002<\/p>\n<p>\u6362\u6210 frp \u4e4b\u7c7b\u7684\u5185\u7f51\u7a7f\u900f\uff0c\u5f97\u81ea\u5df1\u6709\u53f0\u516c\u7f51\u670d\u52a1\u5668\uff0c\u914d\u7f6e\u5199\u9519\u4e00\u884c\u5c31\u8fde\u4e0d\u4e0a\uff0c\u51fa\u95ee\u9898\u8fd8\u5f97\u8fdc\u7a0b\u6392\u9519\u3002<\/p>\n<h2>\u6838\u5fc3\u80fd\u529b<\/h2>\n<ul>\n<li><strong>\u88c5\u5b8c\u767b\u5f55\u5c31\u901a<\/strong>\uff1a\u4e24\u7aef\u5404\u81ea\u5b89\u88c5\u3001\u7528\u540c\u4e00\u8d26\u53f7\u767b\u5f55\uff0c\u5269\u4e0b\u7684\u6253\u6d1e\u3001\u52a0\u5bc6\u3001\u8def\u7531\u5168\u81ea\u52a8\u3002<\/li>\n<li><strong>NAT \u7a7f\u900f\u4f18\u5148\u76f4\u8fde<\/strong>\uff1a\u80fd\u76f4\u8fde\u5c31\u8d70\u70b9\u5bf9\u70b9\uff0c\u76f4\u8fde\u5931\u8d25\u81ea\u52a8\u9000\u56de\u4e2d\u7ee7\uff08DERP\uff09\uff0c\u4e0d\u4f1a\u56e0\u4e3a\u4e00\u65b9\u7f51\u7edc\u4e25\u683c\u5c31\u5b8c\u5168\u4e0d\u901a\u3002<\/li>\n<li><strong>\u56fa\u5b9a\u5185\u7f51\u5730\u5740<\/strong>\uff1a\u6bcf\u53f0\u8bbe\u5907\u5206\u5230\u4e00\u4e2a 100.x \u6bb5\u7684\u5730\u5740\uff0c\u91cd\u542f\u3001\u6362\u7f51\u7edc\u90fd\u4e0d\u53d8\u3002<\/li>\n<li><strong>MagicDNS<\/strong>\uff1a\u76f4\u63a5\u7528\u8bbe\u5907\u540d\u8bbf\u95ee\uff0c\u4e0d\u7528\u8bb0 IP\u3002<\/li>\n<li><strong>ACL \u6743\u9650\u63a7\u5236<\/strong>\uff1a\u8c01\u80fd\u8bbf\u95ee\u8c01\u3001\u80fd\u8bbf\u95ee\u54ea\u4e2a\u7aef\u53e3\uff0c\u5199\u5728\u4e00\u4efd\u914d\u7f6e\u6587\u4ef6\u91cc\uff0c\u56e2\u961f\u573a\u666f\u5f88\u5b9e\u7528\u3002<\/li>\n<li><strong>\u5b50\u7f51\u8def\u7531<\/strong>\uff1a\u628a\u6574\u4e2a\u5bb6\u5ead\u6216\u529e\u516c\u5ba4\u7f51\u6bb5\u5e26\u8fdb\u865a\u62df\u7f51\u7edc\uff0c\u4e00\u53f0\u8bbe\u5907\u5f53\u7f51\u5173\uff0c\u5176\u4ed6\u8bbe\u5907\u4e0d\u7528\u88c5\u5ba2\u6237\u7aef\u3002<\/li>\n<li><strong>\u51fa\u53e3\u8282\u70b9<\/strong>\uff1a\u6307\u5b9a\u67d0\u53f0\u8bbe\u5907\u4f5c\u4e3a\u6d41\u91cf\u51fa\u53e3\uff0c\u5728\u5916\u9762\u7528\u5496\u5561\u5e97 Wi-Fi \u65f6\u80fd\u8d70\u81ea\u5df1\u5bb6\u7684\u7ebf\u8def\u3002<\/li>\n<li><strong>Taildrop \u4f20\u6587\u4ef6<\/strong>\uff1a\u8bbe\u5907\u4e4b\u95f4\u76f4\u63a5\u53d1\u6587\u4ef6\uff0c\u4e0d\u7ecf\u8fc7\u7b2c\u4e09\u65b9\u7f51\u76d8\u3002<\/li>\n<\/ul>\n<h2>\u5b9e\u6d4b\u4f53\u9a8c<\/h2>\n<p>\u6211\u7684\u573a\u666f\u662f\uff1a\u4e00\u53f0\u9996\u5c14\u7684\u4e91\u670d\u52a1\u5668\uff08Windows\uff09\u3001\u4e00\u53f0\u5bb6\u91cc\u7684 Windows \u53f0\u5f0f\u673a\u3001\u4e00\u90e8\u624b\u673a\u3002<\/p>\n<p>\u4e09\u7aef\u88c5\u597d\u3001\u626b\u7801\u767b\u5f55\uff0c\u524d\u540e\u4e0d\u5230\u4e94\u5206\u949f\uff0c\u7ba1\u7406\u540e\u53f0\u91cc\u4e09\u53f0\u8bbe\u5907\u90fd\u663e\u793a\u7eff\u8272\u5728\u7ebf\uff0c\u5404\u81ea\u62ff\u5230 100 \u5f00\u5934\u7684\u5730\u5740\u3002\u5728\u670d\u52a1\u5668\u4e0a ping \u5bb6\u91cc\u7684\u673a\u5668\uff0c\u8d70\u7684\u662f\u76f4\u8fde\uff0c\u5ef6\u8fdf 40 \u81f3 60 \u6beb\u79d2\uff0c\u8de8\u4e86\u56fd\u9645\u7ebf\u8def\uff0c\u8fd9\u4e2a\u6570\u5b57\u7b97\u6b63\u5e38\u3002<\/p>\n<p>\u7528\u8fdc\u7a0b\u684c\u9762\u8fde\u5bb6\u91cc\u7684\u53f0\u5f0f\u673a\uff0c\u65e5\u5e38\u64cd\u4f5c\u3001\u62d6\u7a97\u53e3\u3001\u770b\u6587\u6863\u90fd\u8ddf\u624b\u3002\u4f20\u6587\u4ef6\u5b9e\u6d4b 5 \u5230 8MB\/s\uff0c\u4e00\u4e2a 500MB \u7684\u7d20\u6750\u5305\u4e00\u5206\u591a\u949f\u4f20\u5b8c\uff0c\u6bd4\u5148\u4e0a\u4f20\u7f51\u76d8\u518d\u4e0b\u8f7d\u5feb\u5f97\u591a\u3002<\/p>\n<p>\u6709\u51e0\u6b21\u76f4\u8fde\u6ca1\u6253\u901a\uff0c\u81ea\u52a8\u5207\u5230\u4e2d\u7ee7\uff0c\u5ef6\u8fdf\u6da8\u5230 120 \u6beb\u79d2\u5de6\u53f3\uff0c\u8fdc\u7a0b\u684c\u9762\u8fd8\u80fd\u7528\uff0c\u53ea\u662f\u6253\u5b57\u6709\u8f7b\u5fae\u6ede\u540e\u611f\u3002\u540e\u53f0\u80fd\u6e05\u695a\u770b\u5230\u5f53\u524d\u662f\u76f4\u8fde\u8fd8\u662f\u4e2d\u7ee7\uff0c\u51fa\u95ee\u9898\u65f6\u81f3\u5c11\u77e5\u9053\u8be5\u5f80\u54ea\u67e5\u3002<\/p>\n<h2>\u9002\u5408\u8c01<\/h2>\n<ul>\n<li><strong>\u9700\u8981\u8fdc\u7a0b\u529e\u516c\u7684\u4eba<\/strong>\uff1a\u8fde\u5bb6\u91cc\u7684\u7535\u8111\u3001NAS\u3001\u6253\u5370\u673a\uff0c\u50cf\u5728\u540c\u4e00\u4e2a\u529e\u516c\u5ba4\u3002<\/li>\n<li><strong>\u6709\u591a\u53f0\u8bbe\u5907\u8981\u4e92\u901a\u7684\u5f00\u53d1\u8005<\/strong>\uff1a\u672c\u5730\u670d\u52a1\u3001\u6570\u636e\u5e93\u3001\u6d4b\u8bd5\u673a\uff0c\u8de8\u7f51\u7edc\u76f4\u63a5\u8bbf\u95ee\uff0c\u4e0d\u7528\u5f00\u516c\u7f51\u7aef\u53e3\u3002<\/li>\n<li><strong>\u5c0f\u56e2\u961f<\/strong>\uff1a\u51e0\u4e2a\u4eba\u5171\u4eab\u51e0\u53f0\u673a\u5668\uff0cACL \u63a7\u5236\u6743\u9650\uff0c\u6bd4\u53d1 VPN \u8d26\u53f7\u6e05\u723d\u3002<\/li>\n<li><strong>\u7ecf\u5e38\u51fa\u5dee\u7684\u4eba<\/strong>\uff1a\u5728\u5916\u7f51\u8bbf\u95ee\u5bb6\u91cc\u7684\u8bbe\u5907\u548c\u8d44\u6599\uff0c\u4e0d\u7528\u628a\u670d\u52a1\u66b4\u9732\u5230\u516c\u7f51\u3002<\/li>\n<\/ul>\n<h2>\u9700\u8981\u6ce8\u610f\u7684\u5730\u65b9<\/h2>\n<ul>\n<li><strong>\u8981\u6ce8\u518c\u8d26\u53f7<\/strong>\uff1a\u652f\u6301 Google\u3001\u5fae\u8f6f\u3001GitHub \u767b\u5f55\uff0c\u8fd9\u4e00\u6b65\u7ed5\u4e0d\u5f00\u3002\u63a7\u5236\u9762\u5728\u4e91\u7aef\uff0c\u8d26\u53f7\u5b89\u5168\u8981\u8ba4\u771f\u5bf9\u5f85\u3002<\/li>\n<li><strong>\u514d\u8d39\u7248\u6709\u989d\u5ea6<\/strong>\uff1a\u4e2a\u4eba\u7248\u4e0a\u9650\u662f 3 \u4e2a\u7528\u6237\u3001100 \u53f0\u8bbe\u5907\uff0c\u4e2a\u4eba\u548c\u5c0f\u56e2\u961f\u591f\u7528\u3002<\/li>\n<li><strong>\u9996\u6b21\u767b\u5f55\u5076\u5c14\u6162<\/strong>\uff1a\u767b\u5f55\u670d\u52a1\u5668\u5728\u5883\u5916\uff0c\u56fd\u5185\u7f51\u7edc\u73af\u5883\u4e0b\u7b2c\u4e00\u6b21\u6388\u6743\u53ef\u80fd\u8981\u7b49\u51e0\u79d2\u5230\u5341\u51e0\u79d2\uff0c\u4e4b\u540e\u57fa\u672c\u65e0\u611f\u3002<\/li>\n<li><strong>\u901f\u5ea6\u53d7\u7ebf\u8def\u5f71\u54cd<\/strong>\uff1a\u76f4\u8fde\u6210\u529f\u65f6\u5f88\u5feb\uff0c\u9000\u56de\u4e2d\u7ee7\u5c31\u8981\u770b\u4e2d\u7ee7\u8282\u70b9\u5230\u4f60\u7684\u7f51\u7edc\u8d28\u91cf\uff0c\u4e0d\u80fd\u4fdd\u8bc1\u5e26\u5bbd\u3002<\/li>\n<li><strong>\u4e0d\u662f\u533f\u540d\u5de5\u5177<\/strong>\uff1a\u5b83\u52a0\u5bc6\u8bbe\u5907\u4e4b\u95f4\u7684\u6d41\u91cf\uff0c\u4f46\u4e0d\u7b49\u540c\u4e8e\u533f\u540d\u4e0a\u7f51\uff0c\u4e5f\u4e0d\u6539\u53d8\u4f60\u8bbf\u95ee\u5916\u90e8\u7f51\u7ad9\u7684\u51fa\u53e3\uff08\u9664\u975e\u7528\u51fa\u53e3\u8282\u70b9\uff09\u3002<\/li>\n<\/ul>\n<h2>\u5c0f\u7ed3<\/h2>\n<p>Tailscale \u628a\u4e00\u4ef6\u539f\u672c\u8981\u6298\u817e\u4e00\u665a\u4e0a\u7684\u4e8b\uff0c\u538b\u7f29\u6210\u4e86&quot;\u88c5\u597d\u3001\u767b\u5f55\u3001\u80fd\u7528&quot;\u3002\u5b83\u6ca1\u6709\u70ab\u6280\u7684\u754c\u9762\uff0c\u4ef7\u503c\u5168\u5728&quot;\u4e0d\u7528\u7ba1&quot;\u8fd9\u4e09\u4e2a\u5b57\u4e0a\u2014\u2014\u4e0d\u7528\u7ba1 NAT\u3001\u4e0d\u7528\u7ba1\u8bc1\u4e66\u3001\u4e0d\u7528\u7ba1\u5bf9\u65b9\u7f51\u7edc\u6362\u6ca1\u6362\u3002\u5bf9\u4e2a\u4eba\u7528\u6237\uff0c\u5b83\u662f\u8fdc\u7a0b\u8bbf\u95ee\u5bb6\u91cc\u8bbe\u5907\u6700\u7701\u5fc3\u7684\u65b9\u6848\u4e4b\u4e00\uff1b\u5bf9\u5c0f\u56e2\u961f\uff0c\u5b83\u7684 ACL \u548c\u5b50\u7f51\u8def\u7531\u5df2\u7ecf\u80fd\u9876\u4e0a\u4e00\u5957\u6b63\u7ecf\u7684\u5185\u7f51\u65b9\u6848\u3002\u514d\u8d39\u989d\u5ea6\u5bf9\u7edd\u5927\u591a\u6570\u4eba\u7ef0\u7ef0\u6709\u4f59\uff0c\u503c\u5f97\u5148\u88c5\u4e0a\u8bd5\u4e00\u5929\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u53e5\u8bdd\u5b9a\u4f4d\uff1aTailscale \u662f\u4e00\u6b3e\u57fa\u4e8e WireGuard \u7684\u96f6\u914d\u7f6e\u7ec4\u7f51\u5de5\u5177\uff0c\u628a\u624b\u673a\u3001\u7b14\u8bb0\u672c\u3001\u5bb6\u91cc\u7535\u8111\u548c\u4e91\u670d\u52a1\u5668\u4e32\u6210\u4e00\u4e2a\u865a\u62df\u5c40\u57df\u7f51\uff0c\u4e0d\u9700\u8981\u516c\u7f51 IP\u3001\u4e0d\u7528\u6539\u8def\u7531\u5668\u3001\u4e0d\u7528\u914d\u7aef\u53e3\u6620\u5c04\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2],"tags":[],"class_list":["post-144","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts\/144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=144"}],"version-history":[{"count":0,"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts\/144\/revisions"}],"wp:attachment":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}