{"id":6915,"date":"2026-07-09T04:08:09","date_gmt":"2026-07-08T20:08:09","guid":{"rendered":"https:\/\/blog.lss.lol\/index.php\/2026\/07\/09\/cloudflare-tunnel%ef%bc%9a%e8%b7%a8%e5%a2%83%e7%94%b5%e5%95%86%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%89%e5%85%a8%e8%ae%bf%e9%97%ae%e7%9a%84%e5%85%8d%e8%b4%b9%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88\/"},"modified":"2026-07-09T04:08:09","modified_gmt":"2026-07-08T20:08:09","slug":"cloudflare-tunnel%ef%bc%9a%e8%b7%a8%e5%a2%83%e7%94%b5%e5%95%86%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%89%e5%85%a8%e8%ae%bf%e9%97%ae%e7%9a%84%e5%85%8d%e8%b4%b9%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88","status":"publish","type":"post","link":"https:\/\/blog.lss.lol\/index.php\/2026\/07\/09\/cloudflare-tunnel%ef%bc%9a%e8%b7%a8%e5%a2%83%e7%94%b5%e5%95%86%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%89%e5%85%a8%e8%ae%bf%e9%97%ae%e7%9a%84%e5%85%8d%e8%b4%b9%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88\/","title":{"rendered":"Cloudflare Tunnel\uff1a\u8de8\u5883\u7535\u5546\u670d\u52a1\u5668\u5b89\u5168\u8bbf\u95ee\u7684\u514d\u8d39\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"<h2><a href=\"https:\/\/ctm.lss.lol\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"color: #2271b1;text-decoration: underline\">Cloudflare Tunnel<\/a>\uff1a<a href=\"https:\/\/ctm.lss.lol\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"color: #2271b1;text-decoration: underline\">\u8de8\u5883\u7535\u5546\u670d\u52a1\u5668<\/a>\u7684\u9690\u5f62\u6865\u6881<\/h2>\n<p>\u8de8\u5883\u7535\u5546\u5356\u5bb6\u5e38\u5e38\u9762\u4e34\u4e00\u4e2a\u96be\u9898\uff1a\u56fd\u5185\u90e8\u7f72\u7684\u670d\u52a1\u5668\u5b58\u50a8\u7740\u4ea7\u54c1\u6570\u636e\u3001\u8ba2\u5355\u7cfb\u7edf\u548c\u5ba2\u6237\u4fe1\u606f\uff0c\u4f46\u6d77\u5916\u8fd0\u8425\u56e2\u961f\u8bbf\u95ee\u65f6\u8981\u4e48\u901f\u5ea6\u7f13\u6162\uff0c\u8981\u4e48\u56e0\u5730\u57df\u9650\u5236\u65e0\u6cd5\u8fde\u63a5\u3002\u4f20\u7edf\u7684VPN\u6216\u4e13\u7ebf\u65b9\u6848\u6210\u672c\u9ad8\uff0c\u4e14\u914d\u7f6e\u590d\u6742\uff0c\u5bf9\u4e8e\u4e2d\u5c0f\u5356\u5bb6\u6765\u8bf4\u5e76\u4e0d\u53cb\u597d\u3002\u8fd9\u65f6\uff0c<strong><a href=\"https:\/\/ctm.lss.lol\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"color: #2271b1;text-decoration: underline\">Cloudflare Tunnel<\/a><\/strong>\u4f5c\u4e3a\u4e00\u6b3e\u514d\u8d39\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u5177\uff0c\u6210\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\u7684\u7406\u60f3\u9009\u62e9\u3002<\/p>\n<h3>Cloudflare Tunnel\u7684\u6838\u5fc3\u539f\u7406<\/h3>\n<p>Cloudflare Tunnel\u901a\u8fc7\u5728\u4f60\u7684\u670d\u52a1\u5668\u548cCloudflare\u5168\u7403\u7f51\u7edc\u4e4b\u95f4\u5efa\u7acb\u4e00\u6761\u52a0\u5bc6\u7684\u53cd\u5411\u4ee3\u7406\u901a\u9053\uff0c\u8ba9\u5916\u7f51\u7528\u6237\u53ef\u4ee5\u901a\u8fc7Cloudflare\u7684\u57df\u540d\u5b89\u5168\u8bbf\u95ee\u5185\u7f51\u8d44\u6e90\u3002\u5b83\u4e0d\u9700\u8981\u4f60\u62e5\u6709\u516c\u7f51IP\uff0c\u4e5f\u4e0d\u7528\u5728\u8def\u7531\u5668\u4e0a\u505a\u7aef\u53e3\u6620\u5c04\uff0c\u6781\u5927\u964d\u4f4e\u4e86\u914d\u7f6e\u95e8\u69db\u3002<\/p>\n<h2>\u4e3a\u4ec0\u4e48\u8de8\u5883\u7535\u5546\u5356\u5bb6\u9700\u8981Cloudflare Tunnel\uff1f<\/h2>\n<ul>\n<li><strong>\u96f6\u6210\u672c\u8de8\u5883\u8bbf\u95ee<\/strong>\uff1aCloudflare Tunnel\u57fa\u7840\u529f\u80fd\u5b8c\u5168\u514d\u8d39\uff0c\u76f8\u6bd4\u6bcf\u6708\u6570\u767e\u5143\u7684\u4e13\u7ebf\u670d\u52a1\uff0c\u80fd\u5e2e\u5356\u5bb6\u8282\u7701\u5927\u91cf\u8fd0\u8425\u6210\u672c\u3002<\/li>\n<li><strong>\u5b89\u5168\u52a0\u5bc6\u901a\u9053<\/strong>\uff1a\u6240\u6709\u6570\u636e\u901a\u8fc7TLS 1.3\u52a0\u5bc6\u4f20\u8f93\uff0c\u907f\u514d\u654f\u611f\u4fe1\u606f\u88ab\u62e6\u622a\u6216\u6cc4\u9732\uff0c\u7b26\u5408\u8de8\u5883\u7535\u5546\u7684\u6570\u636e\u5b89\u5168\u8981\u6c42\u3002<\/li>\n<li><strong>\u65e0\u9700\u516c\u7f51IP<\/strong>\uff1a\u5373\u4f7f\u4f60\u7684\u670d\u52a1\u5668\u6ca1\u6709\u516c\u7f51IP\uff0c\u4e5f\u80fd\u901a\u8fc7Cloudflare\u7684\u5168\u7403\u8282\u70b9\u5b9e\u73b0\u5916\u7f51\u8bbf\u95ee\uff0c\u9002\u5408\u5728\u5171\u4eab\u4e3b\u673a\u6216\u5185\u7f51\u73af\u5883\u4e2d\u90e8\u7f72\u3002<\/li>\n<li><strong>\u5168\u7403\u8282\u70b9\u52a0\u901f<\/strong>\uff1aCloudflare\u62e5\u6709\u904d\u5e03\u5168\u7403\u7684270+\u6570\u636e\u4e2d\u5fc3\uff0c\u6d77\u5916\u56e2\u961f\u8bbf\u95ee\u56fd\u5185\u670d\u52a1\u5668\u65f6\uff0c\u6570\u636e\u4f1a\u901a\u8fc7\u6700\u8fd1\u7684\u8282\u70b9\u8f6c\u53d1\uff0c\u663e\u8457\u63d0\u5347\u8bbf\u95ee\u901f\u5ea6\u3002<\/li>\n<\/ul>\n<h2>3\u6b65\u5feb\u901f\u642d\u5efaCloudflare Tunnel\u8fde\u63a5\u8de8\u5883\u7535\u5546\u670d\u52a1\u5668<\/h2>\n<ol>\n<li><strong>\u51c6\u5907Cloudflare\u8d26\u53f7\u4e0e\u57df\u540d<\/strong>\uff1a\u6ce8\u518cCloudflare\u8d26\u53f7\uff0c\u5c06\u4f60\u7684\u57df\u540d\u89e3\u6790\u5230Cloudflare\uff0c\u5e76\u5b8c\u6210\u57df\u540d\u9a8c\u8bc1\u3002<\/li>\n<li><strong>\u5b89\u88c5cloudflared\u5ba2\u6237\u7aef<\/strong>\uff1a\u5728\u4f60\u7684\u8de8\u5883\u7535\u5546\u670d\u52a1\u5668\u4e0a\u4e0b\u8f7d\u5e76\u5b89\u88c5cloudflared\u5de5\u5177\uff08\u652f\u6301Windows\u3001Linux\u3001macOS\u7b49\u7cfb\u7edf\uff09\u3002<\/li>\n<li><strong>\u521b\u5efa\u5e76\u914d\u7f6e\u96a7\u9053<\/strong>\uff1a\u901a\u8fc7\u547d\u4ee4\u884c\u521b\u5efa\u96a7\u9053\uff0c\u5c06\u670d\u52a1\u5668\u7684\u76ee\u6807\u7aef\u53e3\uff08\u598280\u3001443\uff09\u4e0eCloudflare\u57df\u540d\u7ed1\u5b9a\uff0c\u5b8c\u6210\u540e\u5373\u53ef\u901a\u8fc7\u57df\u540d\u8bbf\u95ee\u5185\u7f51\u670d\u52a1\u5668\u3002<\/li>\n<\/ol>\n<h2>Cloudflare Tunnel vs \u4f20\u7edf\u5185\u7f51\u7a7f\u900f\u5de5\u5177<\/h2>\n<table>\n<tr>\n<th>\u5bf9\u6bd4\u9879<\/th>\n<th>Cloudflare Tunnel<\/th>\n<th>\u4f20\u7edf\u5de5\u5177\uff08\u5982\u82b1\u751f\u58f3\uff09<\/th>\n<\/tr>\n<tr>\n<td>\u662f\u5426\u514d\u8d39<\/td>\n<td>\u57fa\u7840\u529f\u80fd\u5b8c\u5168\u514d\u8d39<\/td>\n<td>\u514d\u8d39\u7248\u9650\u5236\u591a\uff0c\u4ed8\u8d39\u7248\u4ef7\u683c\u8f83\u9ad8<\/td>\n<\/tr>\n<tr>\n<td>\u5b89\u5168\u6027<\/td>\n<td>TLS 1.3\u52a0\u5bc6\uff0cCloudflare\u5b89\u5168\u9632\u62a4<\/td>\n<td>\u90e8\u5206\u5de5\u5177\u52a0\u5bc6\u5f3a\u5ea6\u4f4e\uff0c\u6613\u53d7\u653b\u51fb<\/td>\n<\/tr>\n<tr>\n<td>\u516c\u7f51IP\u9700\u6c42<\/td>\n<td>\u4e0d\u9700\u8981<\/td>\n<td>\u9700\u8981<\/td>\n<\/tr>\n<tr>\n<td>\u8de8\u5883\u8bbf\u95ee\u901f\u5ea6<\/td>\n<td>\u5168\u7403\u8282\u70b9\u52a0\u901f\uff0c\u901f\u5ea6\u5feb<\/td>\n<td>\u4f9d\u8d56\u5355\u4e00\u670d\u52a1\u5668\uff0c\u901f\u5ea6\u4e0d\u7a33\u5b9a<\/td>\n<\/tr>\n<tr>\n<td>\u914d\u7f6e\u590d\u6742\u5ea6<\/td>\n<td>\u547d\u4ee4\u884c\u7b80\u5355\u914d\u7f6e\uff0c\u6587\u6863\u5b8c\u5584<\/td>\n<td>\u9700\u8def\u7531\u5668\u7aef\u53e3\u6620\u5c04\uff0c\u6b65\u9aa4\u7e41\u7410<\/td>\n<\/tr>\n<\/table>\n<h2>\u4e0d\u6b62\u670d\u52a1\u5668\uff1aCloudflare Tunnel\u52a9\u529bNAS\u5916\u7f51\u8bbf\u95ee<\/h2>\n<p>\u9664\u4e86\u8de8\u5883\u7535\u5546\u670d\u52a1\u5668\uff0cCloudflare Tunnel\u8fd8\u80fd\u89e3\u51b3NAS\u7684\u5916\u7f51\u8bbf\u95ee\u95ee\u9898\u3002\u5f88\u591a\u5356\u5bb6\u4f1a\u7528NAS\u5b58\u50a8\u4ea7\u54c1\u56fe\u7247\u3001\u89c6\u9891\u548c\u5907\u4efd\u6570\u636e\uff0c\u901a\u8fc7Tunnel\u53ef\u4ee5\u8ba9\u56e2\u961f\u5728\u4efb\u4f55\u5730\u65b9\u5b89\u5168\u8bbf\u95eeNAS\u8d44\u6e90\uff0c\u65e0\u9700\u62c5\u5fc3\u6570\u636e\u6cc4\u9732\u6216\u8bbf\u95ee\u9650\u5236\u3002\u914d\u7f6e\u65b9\u6cd5\u4e0e\u670d\u52a1\u5668\u7c7b\u4f3c\uff0c\u53ea\u9700\u5c06NAS\u7684\u7aef\u53e3\uff08\u5982SMB\u3001FTP\uff09\u901a\u8fc7\u96a7\u9053\u66b4\u9732\u5373\u53ef\u3002<\/p>\n<blockquote><p>Cloudflare Tunnel\u901a\u8fc7\u96f6\u6210\u672c\u7684\u52a0\u5bc6\u901a\u9053\uff0c\u8ba9\u8de8\u5883\u7535\u5546\u56e2\u961f\u5b9e\u73b0\u9ad8\u6548\u3001\u5b89\u5168\u7684\u5185\u7f51\u8d44\u6e90\u8bbf\u95ee\uff0c\u662f\u4e2d\u5c0f\u5356\u5bb6\u964d\u4f4e\u8fd0\u8425\u6210\u672c\u3001\u63d0\u5347\u56e2\u961f\u534f\u4f5c\u6548\u7387\u7684\u7406\u60f3\u9009\u62e9\u3002<\/p><\/blockquote>\n<p>\u5b9e\u9645\u4f7f\u7528\u4e2d\uff0c\u5356\u5bb6\u8fd8\u53ef\u4ee5\u4e3a\u4e0d\u540c\u7684\u670d\u52a1\u521b\u5efa\u591a\u4e2a\u96a7\u9053\uff0c\u6bd4\u5982\u5c06\u8ba2\u5355\u7cfb\u7edf\u548c\u4ea7\u54c1\u5e93\u5206\u5f00\u7ba1\u7406\uff0c\u6216\u8005\u8bbe\u7f6e\u8bbf\u95ee\u6743\u9650\u63a7\u5236\uff0c\u786e\u4fdd\u53ea\u6709\u6388\u6743\u4eba\u5458\u80fd\u8bbf\u95ee\u654f\u611f\u6570\u636e\u3002\u6b64\u5916\uff0cCloudflare\u7684 dashboard \u53ef\u4ee5\u5b9e\u65f6\u76d1\u63a7\u96a7\u9053\u72b6\u6001\uff0c\u53ca\u65f6\u53d1\u73b0\u5e76\u89e3\u51b3\u8fde\u63a5\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cloudflare Tunnel\uff1a\u8de8\u5883\u7535\u5546\u670d\u52a1\u5668\u7684\u9690\u5f62\u6865\u6881 \u8de8\u5883\u7535\u5546\u5356\u5bb6\u5e38\u5e38\u9762\u4e34\u4e00\u4e2a\u96be\u9898\uff1a\u56fd\u5185\u90e8\u7f72\u7684\u670d\u52a1\u5668\u5b58 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6916,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-6915","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cftm"],"_links":{"self":[{"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/posts\/6915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/comments?post=6915"}],"version-history":[{"count":0,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/posts\/6915\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/media\/6916"}],"wp:attachment":[{"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/media?parent=6915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/categories?post=6915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/tags?post=6915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}