{"id":5492,"date":"2026-02-05T20:16:01","date_gmt":"2026-02-05T12:16:01","guid":{"rendered":"https:\/\/blog.lss.lol\/index.php\/2026\/02\/05\/%e3%80%8acloudflare-tunnel%ef%bc%9a%e5%85%8d%e8%b4%b9%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e5%b7%a5%e5%85%b7%e7%9a%84%e5%85%a8%e8%83%bd%e5%ba%94%e7%94%a8-nas%e5%a4%96%e7%bd%91%e8%ae%bf\/"},"modified":"2026-02-05T20:16:01","modified_gmt":"2026-02-05T12:16:01","slug":"%e3%80%8acloudflare-tunnel%ef%bc%9a%e5%85%8d%e8%b4%b9%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e5%b7%a5%e5%85%b7%e7%9a%84%e5%85%a8%e8%83%bd%e5%ba%94%e7%94%a8-nas%e5%a4%96%e7%bd%91%e8%ae%bf","status":"publish","type":"post","link":"https:\/\/blog.lss.lol\/index.php\/2026\/02\/05\/%e3%80%8acloudflare-tunnel%ef%bc%9a%e5%85%8d%e8%b4%b9%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e5%b7%a5%e5%85%b7%e7%9a%84%e5%85%a8%e8%83%bd%e5%ba%94%e7%94%a8-nas%e5%a4%96%e7%bd%91%e8%ae%bf\/","title":{"rendered":"\u300aCloudflare Tunnel\uff1a\u514d\u8d39\u5185\u7f51\u7a7f\u900f\u5de5\u5177\u7684\u5168\u80fd\u5e94\u7528\u2014\u2014NAS\u5916\u7f51\u8bbf\u95ee\u4e0e\u8de8\u5883\u7535\u5546\u670d\u52a1\u5668\u7684\u5b89\u5168\u65b9\u6848\u300b"},"content":{"rendered":"<p>\u5f88\u591aNAS\u7528\u6237\u90fd\u6709\u8fc7\u8fd9\u6837\u7684\u56f0\u6270\uff1a\u5728\u5bb6\u80fd\u8f7b\u677e\u8bbf\u95ee\u5b58\u50a8\u7684\u7167\u7247\u548c\u6587\u4ef6\uff0c\u4f46\u51fa\u95e8\u540e\u5c31\u53ea\u80fd\u671b\u201c\u7f51\u201d\u5174\u53f9\u3002\u8de8\u5883\u7535\u5546\u5356\u5bb6\u5219\u5e38\u5e38\u9700\u8981\u5c06\u672c\u5730\u7684\u5e93\u5b58\u7ba1\u7406\u7cfb\u7edf\u66b4\u9732\u7ed9\u6d77\u5916\u56e2\u961f\uff0c\u5374\u62c5\u5fc3\u516c\u7f51IP\u66b4\u9732\u5e26\u6765\u7684\u5b89\u5168\u98ce\u9669\u3002<a href=\"https:\/\/ctm.lss.lol\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"color: #2271b1;text-decoration: underline\">Cloudflare Tunnel<\/a>\u4f5c\u4e3a\u4e00\u6b3e\u514d\u8d39\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u5177\uff0c\u6070\u597d\u89e3\u51b3\u4e86\u8fd9\u4e9b\u75db\u70b9\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><a href=\"https:\/\/ctm.lss.lol\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"color: #2271b1;text-decoration: underline\">Cloudflare Tunnel<\/a>\u662fCloudflare\u63a8\u51fa\u7684**\u96f6\u6210\u672c\u5185\u7f51\u7a7f\u900f\u670d\u52a1**\uff0c\u5b83\u901a\u8fc7\u5728\u672c\u5730\u8bbe\u5907\u4e0eCloudflare\u5168\u7403\u7f51\u7edc\u4e4b\u95f4\u5efa\u7acb\u4e00\u6761\u52a0\u5bc6\u96a7\u9053\uff0c\u5c06\u5185\u7f51\u670d\u52a1\u5b89\u5168\u5730\u66b4\u9732\u5230\u516c\u7f51\u3002\u4e0e\u4f20\u7edf\u7a7f\u900f\u5de5\u5177\u4e0d\u540c\uff0c\u5b83\u65e0\u9700\u516c\u7f51IP\u6216\u7aef\u53e3\u6620\u5c04\uff0c\u6240\u6709\u6d41\u91cf\u90fd\u7ecf\u8fc7Cloudflare\u7684CDN\u8282\u70b9\u4e2d\u8f6c\uff0c\u65e2\u4fdd\u8bc1\u4e86\u901f\u5ea6\u53c8\u63d0\u5347\u4e86\u5b89\u5168\u6027\u3002<\/p>\n<h2>Cloudflare Tunnel\u7684\u6838\u5fc3\u4f18\u52bf<\/h2>\n<ul>\n<li><strong>\u5b8c\u5168\u514d\u8d39<\/strong>\uff1a\u57fa\u7840\u529f\u80fd\u65e0\u4efb\u4f55\u8d39\u7528\uff0c\u5305\u62ec\u96a7\u9053\u521b\u5efa\u3001\u81ea\u5b9a\u4e49\u57df\u540d\u7ed1\u5b9a\u548c\u65e0\u9650\u6d41\u91cf\uff08\u975e\u5546\u4e1a\u7528\u9014\uff09<\/li>\n<li><strong>\u7aef\u5230\u7aef\u52a0\u5bc6<\/strong>\uff1a\u96a7\u9053\u91c7\u7528TLS 1.3\u52a0\u5bc6\uff0c\u9632\u6b62\u6570\u636e\u5728\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u88ab\u7a83\u53d6\u6216\u7be1\u6539<\/li>\n<li><strong>\u5168\u7403\u52a0\u901f<\/strong>\uff1a\u4f9d\u6258Cloudflare\u7684275+\u5168\u7403\u8282\u70b9\uff0c\u6d77\u5916\u8bbf\u95ee\u672c\u5730\u670d\u52a1\u65f6\u5ef6\u8fdf\u66f4\u4f4e<\/li>\n<li><strong>\u591a\u573a\u666f\u9002\u914d<\/strong>\uff1a\u652f\u6301NAS\u8bbe\u5907\uff08Synology\u3001QNAP\uff09\u3001Web\u670d\u52a1\u5668\u3001\u6570\u636e\u5e93\u7b49\u591a\u79cd\u5185\u7f51\u670d\u52a1<\/li>\n<\/ul>\n<h2>NAS\u5916\u7f51\u8bbf\u95ee\u7684\u5b9e\u6218\u914d\u7f6e\u6b65\u9aa4<\/h2>\n<p>\u4ee5Synology NAS\u4e3a\u4f8b\uff0c\u914d\u7f6eCloudflare Tunnel\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li>\u5728Cloudflare\u63a7\u5236\u53f0\u6dfb\u52a0\u4f60\u7684\u57df\u540d\uff0c\u5e76\u786e\u4fdd\u57df\u540d\u5df2\u5b8c\u6210DNS\u89e3\u6790<\/li>\n<li>\u5728NAS\u7684Package Center\u4e2d\u641c\u7d22\u5e76\u5b89\u88c5\u201cCloudflare Tunnel\u201d\u63d2\u4ef6\uff08\u6216\u901a\u8fc7Docker\u90e8\u7f72cloudflared\u5ba2\u6237\u7aef\uff09<\/li>\n<li>\u6253\u5f00\u63d2\u4ef6\uff0c\u8f93\u5165Cloudflare\u8d26\u53f7\u7684API\u4ee4\u724c\uff0c\u5b8c\u6210\u8bbe\u5907\u8ba4\u8bc1<\/li>\n<li>\u521b\u5efa\u65b0\u96a7\u9053\uff0c\u586b\u5199\u96a7\u9053\u540d\u79f0\uff0c\u5e76\u6dfb\u52a0\u670d\u52a1\u6620\u5c04\uff1a\u672c\u5730\u5730\u5740\u586b\u5199NAS\u7684\u5185\u7f51IP\uff08\u5982192.168.1.5:5000\uff09\uff0c\u516c\u7f51\u57df\u540d\u586b\u5199\u81ea\u5b9a\u4e49\u5b50\u57df\u540d\uff08\u5982nas.yourdomain.com\uff09<\/li>\n<li>\u4fdd\u5b58\u914d\u7f6e\u5e76\u542f\u52a8\u96a7\u9053\uff0c\u7b49\u5f85\u51e0\u5206\u949f\u540e\u5373\u53ef\u901a\u8fc7\u81ea\u5b9a\u4e49\u57df\u540d\u8bbf\u95eeNAS<\/li>\n<\/ol>\n<h2>\u8de8\u5883\u7535\u5546\u670d\u52a1\u5668\u7684\u5b89\u5168\u66b4\u9732\u65b9\u6848<\/h2>\n<p>\u8de8\u5883\u7535\u5546\u5356\u5bb6\u5e38\u5e38\u9700\u8981\u5c06\u672c\u5730\u7684ERP\u7cfb\u7edf\u6216\u8ba2\u5355\u7ba1\u7406\u5de5\u5177\u5206\u4eab\u7ed9\u6d77\u5916\u56e2\u961f\uff0c\u4f46\u76f4\u63a5\u66b4\u9732\u670d\u52a1\u5668IP\u5bb9\u6613\u906d\u53d7DDoS\u653b\u51fb\u3002\u4f7f\u7528Cloudflare Tunnel\u53ef\u4ee5\uff1a<\/p>\n<ul>\n<li>\u9690\u85cf\u670d\u52a1\u5668\u771f\u5b9eIP\uff0c\u907f\u514d\u88ab\u6076\u610f\u626b\u63cf<\/li>\n<li>\u5229\u7528Cloudflare\u7684WAF\uff08Web\u5e94\u7528\u9632\u706b\u5899\uff09\u62e6\u622a\u6076\u610f\u8bf7\u6c42<\/li>\n<li>\u901a\u8fc7Cloudflare Access\u8bbe\u7f6e\u8eab\u4efd\u9a8c\u8bc1\uff0c\u53ea\u6709\u6388\u6743\u7528\u6237\u624d\u80fd\u8bbf\u95ee\u7cfb\u7edf<\/li>\n<\/ul>\n<blockquote><p>\u5bf9\u4e8e\u4e2a\u4eba\u7528\u6237\u548c\u5c0f\u578b\u56e2\u961f\u6765\u8bf4\uff0cCloudflare Tunnel\u662f\u5185\u7f51\u7a7f\u900f\u5de5\u5177\u7684\u6700\u4f18\u9009\u62e9\u2014\u2014\u5b83\u4e0d\u4ec5\u514d\u8d39\uff0c\u8fd8\u80fd\u63d0\u4f9b\u4f01\u4e1a\u7ea7\u7684\u5b89\u5168\u4fdd\u969c\u3002<\/p><\/blockquote>\n<h2>\u4e3b\u6d41\u5185\u7f51\u7a7f\u900f\u5de5\u5177\u5bf9\u6bd4<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u5de5\u5177\u540d\u79f0<\/th>\n<th>\u8d39\u7528\u60c5\u51b5<\/th>\n<th>\u5b89\u5168\u7b49\u7ea7<\/th>\n<th>\u662f\u5426\u9700\u8981\u516c\u7f51IP<\/th>\n<th>\u64cd\u4f5c\u96be\u5ea6<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Cloudflare Tunnel<\/td>\n<td>\u514d\u8d39\uff08\u57fa\u7840\uff09<\/td>\n<td>\u9ad8\uff08TLS+WAF\uff09<\/td>\n<td>\u5426<\/td>\n<td>\u4f4e<\/td>\n<\/tr>\n<tr>\n<td>Ngrok<\/td>\n<td>\u514d\u8d39\uff08\u6709\u9650\u6d41\u91cf\uff09\/\u4ed8\u8d39<\/td>\n<td>\u4e2d<\/td>\n<td>\u5426<\/td>\n<td>\u4f4e<\/td>\n<\/tr>\n<tr>\n<td>\u82b1\u751f\u58f3<\/td>\n<td>\u4ed8\u8d39\uff08\u57fa\u7840\u72489\u5143\/\u6708\uff09<\/td>\n<td>\u4e2d<\/td>\n<td>\u5426<\/td>\n<td>\u4e2d<\/td>\n<\/tr>\n<tr>\n<td>FRP\u81ea\u5efa<\/td>\n<td>\u9700VPS\u6210\u672c\uff08\u7ea650\u5143\/\u6708\uff09<\/td>\n<td>\u4e2d\uff08\u4f9d\u8d56\u914d\u7f6e\uff09<\/td>\n<td>\u662f<\/td>\n<td>\u9ad8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u65e0\u8bba\u662fNAS\u7528\u6237\u8fd8\u662f\u8de8\u5883\u7535\u5546\u5356\u5bb6\uff0cCloudflare Tunnel\u90fd\u80fd\u63d0\u4f9b\u7a33\u5b9a\u3001\u5b89\u5168\u4e14\u514d\u8d39\u7684\u5185\u7f51\u7a7f\u900f\u670d\u52a1\u3002\u5b83\u7684\u6613\u7528\u6027\u548c\u591a\u529f\u80fd\u6027\uff0c\u8ba9\u5b83\u6210\u4e3a\u4e86\u5f53\u524d\u6700\u53d7\u6b22\u8fce\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u5177\u4e4b\u4e00\u3002\u53ea\u9700\u51e0\u5206\u949f\u7684\u914d\u7f6e\uff0c\u5c31\u80fd\u544a\u522b\u516c\u7f51IP\u7684\u9650\u5236\uff0c\u4eab\u53d7\u968f\u65f6\u968f\u5730\u8bbf\u95ee\u5185\u7f51\u670d\u52a1\u7684\u4fbf\u5229\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f88\u591aNAS\u7528\u6237\u90fd\u6709\u8fc7\u8fd9\u6837\u7684\u56f0\u6270\uff1a\u5728\u5bb6\u80fd\u8f7b\u677e\u8bbf\u95ee\u5b58\u50a8\u7684\u7167\u7247\u548c\u6587\u4ef6\uff0c\u4f46\u51fa\u95e8\u540e\u5c31\u53ea\u80fd\u671b\u201c\u7f51\u201d\u5174\u53f9\u3002\u8de8\u5883\u7535\u5546\u5356\u5bb6\u5219\u5e38\u5e38 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5493,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-5492","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\/5492","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=5492"}],"version-history":[{"count":0,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/posts\/5492\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/media\/5493"}],"wp:attachment":[{"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/media?parent=5492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/categories?post=5492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lss.lol\/index.php\/wp-json\/wp\/v2\/tags?post=5492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}