{"id":6583,"date":"2026-06-02T00:25:41","date_gmt":"2026-06-01T16:25:41","guid":{"rendered":"https:\/\/blog.lss.lol\/index.php\/2026\/06\/02\/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%e7%9a%84%e5%85%8d%e8%b4%b9%e5%a4%96%e7%bd%91%e8%ae%bf%e9%97%ae%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88-12\/"},"modified":"2026-06-02T00:25:41","modified_gmt":"2026-06-01T16:25:41","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%e7%9a%84%e5%85%8d%e8%b4%b9%e5%a4%96%e7%bd%91%e8%ae%bf%e9%97%ae%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88-12","status":"publish","type":"post","link":"https:\/\/blog.lss.lol\/index.php\/2026\/06\/02\/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%e7%9a%84%e5%85%8d%e8%b4%b9%e5%a4%96%e7%bd%91%e8%ae%bf%e9%97%ae%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88-12\/","title":{"rendered":"Cloudflare Tunnel\uff1a\u8de8\u5883\u7535\u5546\u670d\u52a1\u5668\u7684\u514d\u8d39\u5916\u7f51\u8bbf\u95ee\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"<p>\u5bf9\u4e8e\u8de8\u5883\u7535\u5546\u5356\u5bb6\u800c\u8a00\uff0c\u670d\u52a1\u5668\u7684\u5916\u7f51\u8bbf\u95ee\u7a33\u5b9a\u6027\u76f4\u63a5\u5f71\u54cd\u5e97\u94fa\u8fd0\u8425\u6548\u7387\u2014\u2014\u65e0\u8bba\u662f\u7ba1\u7406\u5e93\u5b58\u7cfb\u7edf\u3001\u67e5\u770b\u8ba2\u5355\u6570\u636e\u8fd8\u662f\u7ef4\u62a4\u5ba2\u6237\u670d\u52a1\uff0c\u90fd\u9700\u8981\u968f\u65f6\u80fd\u5b89\u5168\u5feb\u901f\u5730\u8bbf\u95ee\u4f4d\u4e8e\u5185\u7f51\u7684\u670d\u52a1\u5668\u3002\u4f46\u516c\u7f51IP\u8d44\u6e90\u7a00\u7f3a\u3001\u4f20\u7edf\u7a7f\u900f\u5de5\u5177\u6210\u672c\u9ad8\u4e14\u5b89\u5168\u6027\u4e0d\u8db3\uff0c\u8fd9\u4e9b\u95ee\u9898\u5e38\u5e38\u56f0\u6270\u7740\u4e2d\u5c0f\u5356\u5bb6\u3002<a href=\"https:\/\/ctm.lss.lol\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"color: #2271b1;text-decoration: underline\">Cloudflare Tunnel<\/a>\u7684\u51fa\u73b0\uff0c\u4e3a\u89e3\u51b3\u8fd9\u4e00\u75db\u70b9\u63d0\u4f9b\u4e86\u65b0\u7684\u601d\u8def\u3002<\/p>\n<h2>\u4ec0\u4e48\u662f<a href=\"https:\/\/ctm.lss.lol\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"color: #2271b1;text-decoration: underline\">Cloudflare Tunnel<\/a>\uff1f<\/h2>\n<p><strong><a href=\"https:\/\/ctm.lss.lol\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"color: #2271b1;text-decoration: underline\">Cloudflare Tunnel<\/a><\/strong>\u662fCloudflare\u63a8\u51fa\u7684\u4e00\u6b3e\u514d\u8d39\u5185\u7f51\u7a7f\u900f\u5de5\u5177\uff0c\u5b83\u901a\u8fc7Cloudflare\u5168\u7403\u5206\u5e03\u7684\u8fb9\u7f18\u7f51\u7edc\uff0c\u5c06\u672c\u5730\u5185\u7f51\u670d\u52a1\uff08\u5982\u670d\u52a1\u5668\u3001NAS\u7b49\uff09\u5b89\u5168\u5730\u66b4\u9732\u5230\u516c\u7f51\uff0c\u65e0\u9700\u989d\u5916\u8d2d\u4e70\u516c\u7f51IP\u6216\u914d\u7f6e\u590d\u6742\u7684\u8def\u7531\u5668\u7aef\u53e3\u6620\u5c04\u3002\u5176\u6838\u5fc3\u4f18\u52bf\u5728\u4e8e\u5229\u7528Cloudflare\u7684CDN\u52a0\u901f\u80fd\u529b\u548c\u5b89\u5168\u9632\u62a4\u4f53\u7cfb\uff0c\u8ba9\u5185\u7f51\u670d\u52a1\u7684\u8bbf\u95ee\u65e2\u5feb\u901f\u53c8\u53ef\u9760\u3002<\/p>\n<h2>Cloudflare Tunnel\u5982\u4f55\u52a9\u529b\u8de8\u5883\u7535\u5546\u670d\u52a1\u5668\uff1f<\/h2>\n<ul>\n<li><strong>\u96f6\u6210\u672c\u516c\u7f51\u8bbf\u95ee<\/strong>\uff1a\u57fa\u7840\u529f\u80fd\u5b8c\u5168\u514d\u8d39\uff0c\u4e2d\u5c0f\u5356\u5bb6\u65e0\u9700\u627f\u62c5\u989d\u5916\u7684\u516c\u7f51IP\u8d39\u7528\u6216\u7a7f\u900f\u5de5\u5177\u8ba2\u9605\u8d39\uff0c\u964d\u4f4e\u8fd0\u8425\u6210\u672c\u3002<\/li>\n<li><strong>\u5168\u7403\u52a0\u901f\u8bbf\u95ee<\/strong>\uff1a\u501f\u52a9Cloudflare\u8986\u76d6\u5168\u7403\u7684275+\u6570\u636e\u4e2d\u5fc3\uff0c\u6d77\u5916\u5ba2\u6237\u6216\u5356\u5bb6\u8bbf\u95ee\u670d\u52a1\u5668\u65f6\uff0c\u6570\u636e\u4f1a\u901a\u8fc7\u6700\u8fd1\u7684\u8282\u70b9\u4f20\u8f93\uff0c\u5927\u5e45\u63d0\u5347\u8bbf\u95ee\u901f\u5ea6\uff0c\u51cf\u5c11\u9875\u9762\u52a0\u8f7d\u5ef6\u8fdf\u3002<\/li>\n<li><strong>\u5185\u7f6e\u5b89\u5168\u9632\u62a4<\/strong>\uff1aCloudflare\u7684DDoS\u9632\u62a4\u3001WAF\uff08Web\u5e94\u7528\u9632\u706b\u5899\uff09\u7b49\u529f\u80fd\u4f1a\u81ea\u52a8\u4fdd\u62a4\u901a\u8fc7Tunnel\u66b4\u9732\u7684\u670d\u52a1\uff0c\u907f\u514d\u670d\u52a1\u5668\u906d\u53d7\u6076\u610f\u653b\u51fb\u3002<\/li>\n<li><strong>\u7b80\u5355\u6613\u7528\u7684\u914d\u7f6e<\/strong>\uff1a\u901a\u8fc7\u547d\u4ee4\u884c\u5de5\u5177\u6216Cloudflare\u63a7\u5236\u53f0\u5373\u53ef\u5feb\u901f\u5b8c\u6210\u914d\u7f6e\uff0c\u65e0\u9700\u4e13\u4e1a\u7684\u7f51\u7edc\u77e5\u8bc6\uff0c\u5356\u5bb6\u53ef\u4ee5\u8f7b\u677e\u4e0a\u624b\u3002<\/li>\n<\/ul>\n<h2>\u57fa\u4e8ectm.lss.lol\u7684\u5feb\u901f\u914d\u7f6e\u6b65\u9aa4<\/h2>\n<p>\u6839\u636ectm.lss.lol\u63d0\u4f9b\u7684\u6307\u5357\uff0c\u914d\u7f6eCloudflare Tunnel\u53ea\u9700\u4ee5\u4e0b\u51e0\u6b65\uff1a<\/p>\n<ol>\n<li><strong>\u51c6\u5907\u5de5\u4f5c<\/strong>\uff1a\u6ce8\u518cCloudflare\u8d26\u53f7\uff0c\u62e5\u6709\u4e00\u4e2a\u5df2\u89e3\u6790\u5230Cloudflare\u7684\u57df\u540d\uff08\u5982yourshop.com\uff09\u3002<\/li>\n<li><strong>\u5b89\u88c5Cloudflared\u5ba2\u6237\u7aef<\/strong>\uff1a\u5728\u670d\u52a1\u5668\u4e0a\u4e0b\u8f7d\u5e76\u5b89\u88c5Cloudflared\uff08\u652f\u6301Windows\u3001Linux\u3001macOS\u7b49\u7cfb\u7edf\uff09\u3002<\/li>\n<li><strong>\u767b\u5f55\u5e76\u521b\u5efaTunnel<\/strong>\uff1a\u901a\u8fc7\u547d\u4ee4\u884c\u767b\u5f55Cloudflare\u8d26\u53f7\uff0c\u521b\u5efa\u65b0\u7684Tunnel\uff0c\u5e76\u7ed1\u5b9a\u9700\u8981\u66b4\u9732\u7684\u672c\u5730\u670d\u52a1\u7aef\u53e3\uff08\u598280\u7aef\u53e3\u7684Web\u670d\u52a1\uff09\u3002<\/li>\n<li><strong>\u914d\u7f6e\u57df\u540d\u89e3\u6790<\/strong>\uff1a\u5728Cloudflare\u63a7\u5236\u53f0\u4e3aTunnel\u5206\u914d\u4e00\u4e2a\u5b50\u57df\u540d\uff08\u5982server.yourshop.com\uff09\uff0c\u6307\u5411Tunnel\u7684\u5165\u53e3\u3002<\/li>\n<li><strong>\u6d4b\u8bd5\u8bbf\u95ee<\/strong>\uff1a\u4f7f\u7528\u5206\u914d\u7684\u5b50\u57df\u540d\u8bbf\u95ee\u670d\u52a1\u5668\uff0c\u9a8c\u8bc1\u670d\u52a1\u662f\u5426\u6b63\u5e38\u8fd0\u884c\u3002<\/li>\n<\/ol>\n<h2>Cloudflare Tunnel\u4e0e\u4f20\u7edf\u5de5\u5177\u7684\u5bf9\u6bd4<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u5bf9\u6bd4\u7ef4\u5ea6<\/th>\n<th>Cloudflare Tunnel<\/th>\n<th>\u4f20\u7edf\u5185\u7f51\u7a7f\u900f\u5de5\u5177\uff08\u5982\u82b1\u751f\u58f3\uff09<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u662f\u5426\u9700\u8981\u516c\u7f51IP<\/td>\n<td>\u5426<\/td>\n<td>\u90e8\u5206\u9700\u8981<\/td>\n<\/tr>\n<tr>\n<td>\u57fa\u7840\u529f\u80fd\u6210\u672c<\/td>\n<td>\u514d\u8d39<\/td>\n<td>\u4ed8\u8d39\uff08\u6309\u6d41\u91cf\u6216\u65f6\u957f\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u6d77\u5916\u8bbf\u95ee\u901f\u5ea6<\/td>\n<td>\u5feb\uff08\u5168\u7403CDN\u52a0\u901f\uff09<\/td>\n<td>\u6162\uff08\u4f9d\u8d56\u5355\u4e00\u8282\u70b9\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u5b89\u5168\u9632\u62a4<\/td>\n<td>\u5f3a\uff08DDoS\u3001WAF\uff09<\/td>\n<td>\u5f31\uff08\u4ec5\u57fa\u7840\u9632\u62a4\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u4f7f\u7528\u65f6\u7684\u6ce8\u610f\u4e8b\u9879<\/h2>\n<ul>\n<li>\u4ec5\u66b4\u9732\u5fc5\u8981\u7684\u670d\u52a1\u7aef\u53e3\uff0c\u907f\u514d\u5c06\u654f\u611f\u7aef\u53e3\uff08\u598222 SSH\uff09\u76f4\u63a5\u66b4\u9732\uff0c\u53ef\u901a\u8fc7Cloudflare Access\u8bbe\u7f6e\u8bbf\u95ee\u6743\u9650\u3002<\/li>\n<li>\u5b9a\u671f\u66f4\u65b0Cloudflared\u5ba2\u6237\u7aef\uff0c\u4ee5\u83b7\u53d6\u6700\u65b0\u7684\u529f\u80fd\u548c\u5b89\u5168\u8865\u4e01\u3002<\/li>\n<li>\u5bf9\u4e8e\u9ad8\u6d41\u91cf\u7684\u670d\u52a1\uff0c\u53ef\u8003\u8651\u5347\u7ea7Cloudflare\u7684\u4ed8\u8d39\u8ba1\u5212\uff0c\u83b7\u5f97\u66f4\u9ad8\u7684\u5e26\u5bbd\u548c\u4f18\u5148\u7ea7\u652f\u6301\u3002<\/li>\n<\/ul>\n<blockquote><p>\u5bf9\u4e8e\u8de8\u5883\u7535\u5546\u5356\u5bb6\u6765\u8bf4\uff0cCloudflare Tunnel\u4e0d\u4ec5\u662f\u4e00\u4e2a\u514d\u8d39\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u5177\uff0c\u66f4\u662f\u63d0\u5347\u670d\u52a1\u5668\u8bbf\u95ee\u4f53\u9a8c\u548c\u5b89\u5168\u6027\u7684\u5229\u5668\u3002\u5b83\u89e3\u51b3\u4e86\u516c\u7f51IP\u4e0d\u8db3\u3001\u8bbf\u95ee\u901f\u5ea6\u6162\u7b49\u95ee\u9898\uff0c\u8ba9\u4e2d\u5c0f\u5356\u5bb6\u4e5f\u80fd\u4eab\u53d7\u5230\u4f01\u4e1a\u7ea7\u7684\u7f51\u7edc\u670d\u52a1\u3002<\/p><\/blockquote>\n<p>\u65e0\u8bba\u662f\u7ba1\u7406\u8de8\u5883\u7535\u5546\u670d\u52a1\u5668\uff0c\u8fd8\u662f\u5b9e\u73b0NAS\u7684\u5916\u7f51\u8bbf\u95ee\uff0cCloudflare Tunnel\u90fd\u662f\u4e00\u4e2a\u503c\u5f97\u5c1d\u8bd5\u7684\u9009\u62e9\u3002\u7ed3\u5408ctm.lss.lol\u63d0\u4f9b\u7684\u8be6\u7ec6\u6307\u5357\uff0c\u5356\u5bb6\u53ef\u4ee5\u5feb\u901f\u90e8\u7f72\u5e76\u5f00\u59cb\u4f7f\u7528\uff0c\u4e3a\u5e97\u94fa\u8fd0\u8425\u5e26\u6765\u66f4\u591a\u4fbf\u5229\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5bf9\u4e8e\u8de8\u5883\u7535\u5546\u5356\u5bb6\u800c\u8a00\uff0c\u670d\u52a1\u5668\u7684\u5916\u7f51\u8bbf\u95ee\u7a33\u5b9a\u6027\u76f4\u63a5\u5f71\u54cd\u5e97\u94fa\u8fd0\u8425\u6548\u7387\u2014\u2014\u65e0\u8bba\u662f\u7ba1\u7406\u5e93\u5b58\u7cfb\u7edf\u3001\u67e5\u770b\u8ba2\u5355\u6570\u636e\u8fd8\u662f\u7ef4\u62a4\u5ba2 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6584,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-6583","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\/6583","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=6583"}],"version-history":[{"count":0,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/posts\/6583\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/media\/6584"}],"wp:attachment":[{"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/media?parent=6583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/categories?post=6583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/tags?post=6583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}