{"id":96993,"date":"2026-08-28T21:10:06","date_gmt":"2026-08-28T13:10:06","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/96993.html"},"modified":"2026-08-28T21:10:06","modified_gmt":"2026-08-28T13:10:06","slug":"%e4%b8%8d%e7%94%a8%e5%85%ac%e7%bd%91-ip%ef%bc%8c%e6%8a%8a-windows-%e5%92%8c-linux-%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%94%be%e8%bf%9b%e5%90%8c%e4%b8%80%e4%b8%aa%e5%b1%80%e5%9f%9f%e7%bd%91%ef%bc%9atailscale","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/96993.html","title":{"rendered":"\u4e0d\u7528\u516c\u7f51 IP\uff0c\u628a Windows \u548c Linux \u670d\u52a1\u5668\u653e\u8fdb\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\uff1aTailscale \u7ec4\u7f51\u5b9e\u6218"},"content":{"rendered":"<h2><\/h2>\n<h3>Tailscale \u662f\u4ec0\u4e48<\/h3>\n<p>Tailscale \u662f\u4e00\u4e2a\u57fa\u4e8e WireGuard \u7684\u7ec4\u7f51\u5de5\u5177\u3002<\/p>\n<p>\u5b83\u53ef\u4ee5\u628a\u5206\u5e03\u5728\u4e0d\u540c\u7f51\u7edc\u4e2d\u7684\u7535\u8111\u3001\u670d\u52a1\u5668\u3001\u624b\u673a\u548c NAS \u8fde\u63a5\u8d77\u6765&#xff0c;\u8ba9\u8fd9\u4e9b\u8bbe\u5907\u50cf\u5728\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\u4e2d\u4e00\u6837\u901a\u4fe1\u3002<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>\u5bb6\u91cc\u7684 Windows \u7535\u8111<br \/>\n\u2502<br \/>\n\u2502 Tailscale \u52a0\u5bc6\u7f51\u7edc<br \/>\n\u2502<br \/>\n\u4e91\u670d\u52a1\u5668\u4e0a\u7684 Linux<\/p>\n<p>Windows \u53ef\u80fd\u8fde\u63a5\u7684\u662f\u5bb6\u5ead\u5bbd\u5e26&#xff0c;Linux \u670d\u52a1\u5668\u53ef\u80fd\u90e8\u7f72\u5728 AWS\u3001\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u6216\u8005\u5176\u4ed6\u673a\u623f\u3002<\/p>\n<p>\u5b83\u4eec\u4e0d\u5728\u540c\u4e00\u4e2a\u7269\u7406\u7f51\u7edc\u91cc&#xff0c;\u4f46\u5b89\u88c5 Tailscale \u540e&#xff0c;\u4f1a\u5404\u81ea\u83b7\u5f97\u4e00\u4e2a\u865a\u62df IP \u5730\u5740\u3002\u4e24\u53f0\u8bbe\u5907\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u8fd9\u4e2a\u5730\u5740\u901a\u4fe1\u3002<\/p>\n<p>Tailscale \u7684\u65b9\u4fbf\u4e4b\u5904\u5728\u4e8e&#xff0c;\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u4e0d\u9700\u8981&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u81ea\u5df1\u642d\u5efa VPN \u670d\u52a1\u5668&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u914d\u7f6e\u7aef\u53e3\u8f6c\u53d1&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u8d2d\u4e70\u56fa\u5b9a\u516c\u7f51 IP&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u624b\u52a8\u751f\u6210\u548c\u5206\u53d1 WireGuard \u5bc6\u94a5&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4fee\u6539\u5bb6\u91cc\u7684\u8def\u7531\u5668\u914d\u7f6e\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u53ea\u8981\u4e24\u53f0\u8bbe\u5907\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee\u4e92\u8054\u7f51&#xff0c;\u5c31\u53ef\u4ee5\u5c1d\u8bd5\u5efa\u7acb\u8fde\u63a5\u3002<\/p>\n<h3>Tailscale \u662f\u600e\u4e48\u8fde\u63a5\u8bbe\u5907\u7684<\/h3>\n<p>Tailscale \u5b89\u88c5\u5230\u8bbe\u5907\u540e&#xff0c;\u4f1a\u521b\u5efa\u4e00\u4e2a\u865a\u62df\u7f51\u5361&#xff0c;\u5e76\u4e3a\u8bbe\u5907\u5206\u914d\u4e00\u4e2a\u4e13\u7528\u5730\u5740&#xff0c;\u901a\u5e38\u662f\u4e0b\u9762\u8fd9\u79cd\u683c\u5f0f&#xff1a;<\/p>\n<p>100.x.x.x<\/p>\n<p>\u5f53 Windows \u8bbf\u95ee Linux \u65f6&#xff0c;Tailscale \u4f1a\u4f18\u5148\u5c1d\u8bd5\u5efa\u7acb\u70b9\u5bf9\u70b9\u8fde\u63a5\u3002<\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u6570\u636e\u5c3d\u91cf\u76f4\u63a5\u5728 Windows \u548c Linux \u4e4b\u95f4\u4f20\u8f93&#xff0c;\u800c\u4e0d\u662f\u5168\u90e8\u7ecf\u8fc7\u4e00\u53f0\u4e2d\u5fc3 VPN \u670d\u52a1\u5668\u3002<\/p>\n<p>\u5982\u679c\u4e24\u8fb9\u7684\u7f51\u7edc\u9650\u5236\u6bd4\u8f83\u4e25\u683c&#xff0c;\u65e0\u6cd5\u76f4\u63a5\u8fde\u63a5&#xff0c;Tailscale \u4f1a\u81ea\u52a8\u4f7f\u7528\u4e2d\u7ee7\u670d\u52a1\u5668\u8f6c\u53d1\u6d41\u91cf\u3002\u7ecf\u8fc7\u4e2d\u7ee7\u65f6&#xff0c;\u901a\u4fe1\u5185\u5bb9\u4ecd\u7136\u662f\u52a0\u5bc6\u7684\u3002<\/p>\n<p>\u5bf9\u666e\u901a\u7528\u6237\u6765\u8bf4&#xff0c;\u4e0d\u9700\u8981\u624b\u52a8\u5224\u65ad\u5e94\u8be5\u76f4\u8fde\u8fd8\u662f\u4e2d\u7ee7&#xff0c;Tailscale \u4f1a\u81ea\u52a8\u5904\u7406\u3002<\/p>\n<h3>\u8fd9\u6b21\u8981\u5b9e\u73b0\u4ec0\u4e48<\/h3>\n<p>\u5047\u8bbe\u73b0\u5728\u6709\u4e24\u53f0\u8bbe\u5907&#xff1a;<\/p>\n<h4>\u672c\u5730\u7535\u8111<\/h4>\n<p>\u7cfb\u7edf&#xff1a;Windows 11<br \/>\n\u4f4d\u7f6e&#xff1a;\u5bb6\u91cc<br \/>\n\u8bbe\u5907\u540d\u79f0&#xff1a;my-windows<\/p>\n<h4>\u8fdc\u7a0b\u670d\u52a1\u5668<\/h4>\n<p>\u7cfb\u7edf&#xff1a;Ubuntu Linux<br \/>\n\u4f4d\u7f6e&#xff1a;\u4e91\u670d\u52a1\u5668<br \/>\n\u8bbe\u5907\u540d\u79f0&#xff1a;ubuntu-server<\/p>\n<p>\u6211\u4eec\u7684\u76ee\u6807\u662f&#xff1a;<\/p>\n<li>\n<p>\u5728 Windows \u548c Linux \u4e0a\u5b89\u88c5 Tailscale&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u540c\u4e00\u4e2a\u8d26\u53f7\u767b\u5f55&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u8ba9\u4e24\u53f0\u8bbe\u5907\u52a0\u5165\u540c\u4e00\u4e2a\u865a\u62df\u7f51\u7edc&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5728 Windows \u4e0a\u901a\u8fc7 Tailscale \u5730\u5740\u8fde\u63a5 Linux&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6d4b\u8bd5\u6210\u529f\u540e&#xff0c;\u5173\u95ed Linux \u5bf9\u516c\u7f51\u5f00\u653e\u7684 SSH \u7aef\u53e3\u3002<\/p>\n<\/li>\n<h3>\u4e00\u3001\u5728 Linux \u670d\u52a1\u5668\u4e0a\u5b89\u88c5 Tailscale<\/h3>\n<p>\u4e0b\u9762\u4ee5 Ubuntu \u548c Debian \u7cfb\u7edf\u4e3a\u4f8b\u3002<\/p>\n<p>\u5148\u901a\u8fc7\u4e91\u670d\u52a1\u5668\u63a7\u5236\u53f0\u6216\u8005\u539f\u6765\u7684 SSH \u65b9\u5f0f\u767b\u5f55 Linux&#xff0c;\u7136\u540e\u6267\u884c&#xff1a;<\/p>\n<p>curl -fsSL https:\/\/tailscale.com\/install.sh | sh<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u542f\u52a8 Tailscale&#xff1a;<\/p>\n<p>sudo tailscale up<\/p>\n<p>\u7ec8\u7aef\u4f1a\u663e\u793a\u4e00\u4e2a\u767b\u5f55\u5730\u5740&#xff1a;<\/p>\n<p>To authenticate, visit:<\/p>\n<p>https:\/\/login.tailscale.com\/a\/xxxxxxxx<\/p>\n<p>\u590d\u5236\u8fd9\u4e2a\u5730\u5740&#xff0c;\u5728\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00&#xff0c;\u7136\u540e\u9009\u62e9\u4e00\u4e2a\u8d26\u53f7\u767b\u5f55\u3002<\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528 Google\u3001Microsoft\u3001GitHub\u3001Apple \u6216\u5176\u4ed6\u652f\u6301\u7684\u8eab\u4efd\u8d26\u53f7\u3002<\/p>\n<p>\u767b\u5f55\u6210\u529f\u540e&#xff0c;Linux \u670d\u52a1\u5668\u5c31\u52a0\u5165\u4e86 Tailscale \u7f51\u7edc\u3002<\/p>\n<p>\u67e5\u770b\u5f53\u524d\u8fde\u63a5\u72b6\u6001&#xff1a;<\/p>\n<p>tailscale status<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"paste-image-1782463832900.png\" height=\"57\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828131004-6a9188ac4e1b3.png\" width=\"385\" \/><\/p>\n<p>\u67e5\u770b\u670d\u52a1\u5668\u7684 Tailscale IPv4 \u5730\u5740&#xff1a;<\/p>\n<p>tailscale ip -4<\/p>\n<p>\u5047\u8bbe\u8fd4\u56de&#xff1a;<\/p>\n<p>100.86.20.15<\/p>\n<p>\u8fd9\u4e2a\u5730\u5740\u5c31\u662f Linux \u670d\u52a1\u5668\u5728 Tailscale \u7f51\u7edc\u4e2d\u7684\u5730\u5740\u3002<\/p>\n<p>\u5b83\u548c\u670d\u52a1\u5668\u516c\u7f51 IP \u4e0d\u4e00\u6837&#xff0c;\u53ea\u80fd\u7531\u540c\u4e00\u4e2a Tailscale \u7f51\u7edc\u4e2d\u7684\u6388\u6743\u8bbe\u5907\u8bbf\u95ee\u3002<\/p>\n<h3>\u4e8c\u3001\u786e\u8ba4 Linux \u5df2\u7ecf\u542f\u7528 SSH<\/h3>\n<p>\u5982\u679c\u670d\u52a1\u5668\u539f\u672c\u5c31\u80fd\u901a\u8fc7 SSH \u767b\u5f55&#xff0c;\u4e00\u822c\u4e0d\u9700\u8981\u989d\u5916\u5b89\u88c5\u3002<\/p>\n<p>\u53ef\u4ee5\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\u68c0\u67e5&#xff1a;<\/p>\n<p>sudo systemctl status ssh<\/p>\n<p>\u5982\u679c\u63d0\u793a\u627e\u4e0d\u5230\u670d\u52a1&#xff0c;\u53ef\u4ee5\u5b89\u88c5 OpenSSH Server&#xff1a;<\/p>\n<p>sudo apt update<br \/>\nsudo apt install -y openssh-server<\/p>\n<p>\u5b89\u88c5\u540e\u542f\u52a8 SSH&#xff1a;<\/p>\n<p>sudo systemctl enable &#8211;now ssh<\/p>\n<p>\u518d\u6b21\u68c0\u67e5&#xff1a;<\/p>\n<p>sudo systemctl status ssh<\/p>\n<p>\u770b\u5230\u4e0b\u9762\u7684\u72b6\u6001&#xff0c;\u8bf4\u660e SSH \u6b63\u5e38\u8fd0\u884c&#xff1a;<\/p>\n<p>Active: active (running)<\/p>\n<h3>\u4e09\u3001\u53ea\u5141\u8bb8 Tailscale \u7f51\u7edc\u8bbf\u95ee SSH<\/h3>\n<p>\u5982\u679c Linux \u5f00\u542f\u4e86 UFW \u9632\u706b\u5899&#xff0c;\u53ef\u4ee5\u6dfb\u52a0\u4e00\u6761\u89c4\u5219&#xff0c;\u53ea\u5141\u8bb8\u901a\u8fc7 Tailscale \u865a\u62df\u7f51\u5361\u8bbf\u95ee 22 \u7aef\u53e3&#xff1a;<\/p>\n<p>sudo ufw allow in on tailscale0 to any port 22 proto tcp<\/p>\n<p>\u67e5\u770b\u89c4\u5219&#xff1a;<\/p>\n<p>sudo ufw status<\/p>\n<p>\u8fd9\u91cc\u7684 tailscale0 \u662f Tailscale \u521b\u5efa\u7684\u865a\u62df\u7f51\u5361\u3002<\/p>\n<p>\u8fd9\u6761\u89c4\u5219\u548c\u76f4\u63a5\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\u4e0d\u4e00\u6837&#xff1a;<\/p>\n<p>sudo ufw allow 22<\/p>\n<p>\u76f4\u63a5\u5f00\u653e 22 \u7aef\u53e3&#xff0c;\u53ef\u80fd\u4f1a\u5141\u8bb8\u516c\u7f51\u8bbf\u95ee\u3002\u9650\u5236\u5230 tailscale0 \u540e&#xff0c;\u53ea\u6709\u901a\u8fc7 Tailscale \u7f51\u7edc\u8fdb\u5165\u7684\u8fde\u63a5\u624d\u80fd\u8bbf\u95ee SSH\u3002<\/p>\n<p>\u4e0d\u8fc7\u5148\u4e0d\u8981\u6025\u7740\u5173\u95ed\u516c\u7f51 SSH&#xff0c;\u7b49 Windows \u8fde\u63a5\u6d4b\u8bd5\u6210\u529f\u540e\u518d\u5904\u7406\u3002<\/p>\n<h3>\u56db\u3001\u5728 Windows \u4e0a\u5b89\u88c5 Tailscale<\/h3>\n<p>\u8fdb\u5165 Tailscale \u4e0b\u8f7d\u9875\u9762&#xff0c;\u4e0b\u8f7d Windows \u5b89\u88c5\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"paste-image-1782463875493.png\" height=\"731\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828131004-6a9188ac60bf4.png\" width=\"1600\" \/><\/p>\n<p>\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u540e&#xff0c;Windows \u4efb\u52a1\u680f\u53f3\u4e0b\u89d2\u4f1a\u51fa\u73b0 Tailscale \u56fe\u6807\u3002<\/p>\n<p>\u5982\u679c\u6ca1\u6709\u770b\u5230&#xff0c;\u53ef\u4ee5\u70b9\u51fb\u4efb\u52a1\u680f\u4e2d\u7684\u5411\u4e0a\u7bad\u5934&#xff0c;\u5728\u9690\u85cf\u56fe\u6807\u91cc\u67e5\u627e\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"paste-image-1782463902617.png\" height=\"289\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828131004-6a9188acd9fe0.png\" width=\"440\" \/><\/p>\n<p>\u53f3\u952e\u70b9\u51fb Tailscale \u56fe\u6807&#xff0c;\u9009\u62e9&#xff1a;<\/p>\n<p>Log in<\/p>\n<p>\u6d4f\u89c8\u5668\u4f1a\u6253\u5f00\u767b\u5f55\u9875\u9762\u3002<\/p>\n<p>\u8fd9\u91cc\u9700\u8981\u4f7f\u7528\u521a\u624d Linux \u767b\u5f55\u65f6\u4f7f\u7528\u7684\u540c\u4e00\u4e2a\u8d26\u53f7\u3002<\/p>\n<p>\u767b\u5f55\u5b8c\u6210\u540e&#xff0c;Windows \u4e5f\u4f1a\u52a0\u5165\u540c\u4e00\u4e2a Tailscale \u7f51\u7edc\u3002<\/p>\n<p>\u8fd9\u65f6\u53ef\u4ee5\u6253\u5f00 Tailscale \u7ba1\u7406\u540e\u53f0&#xff0c;\u5728\u8bbe\u5907\u5217\u8868\u4e2d\u770b\u5230\u4e24\u53f0\u8bbe\u5907&#xff1a;<\/p>\n<p>my-windows Windows<br \/>\nubuntu-server Linux<\/p>\n<p>\u6bcf\u53f0\u8bbe\u5907\u90fd\u4f1a\u6709\u81ea\u5df1\u7684 Tailscale IP\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"paste-image-1782463946921.png\" height=\"545\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828131004-6a9188acf400a.png\" width=\"1600\" \/><\/p>\n<h3>\u4e94\u3001\u6d4b\u8bd5 Windows \u548c Linux \u662f\u5426\u8fde\u901a<\/h3>\n<p>\u5728 Windows \u4e2d\u6253\u5f00 PowerShell\u3002<\/p>\n<p>\u5148\u6d4b\u8bd5 Linux \u670d\u52a1\u5668\u7684 Tailscale IP&#xff1a;<\/p>\n<p>ping 100.86.20.15<\/p>\n<p>\u6709\u4e9b\u7cfb\u7edf\u6216\u9632\u706b\u5899\u53ef\u80fd\u4f1a\u62e6\u622a\u666e\u901a Ping&#xff0c;\u56e0\u6b64\u666e\u901a Ping \u5931\u8d25\u4e0d\u4e00\u5b9a\u4ee3\u8868\u7f51\u7edc\u65e0\u6cd5\u4f7f\u7528\u3002<\/p>\n<p>\u8fd8\u53ef\u4ee5\u4f7f\u7528 Tailscale \u81ea\u5e26\u7684\u6d4b\u8bd5\u547d\u4ee4&#xff1a;<\/p>\n<p>tailscale ping 100.86.20.15<\/p>\n<p>\u5982\u679c\u8fde\u63a5\u6b63\u5e38&#xff0c;\u4f1a\u770b\u5230\u7c7b\u4f3c\u7ed3\u679c&#xff1a;<\/p>\n<p>pong from ubuntu-server<\/p>\n<p>\u4e5f\u53ef\u4ee5\u67e5\u770b\u5f53\u524d\u7f51\u7edc\u4e2d\u7684\u8bbe\u5907&#xff1a;<\/p>\n<p>tailscale status<\/p>\n<p>\u8f93\u51fa\u4e2d\u5e94\u8be5\u80fd\u770b\u5230 Linux \u670d\u52a1\u5668\u53ca\u5176\u5730\u5740\u3002<\/p>\n<h3>\u516d\u3001\u5728 Windows \u4e0a\u901a\u8fc7 SSH \u767b\u5f55 Linux<\/h3>\n<p>\u5047\u8bbe Linux \u7528\u6237\u540d\u662f&#xff1a;<\/p>\n<p>ubuntu<\/p>\n<p>\u5728 Windows PowerShell \u4e2d\u6267\u884c&#xff1a;<\/p>\n<p>ssh ubuntu&#064;100.86.20.15<\/p>\n<p>\u7b2c\u4e00\u6b21\u8fde\u63a5\u65f6&#xff0c;\u53ef\u80fd\u4f1a\u51fa\u73b0\u63d0\u793a&#xff1a;<\/p>\n<p>Are you sure you want to continue connecting?<\/p>\n<p>\u8f93\u5165&#xff1a;<\/p>\n<p>yes<\/p>\n<p>\u7136\u540e\u8f93\u5165 Linux \u7528\u6237\u5bc6\u7801&#xff0c;\u6216\u8005\u4f7f\u7528\u5df2\u7ecf\u914d\u7f6e\u597d\u7684 SSH \u79c1\u94a5\u3002<\/p>\n<p>\u767b\u5f55\u6210\u529f\u540e&#xff0c;\u4f1a\u8fdb\u5165 Linux \u7ec8\u7aef&#xff1a;<\/p>\n<p>ubuntu&#064;ubuntu-server:~$<\/p>\n<p>\u5230\u8fd9\u91cc&#xff0c;Windows \u548c Linux \u7684\u57fa\u672c\u7ec4\u7f51\u5c31\u5b8c\u6210\u4e86\u3002<\/p>\n<p>\u5373\u4f7f\u4e24\u53f0\u8bbe\u5907\u4f7f\u7528\u4e0d\u540c\u8fd0\u8425\u5546\u3001\u4f4d\u4e8e\u4e0d\u540c\u57ce\u5e02&#xff0c;\u4e5f\u53ef\u4ee5\u901a\u8fc7 Tailscale \u5730\u5740\u76f4\u63a5\u8fde\u63a5\u3002<\/p>\n<h3>\u4e03\u3001\u4f7f\u7528\u8bbe\u5907\u540d\u79f0\u8fde\u63a5<\/h3>\n<p>\u6bcf\u6b21\u8f93\u5165 100.x.x.x \u5730\u5740\u8fd8\u662f\u6709\u70b9\u9ebb\u70e6\u3002<\/p>\n<p>Tailscale \u63d0\u4f9b\u4e86 MagicDNS \u529f\u80fd&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u8bbe\u5907\u540d\u79f0\u8bbf\u95ee\u670d\u52a1\u5668\u3002<\/p>\n<p>\u5047\u8bbe Linux \u670d\u52a1\u5668\u7684\u8bbe\u5907\u540d\u79f0\u662f&#xff1a;<\/p>\n<p>ubuntu-server<\/p>\n<p>\u90a3\u4e48\u53ef\u4ee5\u5728 Windows \u4e2d\u76f4\u63a5\u6267\u884c&#xff1a;<\/p>\n<p>ssh ubuntu&#064;ubuntu-server<\/p>\n<p>\u4e5f\u53ef\u4ee5\u6d4b\u8bd5&#xff1a;<\/p>\n<p>ping ubuntu-server<\/p>\n<p>\u6216\u8005&#xff1a;<\/p>\n<p>tailscale ping ubuntu-server<\/p>\n<p>\u5982\u679c\u8bbe\u5907\u540d\u79f0\u65e0\u6cd5\u89e3\u6790&#xff0c;\u53ef\u4ee5\u767b\u5f55 Tailscale \u7ba1\u7406\u540e\u53f0&#xff0c;\u68c0\u67e5 DNS \u9875\u9762\u4e2d\u7684 MagicDNS \u662f\u5426\u5df2\u7ecf\u542f\u7528\u3002<\/p>\n<p>\u8bbe\u5907\u540d\u79f0\u4e5f\u53ef\u4ee5\u5728\u7ba1\u7406\u540e\u53f0\u4fee\u6539\u3002\u76f8\u6bd4\u8bb0\u4f4f\u4e00\u4e32 IP&#xff0c;\u7ed9\u670d\u52a1\u5668\u8bbe\u7f6e\u4e00\u4e2a\u5bb9\u6613\u8bc6\u522b\u7684\u540d\u79f0\u4f1a\u65b9\u4fbf\u5f88\u591a&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p>home-server<br \/>\nweb-server<br \/>\ndocker-server<br \/>\nnas<\/p>\n<h3>\u516b\u3001\u6d4b\u8bd5\u8bbf\u95ee Linux \u4e0a\u7684 Web \u670d\u52a1<\/h3>\n<p>Tailscale \u4e0d\u53ea\u80fd\u7528\u6765\u8fde\u63a5 SSH&#xff0c;\u4e5f\u53ef\u4ee5\u8bbf\u95ee Linux \u4e0a\u8fd0\u884c\u7684\u7f51\u7ad9\u3001\u9762\u677f\u548c\u5f00\u53d1\u670d\u52a1\u3002<\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u4e34\u65f6\u542f\u52a8\u4e00\u4e2a\u7b80\u5355\u7684 HTTP \u670d\u52a1\u8fdb\u884c\u6d4b\u8bd5\u3002<\/p>\n<p>\u5728 Linux \u4e2d\u521b\u5efa\u4e00\u4e2a\u76ee\u5f55&#xff1a;<\/p>\n<p>mkdir -p ~\/tailscale-test<br \/>\ncd ~\/tailscale-test<\/p>\n<p>\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7f51\u9875&#xff1a;<\/p>\n<p>echo &#039;Hello from Linux Server&#039; &gt; index.html<\/p>\n<p>\u542f\u52a8 Python HTTP \u670d\u52a1&#xff1a;<\/p>\n<p>python3 -m http.server 8080<\/p>\n<p>\u7136\u540e\u5728 Windows \u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee&#xff1a;<\/p>\n<p>http:\/\/100.86.20.15:8080<\/p>\n<p>\u5982\u679c MagicDNS \u53ef\u7528&#xff0c;\u4e5f\u53ef\u4ee5\u76f4\u63a5\u8bbf\u95ee&#xff1a;<\/p>\n<p>http:\/\/ubuntu-server:8080<\/p>\n<p>\u770b\u5230 Hello from Linux Server&#xff0c;\u8bf4\u660e Windows \u5df2\u7ecf\u53ef\u4ee5\u8bbf\u95ee Linux \u4e0a\u8fd0\u884c\u7684 Web \u670d\u52a1\u3002<\/p>\n<p>\u5b9e\u9645\u4f7f\u7528\u4e2d&#xff0c;\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u8bbf\u95ee\u5f88\u591a\u670d\u52a1&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<ul>\n<li>\n<p>Docker \u7ba1\u7406\u9762\u677f&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5b9d\u5854\u9762\u677f&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6570\u636e\u5e93\u7ba1\u7406\u5de5\u5177&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Jellyfin&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Home Assistant&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u81ea\u5df1\u5f00\u53d1\u7684\u540e\u53f0\u7cfb\u7edf&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u53ea\u4f9b\u5185\u90e8\u4f7f\u7528\u7684 API&#xff1b;<\/p>\n<\/li>\n<li>\n<p>NAS \u7ba1\u7406\u9875\u9762\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u8fd9\u4e9b\u670d\u52a1\u4e0d\u4e00\u5b9a\u9700\u8981\u5f00\u653e\u5230\u516c\u7f51&#xff0c;\u53ea\u8981\u901a\u8fc7 Tailscale \u8bbf\u95ee\u5373\u53ef\u3002<\/p>\n<h3>\u4e5d\u3001\u786e\u8ba4\u6210\u529f\u540e\u5173\u95ed\u516c\u7f51 SSH<\/h3>\n<p>\u5f53\u4e0b\u9762\u51e0\u9879\u90fd\u6d4b\u8bd5\u6b63\u5e38\u540e&#xff0c;\u53ef\u4ee5\u8003\u8651\u5173\u95ed\u4e91\u670d\u52a1\u5668\u5b89\u5168\u7ec4\u4e2d\u7684\u516c\u7f51 22 \u7aef\u53e3&#xff1a;<\/p>\n<ul>\n<li>\n<p>Windows \u548c Linux \u90fd\u663e\u793a\u5728\u7ebf&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Windows \u53ef\u4ee5\u8fde\u63a5 Linux \u7684 Tailscale IP&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528 SSH \u767b\u5f55\u6ca1\u6709\u95ee\u9898&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Linux \u91cd\u542f\u540e Tailscale \u53ef\u4ee5\u81ea\u52a8\u4e0a\u7ebf&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4e91\u670d\u52a1\u5546\u63d0\u4f9b\u7f51\u9875\u7ec8\u7aef\u6216\u6551\u63f4\u63a7\u5236\u53f0\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u4e91\u670d\u52a1\u5668\u5b89\u5168\u7ec4\u4e2d\u7ecf\u5e38\u4f1a\u6709\u7c7b\u4f3c\u89c4\u5219&#xff1a;<\/p>\n<p>\u534f\u8bae&#xff1a;TCP<br \/>\n\u7aef\u53e3&#xff1a;22<br \/>\n\u6765\u6e90&#xff1a;0.0.0.0\/0<\/p>\n<p>\u5176\u4e2d 0.0.0.0\/0 \u8868\u793a\u5141\u8bb8\u6240\u6709\u516c\u7f51 IP \u5c1d\u8bd5\u8bbf\u95ee\u670d\u52a1\u5668\u7684 22 \u7aef\u53e3\u3002<\/p>\n<p>\u786e\u8ba4 Tailscale \u8fde\u63a5\u6ca1\u6709\u95ee\u9898\u540e&#xff0c;\u53ef\u4ee5\u5220\u9664\u8fd9\u6761\u89c4\u5219&#xff0c;\u6216\u8005\u81f3\u5c11\u628a\u6765\u6e90\u9650\u5236\u5230\u81ea\u5df1\u7684\u56fa\u5b9a IP\u3002<\/p>\n<p>\u5173\u95ed\u516c\u7f51\u7aef\u53e3\u540e&#xff0c;\u4ecd\u7136\u53ef\u4ee5\u901a\u8fc7 Tailscale \u767b\u5f55&#xff1a;<\/p>\n<p>ssh ubuntu&#064;ubuntu-server<\/p>\n<p>\u8fd9\u6837\u53ef\u4ee5\u51cf\u5c11\u670d\u52a1\u5668\u88ab\u626b\u63cf\u548c\u66b4\u529b\u7834\u89e3\u7684\u60c5\u51b5\u3002<\/p>\n<p>\u9700\u8981\u6ce8\u610f\u7684\u662f&#xff0c;\u5728\u5173\u95ed\u516c\u7f51 SSH \u4e4b\u524d&#xff0c;\u4e00\u5b9a\u8981\u4fdd\u7559\u5907\u7528\u767b\u5f55\u65b9\u5f0f\u3002\u4e07\u4e00 Tailscale \u914d\u7f6e\u51fa\u9519&#xff0c;\u8fd8\u53ef\u4ee5\u901a\u8fc7\u4e91\u5382\u5546\u63d0\u4f9b\u7684\u7f51\u9875\u7ec8\u7aef\u8fdb\u5165\u670d\u52a1\u5668\u4fee\u590d\u3002<\/p>\n<h3>\u5341\u3001\u67e5\u770b\u5f53\u524d\u662f\u76f4\u8fde\u8fd8\u662f\u4e2d\u7ee7<\/h3>\n<p>\u5728 Windows PowerShell \u4e2d\u6267\u884c&#xff1a;<\/p>\n<p>tailscale ping ubuntu-server<\/p>\n<p>\u7ed3\u679c\u4e2d\u53ef\u80fd\u4f1a\u663e\u793a\u8fde\u63a5\u7c7b\u578b\u3002<\/p>\n<p>\u5982\u679c\u770b\u5230\u7c7b\u4f3c&#xff1a;<\/p>\n<p>via 192.168.x.x:41641<\/p>\n<p>\u901a\u5e38\u8868\u793a\u4e24\u53f0\u8bbe\u5907\u5df2\u7ecf\u5efa\u7acb\u76f4\u63a5\u8fde\u63a5\u3002<\/p>\n<p>\u5982\u679c\u770b\u5230&#xff1a;<\/p>\n<p>via DERP<\/p>\n<p>\u8bf4\u660e\u5f53\u524d\u8fde\u63a5\u7ecf\u8fc7\u4e86 Tailscale \u4e2d\u7ee7\u670d\u52a1\u5668\u3002<\/p>\n<p>\u7ecf\u8fc7\u4e2d\u7ee7\u4e5f\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528&#xff0c;\u53ea\u662f\u901f\u5ea6\u548c\u5ef6\u8fdf\u53ef\u80fd\u4e0d\u5982\u76f4\u8fde\u3002<\/p>\n<p>\u4e00\u822c\u7684 SSH\u3001\u670d\u52a1\u5668\u7ba1\u7406\u548c\u540e\u53f0\u8bbf\u95ee&#xff0c;\u5373\u4f7f\u8d70\u4e2d\u7ee7\u4e5f\u4e0d\u4f1a\u6709\u592a\u5927\u5f71\u54cd\u3002\u5982\u679c\u9700\u8981\u4f20\u8f93\u5927\u91cf\u6587\u4ef6&#xff0c;\u4e2d\u7ee7\u901f\u5ea6\u53ef\u80fd\u4f1a\u6bd4\u8f83\u660e\u663e\u3002<\/p>\n<h3>\u5341\u4e00\u3001\u670d\u52a1\u5668\u91cd\u542f\u540e\u65e0\u6cd5\u8fde\u63a5\u600e\u4e48\u529e<\/h3>\n<p>Tailscale \u5728\u6b63\u5e38\u5b89\u88c5\u540e\u4f1a\u4f5c\u4e3a\u7cfb\u7edf\u670d\u52a1\u8fd0\u884c\u3002<\/p>\n<p>\u53ef\u4ee5\u5728 Linux \u4e2d\u68c0\u67e5&#xff1a;<\/p>\n<p>sudo systemctl status tailscaled<\/p>\n<p>\u5982\u679c\u670d\u52a1\u6ca1\u6709\u542f\u52a8&#xff0c;\u53ef\u4ee5\u6267\u884c&#xff1a;<\/p>\n<p>sudo systemctl enable &#8211;now tailscaled<\/p>\n<p>\u7136\u540e\u67e5\u770b\u72b6\u6001&#xff1a;<\/p>\n<p>tailscale status<\/p>\n<p>\u5982\u679c\u8bbe\u5907\u8ba4\u8bc1\u5df2\u7ecf\u8fc7\u671f&#xff0c;\u53ef\u80fd\u9700\u8981\u91cd\u65b0\u767b\u5f55&#xff1a;<\/p>\n<p>sudo tailscale up &#8211;force-reauth<\/p>\n<p>\u5bf9\u4e8e\u957f\u671f\u8fd0\u884c\u7684\u670d\u52a1\u5668&#xff0c;\u8fd8\u53ef\u4ee5\u5728 Tailscale \u7ba1\u7406\u540e\u53f0\u4e2d\u67e5\u770b\u8bbe\u5907\u5bc6\u94a5\u7684\u6709\u6548\u671f\u3002<\/p>\n<p>\u662f\u5426\u5173\u95ed\u8bbe\u5907\u5bc6\u94a5\u8fc7\u671f&#xff0c;\u9700\u8981\u6839\u636e\u5b9e\u9645\u5b89\u5168\u9700\u6c42\u51b3\u5b9a\u3002\u5bb6\u7528\u670d\u52a1\u5668\u53ef\u4ee5\u8003\u8651&#xff0c;\u91cd\u8981\u7684\u751f\u4ea7\u670d\u52a1\u5668\u5219\u8981\u66f4\u52a0\u8c28\u614e\u3002<\/p>\n<h3>\u5341\u4e8c\u3001\u80fd\u8fde\u63a5 Tailscale&#xff0c;\u4f46 SSH \u5931\u8d25\u600e\u4e48\u529e<\/h3>\n<p>\u5148\u5728 Linux \u4e2d\u68c0\u67e5 SSH \u670d\u52a1&#xff1a;<\/p>\n<p>sudo systemctl status ssh<\/p>\n<p>\u68c0\u67e5 22 \u7aef\u53e3\u662f\u5426\u6b63\u5728\u76d1\u542c&#xff1a;<\/p>\n<p>sudo ss -lntp | grep &#039;:22&#039;<\/p>\n<p>\u518d\u68c0\u67e5 UFW&#xff1a;<\/p>\n<p>sudo ufw status<\/p>\n<p>\u5982\u679c\u6ca1\u6709\u5141\u8bb8 Tailscale \u7f51\u5361\u8bbf\u95ee SSH&#xff0c;\u53ef\u4ee5\u6dfb\u52a0&#xff1a;<\/p>\n<p>sudo ufw allow in on tailscale0 to any port 22 proto tcp<\/p>\n<p>\u8fd8\u53ef\u4ee5\u5728 Windows \u4e2d\u6d4b\u8bd5 22 \u7aef\u53e3&#xff1a;<\/p>\n<p>Test-NetConnection 100.86.20.15 -Port 22<\/p>\n<p>\u5982\u679c\u770b\u5230&#xff1a;<\/p>\n<p>TcpTestSucceeded : True<\/p>\n<p>\u8bf4\u660e Windows \u53ef\u4ee5\u8fde\u63a5\u5230 Linux \u7684 22 \u7aef\u53e3\u3002<\/p>\n<p>\u5982\u679c\u7aef\u53e3\u53ef\u4ee5\u8fde\u63a5&#xff0c;\u4f46 SSH \u767b\u5f55\u5931\u8d25&#xff0c;\u5c31\u8981\u68c0\u67e5 Linux \u7528\u6237\u540d\u3001\u5bc6\u7801\u3001\u5bc6\u94a5\u4ee5\u53ca \/etc\/ssh\/sshd_config \u914d\u7f6e\u3002<\/p>\n<h3>\u5341\u4e09\u3001Tailscale \u9002\u5408\u54ea\u4e9b\u573a\u666f<\/h3>\n<p>Windows \u8fde\u63a5 Linux \u670d\u52a1\u5668\u53ea\u662f Tailscale \u6700\u57fa\u7840\u7684\u7528\u6cd5\u3002<\/p>\n<p>\u5b83\u8fd8\u9002\u5408\u4e0b\u9762\u8fd9\u4e9b\u573a\u666f&#xff1a;<\/p>\n<h4>\u8fdc\u7a0b\u8bbf\u95ee\u5bb6\u5ead NAS<\/h4>\n<p>\u5373\u4f7f\u5bb6\u91cc\u6ca1\u6709\u516c\u7f51 IP&#xff0c;\u4e5f\u53ef\u4ee5\u4ece\u5916\u9762\u8bbf\u95ee NAS\u3002<\/p>\n<h4>\u7ba1\u7406\u591a\u53f0\u4e91\u670d\u52a1\u5668<\/h4>\n<p>\u628a\u4e0d\u540c\u4e91\u5e73\u53f0\u4e0a\u7684\u670d\u52a1\u5668\u653e\u8fdb\u540c\u4e00\u4e2a\u79c1\u6709\u7f51\u7edc&#xff0c;\u4e0d\u9700\u8981\u8ba9\u7ba1\u7406\u7aef\u53e3\u5168\u90e8\u66b4\u9732\u5728\u516c\u7f51\u3002<\/p>\n<h4>\u8bbf\u95ee Docker \u670d\u52a1<\/h4>\n<p>Portainer\u3001\u6570\u636e\u5e93\u3001\u76d1\u63a7\u9762\u677f\u7b49\u670d\u52a1\u53ef\u4ee5\u53ea\u5bf9 Tailscale \u7f51\u7edc\u5f00\u653e\u3002<\/p>\n<h4>\u8fde\u63a5\u5bb6\u5ead\u548c\u529e\u516c\u5ba4\u8bbe\u5907<\/h4>\n<p>\u5bb6\u91cc\u7684\u7535\u8111\u3001\u529e\u516c\u5ba4\u670d\u52a1\u5668\u548c\u51fa\u5dee\u65f6\u4f7f\u7528\u7684\u7b14\u8bb0\u672c&#xff0c;\u53ef\u4ee5\u52a0\u5165\u540c\u4e00\u4e2a\u7f51\u7edc\u3002<\/p>\n<h4>\u8bbf\u95ee\u5185\u7f51\u8bbe\u5907<\/h4>\n<p>\u901a\u8fc7\u5b50\u7f51\u8def\u7531\u529f\u80fd&#xff0c;\u8fd8\u53ef\u4ee5\u8bbf\u95ee\u65e0\u6cd5\u5b89\u88c5 Tailscale \u7684\u6253\u5370\u673a\u3001\u6444\u50cf\u5934\u548c\u5176\u4ed6\u5c40\u57df\u7f51\u8bbe\u5907\u3002<\/p>\n<h3>\u603b\u7ed3<\/h3>\n<p>Tailscale \u6700\u5438\u5f15\u4eba\u7684\u5730\u65b9\u4e0d\u662f\u529f\u80fd\u6709\u591a\u590d\u6742&#xff0c;\u800c\u662f\u5b83\u628a\u539f\u672c\u5f88\u9ebb\u70e6\u7684\u7ec4\u7f51\u8fc7\u7a0b\u7b80\u5316\u4e86\u3002<\/p>\n<p>\u4ee5\u524d\u60f3\u4ece Windows \u5b89\u5168\u8bbf\u95ee\u4e00\u53f0\u8fdc\u7a0b Linux \u670d\u52a1\u5668&#xff0c;\u53ef\u80fd\u8981\u8003\u8651&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u516c\u7f51 IP&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u52a8\u6001\u57df\u540d&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u8def\u7531\u5668\u7aef\u53e3\u6620\u5c04&#xff1b;<\/p>\n<\/li>\n<li>\n<p>VPN \u670d\u52a1\u5668&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u9632\u706b\u5899\u89c4\u5219&#xff1b;<\/p>\n<\/li>\n<li>\n<p>WireGuard \u5bc6\u94a5\u914d\u7f6e\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u4f7f\u7528 Tailscale \u540e&#xff0c;\u57fa\u672c\u6d41\u7a0b\u53ea\u5269\u4e0b&#xff1a;<\/p>\n<li>\n<p>\u5728 Linux \u4e0a\u5b89\u88c5\u5e76\u767b\u5f55&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5728 Windows \u4e0a\u5b89\u88c5\u5e76\u767b\u5f55&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528 Tailscale IP \u6216\u8bbe\u5907\u540d\u79f0\u8fde\u63a5\u3002<\/p>\n<\/li>\n<p>\u6700\u7ec8\u53ea\u9700\u8981\u4e00\u6761\u547d\u4ee4&#xff1a;<\/p>\n<p>ssh ubuntu&#064;ubuntu-server<\/p>\n<p>\u5bf9\u4e8e\u4e2a\u4eba\u670d\u52a1\u5668\u3001\u5bb6\u5ead\u5b9e\u9a8c\u5ba4\u548c\u5c0f\u56e2\u961f\u6765\u8bf4&#xff0c;\u8fd9\u79cd\u65b9\u5f0f\u8db3\u591f\u7b80\u5355&#xff0c;\u4e5f\u6bd4\u957f\u671f\u628a SSH\u3001\u6570\u636e\u5e93\u548c\u7ba1\u7406\u9762\u677f\u66b4\u9732\u5728\u516c\u7f51\u66f4\u7a33\u59a5\u3002<\/p>\n<p>\u539f\u6587\u94fe\u63a5&#xff1a;\u4e0d\u7528\u516c\u7f51 IP&#xff0c;\u628a Windows \u548c Linux \u670d\u52a1\u5668\u653e\u8fdb\u540c\u4e00\u4e2a\u5c40\u57df\u7f51&#xff1a;Tailscale \u7ec4\u7f51\u5b9e\u6218 | Harries Blog\u2122<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tailscale \u662f\u4ec0\u4e48<br \/>\nTailscale \u662f\u4e00\u4e2a\u57fa\u4e8e WireGuard \u7684\u7ec4\u7f51\u5de5\u5177\u3002<br \/>\n\u5b83\u53ef\u4ee5\u628a\u5206\u5e03\u5728\u4e0d\u540c\u7f51\u7edc\u4e2d\u7684\u7535\u8111\u3001\u670d\u52a1\u5668\u3001\u624b\u673a\u548c NAS \u8fde\u63a5\u8d77\u6765&#xff0c;\u8ba9\u8fd9\u4e9b\u8bbe\u5907\u50cf\u5728\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\u4e2d\u4e00\u6837\u901a\u4fe1\u3002<br \/>\n\u4f8b\u5982&#xff1a;<br \/>\n\u5bb6\u91cc\u7684 Windows \u7535\u8111<br \/>\n\u2502<br \/>\n\u2502 Tailscale \u52a0\u5bc6\u7f51\u7edc<br \/>\n\u2502<br \/>\n\u4e91\u670d\u52a1\u5668\u4e0a\u7684 LinuxWindows \u53ef\u80fd\u8fde\u63a5\u7684\u662f\u5bb6\u5ead\u5bbd\u5e26&#xff0c;Linux \u670d\u52a1\u5668\u53ef\u80fd\u90e8\u7f72\u5728 AWS\u3001\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u6216\u8005\u5176\u4ed6\u673a\u623f\u3002<br \/>\n\u5b83\u4eec\u4e0d\u5728\u540c\u4e00\u4e2a\u7269\u7406<\/p>\n","protected":false},"author":2,"featured_media":96989,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[205,149,43],"topic":[],"class_list":["post-96993","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-tcp-ip","tag-windows","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4e0d\u7528\u516c\u7f51 IP\uff0c\u628a Windows \u548c Linux \u670d\u52a1\u5668\u653e\u8fdb\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\uff1aTailscale \u7ec4\u7f51\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/96993.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4e0d\u7528\u516c\u7f51 IP\uff0c\u628a Windows \u548c Linux \u670d\u52a1\u5668\u653e\u8fdb\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\uff1aTailscale \u7ec4\u7f51\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Tailscale \u662f\u4ec0\u4e48 Tailscale \u662f\u4e00\u4e2a\u57fa\u4e8e WireGuard \u7684\u7ec4\u7f51\u5de5\u5177\u3002 \u5b83\u53ef\u4ee5\u628a\u5206\u5e03\u5728\u4e0d\u540c\u7f51\u7edc\u4e2d\u7684\u7535\u8111\u3001\u670d\u52a1\u5668\u3001\u624b\u673a\u548c NAS \u8fde\u63a5\u8d77\u6765&#xff0c;\u8ba9\u8fd9\u4e9b\u8bbe\u5907\u50cf\u5728\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\u4e2d\u4e00\u6837\u901a\u4fe1\u3002 \u4f8b\u5982&#xff1a; \u5bb6\u91cc\u7684 Windows \u7535\u8111 \u2502 \u2502 Tailscale \u52a0\u5bc6\u7f51\u7edc \u2502 \u4e91\u670d\u52a1\u5668\u4e0a\u7684 LinuxWindows \u53ef\u80fd\u8fde\u63a5\u7684\u662f\u5bb6\u5ead\u5bbd\u5e26&#xff0c;Linux \u670d\u52a1\u5668\u53ef\u80fd\u90e8\u7f72\u5728 AWS\u3001\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u6216\u8005\u5176\u4ed6\u673a\u623f\u3002 \u5b83\u4eec\u4e0d\u5728\u540c\u4e00\u4e2a\u7269\u7406\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/96993.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-28T13:10:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828131004-6a9188ac4e1b3.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/96993.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/96993.html\",\"name\":\"\u4e0d\u7528\u516c\u7f51 IP\uff0c\u628a Windows \u548c Linux \u670d\u52a1\u5668\u653e\u8fdb\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\uff1aTailscale \u7ec4\u7f51\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-28T13:10:06+00:00\",\"dateModified\":\"2026-08-28T13:10:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/96993.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/96993.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/96993.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4e0d\u7528\u516c\u7f51 IP\uff0c\u628a Windows \u548c Linux \u670d\u52a1\u5668\u653e\u8fdb\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\uff1aTailscale \u7ec4\u7f51\u5b9e\u6218\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4e0d\u7528\u516c\u7f51 IP\uff0c\u628a Windows \u548c Linux \u670d\u52a1\u5668\u653e\u8fdb\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\uff1aTailscale \u7ec4\u7f51\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/96993.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4e0d\u7528\u516c\u7f51 IP\uff0c\u628a Windows \u548c Linux \u670d\u52a1\u5668\u653e\u8fdb\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\uff1aTailscale \u7ec4\u7f51\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Tailscale \u662f\u4ec0\u4e48 Tailscale \u662f\u4e00\u4e2a\u57fa\u4e8e WireGuard \u7684\u7ec4\u7f51\u5de5\u5177\u3002 \u5b83\u53ef\u4ee5\u628a\u5206\u5e03\u5728\u4e0d\u540c\u7f51\u7edc\u4e2d\u7684\u7535\u8111\u3001\u670d\u52a1\u5668\u3001\u624b\u673a\u548c NAS \u8fde\u63a5\u8d77\u6765&#xff0c;\u8ba9\u8fd9\u4e9b\u8bbe\u5907\u50cf\u5728\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\u4e2d\u4e00\u6837\u901a\u4fe1\u3002 \u4f8b\u5982&#xff1a; \u5bb6\u91cc\u7684 Windows \u7535\u8111 \u2502 \u2502 Tailscale \u52a0\u5bc6\u7f51\u7edc \u2502 \u4e91\u670d\u52a1\u5668\u4e0a\u7684 LinuxWindows \u53ef\u80fd\u8fde\u63a5\u7684\u662f\u5bb6\u5ead\u5bbd\u5e26&#xff0c;Linux \u670d\u52a1\u5668\u53ef\u80fd\u90e8\u7f72\u5728 AWS\u3001\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u6216\u8005\u5176\u4ed6\u673a\u623f\u3002 \u5b83\u4eec\u4e0d\u5728\u540c\u4e00\u4e2a\u7269\u7406","og_url":"https:\/\/www.wsisp.com\/helps\/96993.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-28T13:10:06+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828131004-6a9188ac4e1b3.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/96993.html","url":"https:\/\/www.wsisp.com\/helps\/96993.html","name":"\u4e0d\u7528\u516c\u7f51 IP\uff0c\u628a Windows \u548c Linux \u670d\u52a1\u5668\u653e\u8fdb\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\uff1aTailscale \u7ec4\u7f51\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-28T13:10:06+00:00","dateModified":"2026-08-28T13:10:06+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/96993.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/96993.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/96993.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4e0d\u7528\u516c\u7f51 IP\uff0c\u628a Windows \u548c Linux \u670d\u52a1\u5668\u653e\u8fdb\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\uff1aTailscale \u7ec4\u7f51\u5b9e\u6218"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/96993","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=96993"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/96993\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/96989"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=96993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=96993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=96993"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=96993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}