{"id":95895,"date":"2026-08-27T00:56:27","date_gmt":"2026-08-26T16:56:27","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/95895.html"},"modified":"2026-08-27T00:56:27","modified_gmt":"2026-08-26T16:56:27","slug":"linux-%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%bd%bf%e7%94%a8-cloudflare-tunnel-%e5%85%8d%e8%b4%b9%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/95895.html","title":{"rendered":"Linux \u670d\u52a1\u5668\u4f7f\u7528 Cloudflare Tunnel \u514d\u8d39\u5185\u7f51\u7a7f\u900f\u6559\u7a0b"},"content":{"rendered":"<h3>\u524d\u8a00<\/h3>\n<p>\u5f88\u591a\u65f6\u5019\u6211\u4eec\u9700\u8981\u628a\u672c\u5730\u670d\u52a1\u5668\u66b4\u9732\u5230\u516c\u7f51&#xff08;\u6bd4\u5982\u8ba9\u522b\u4eba\u8bbf\u95ee\u4f60\u7684 Web \u5e94\u7528&#xff09;&#xff0c;\u4f46\u53c8\u4e0d\u60f3\u76f4\u63a5\u66b4\u9732\u771f\u5b9e IP&#xff0c;\u4e5f\u4e0d\u60f3\u82b1\u94b1\u4e70\u4ed8\u8d39\u96a7\u9053\u670d\u52a1\u3002Cloudflare Tunnel&#xff08;cloudflared&#xff09;\u662f Cloudflare \u63d0\u4f9b\u7684\u514d\u8d39\u5185\u7f51\u7a7f\u900f\u65b9\u6848&#xff0c;\u65e0\u9700\u6ce8\u518c\u3001\u65e0\u8b66\u544a\u9875\u3001\u5f00\u7bb1\u5373\u7528\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u5b89\u88c5 cloudflared<\/h3>\n<h4>Ubuntu \/ Debian<\/h4>\n<p>\u65b9\u6cd5\u4e00&#xff1a;\u5b98\u65b9 apt \u6e90&#xff08;\u63a8\u8350&#xff09;<\/p>\n<p><span class=\"token comment\"># \u6dfb\u52a0 Cloudflare GPG \u5bc6\u94a5<\/span><br \/>\n<span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-fsSL<\/span> https:\/\/pkg.cloudflare.com\/cloudflare-main.gpg <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/usr\/share\/keyrings\/cloudflare-main.gpg <span class=\"token operator\">&gt;<\/span>\/dev\/null<\/p>\n<p><span class=\"token comment\"># \u6dfb\u52a0 apt \u6e90<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;deb [signed-by&#061;\/usr\/share\/keyrings\/cloudflare-main.gpg] https:\/\/pkg.cloudflare.com\/cloudflared bookworm main&#034;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/apt\/sources.list.d\/cloudflared.list<\/p>\n<p><span class=\"token comment\"># \u5b89\u88c5<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> cloudflared <span class=\"token parameter variable\">-y<\/span><\/p>\n<p>\u65b9\u6cd5\u4e8c&#xff1a;\u76f4\u63a5\u4e0b\u8f7d\u4e8c\u8fdb\u5236\u6587\u4ef6<\/p>\n<p><span class=\"token function\">wget<\/span> https:\/\/github.com\/cloudflare\/cloudflared\/releases\/latest\/download\/cloudflared-linux-amd64<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">mv<\/span> cloudflared-linux-amd64 \/usr\/local\/bin\/cloudflared<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">chmod<\/span> &#043;x \/usr\/local\/bin\/cloudflared<\/p>\n<h4>CentOS \/ RHEL \/ Fedora<\/h4>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">rpm<\/span> <span class=\"token parameter variable\">-ivh<\/span> https:\/\/github.com\/cloudflare\/cloudflared\/releases\/latest\/download\/cloudflared-linux-x86_64.rpm<\/p>\n<h4>\u901a\u7528\u65b9\u5f0f&#xff08;\u4efb\u4f55 Linux \u53d1\u884c\u7248&#xff09;<\/h4>\n<p><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-L<\/span> https:\/\/github.com\/cloudflare\/cloudflared\/releases\/latest\/download\/cloudflared-linux-amd64 <span class=\"token parameter variable\">-o<\/span> \/usr\/local\/bin\/cloudflared<br \/>\n<span class=\"token function\">chmod<\/span> &#043;x \/usr\/local\/bin\/cloudflared<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\u9a8c\u8bc1&#xff1a;<\/p>\n<p>cloudflared <span class=\"token parameter variable\">&#8211;version<\/span><\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u5feb\u901f\u542f\u52a8\u96a7\u9053&#xff08;\u4e34\u65f6\u6a21\u5f0f&#xff09;<\/h3>\n<p>\u5047\u8bbe\u4f60\u672c\u5730\u6709\u4e00\u4e2a Web \u670d\u52a1\u8fd0\u884c\u5728 80 \u7aef\u53e3&#xff1a;<\/p>\n<p>cloudflared tunnel <span class=\"token parameter variable\">&#8211;url<\/span> http:\/\/localhost:80<\/p>\n<p>\u542f\u52a8\u540e\u7ec8\u7aef\u4f1a\u8f93\u51fa\u7c7b\u4f3c&#xff1a;<\/p>\n<p>https:\/\/xxxx-yyyy-zzzz.trycloudflare.com<\/p>\n<p>\u8fd9\u4e2a\u94fe\u63a5\u5c31\u662f\u4f60\u7684\u516c\u7f51\u8bbf\u95ee\u5730\u5740&#xff0c;\u4efb\u4f55\u4eba\u90fd\u53ef\u4ee5\u901a\u8fc7\u5b83\u8bbf\u95ee\u4f60\u672c\u5730\u7684 80 \u7aef\u53e3\u670d\u52a1\u3002<\/p>\n<p>\u5e38\u7528\u7aef\u53e3\u793a\u4f8b<\/p>\n<p><span class=\"token comment\"># \u4ee3\u7406\u5230 8080 \u7aef\u53e3<\/span><br \/>\ncloudflared tunnel <span class=\"token parameter variable\">&#8211;url<\/span> http:\/\/localhost:8080<\/p>\n<p><span class=\"token comment\"># \u4ee3\u7406\u5230 3000 \u7aef\u53e3&#xff08;\u5982 Node.js \u5e94\u7528&#xff09;<\/span><br \/>\ncloudflared tunnel <span class=\"token parameter variable\">&#8211;url<\/span> http:\/\/localhost:3000<\/p>\n<p><span class=\"token comment\"># \u4ee3\u7406\u5230 8443&#xff08;HTTPS \u670d\u52a1&#xff09;<\/span><br \/>\ncloudflared tunnel <span class=\"token parameter variable\">&#8211;url<\/span> https:\/\/localhost:8443 &#8211;no-tls-verify<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u540e\u53f0\u8fd0\u884c<\/h3>\n<p>\u4e34\u65f6\u6a21\u5f0f\u4e0b\u5173\u95ed\u7ec8\u7aef\u96a7\u9053\u5c31\u65ad\u4e86\u3002\u53ef\u4ee5\u7528 nohup \u540e\u53f0\u8fd0\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">nohup<\/span> cloudflared tunnel <span class=\"token parameter variable\">&#8211;url<\/span> http:\/\/localhost:80 <span class=\"token operator\">&gt;<\/span> \/tmp\/cloudflared.log <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span><span class=\"token file-descriptor important\">&amp;1<\/span> <span class=\"token operator\">&amp;<\/span><\/p>\n<p><span class=\"token comment\"># \u83b7\u53d6\u751f\u6210\u7684\u516c\u7f51\u5730\u5740<\/span><br \/>\n<span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-oE<\/span> <span class=\"token string\">&#039;https:\/\/[a-z0-9-]&#043;\\\\.trycloudflare\\\\.com&#039;<\/span> \/tmp\/cloudflared.log<\/p>\n<p>\u505c\u6b62\u96a7\u9053&#xff1a;<\/p>\n<p><span class=\"token function\">pkill<\/span> cloudflared<\/p>\n<hr \/>\n<h3>\u56db\u3001\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f&#xff08;systemd&#xff09;<\/h3>\n<p><span class=\"token comment\"># \u521b\u5efa systemd \u670d\u52a1<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/systemd\/system\/cloudflared.service <span class=\"token operator\">&gt;<\/span> \/dev\/null <span class=\"token operator\">&lt;&lt;<\/span> <span class=\"token string\">&#039;EOF&#039;<br \/>\n[Unit]<br \/>\nDescription&#061;Cloudflare Tunnel<br \/>\nAfter&#061;network.target<\/p>\n<p>[Service]<br \/>\nExecStart&#061;\/usr\/local\/bin\/cloudflared tunnel &#8211;url http:\/\/localhost:80<br \/>\nRestart&#061;always<br \/>\nRestartSec&#061;5<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target<br \/>\nEOF<\/span><\/p>\n<p><span class=\"token comment\"># \u542f\u7528\u5e76\u542f\u52a8<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl daemon-reload<br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> cloudflared<br \/>\n<span class=\"token function\">sudo<\/span> systemctl start cloudflared<\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u516c\u7f51\u5730\u5740<\/span><br \/>\n<span class=\"token function\">sudo<\/span> journalctl <span class=\"token parameter variable\">-u<\/span> cloudflared &#8211;no-pager <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-oE<\/span> <span class=\"token string\">&#039;https:\/\/[a-z0-9-]&#043;\\\\.trycloudflare\\\\.com&#039;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">head<\/span> <span class=\"token parameter variable\">-1<\/span><\/p>\n<hr \/>\n<h3>\u4e94\u3001\u56fa\u5b9a\u57df\u540d&#xff08;\u9700\u8981 Cloudflare \u8d26\u53f7&#xff09;<\/h3>\n<p>\u4e34\u65f6\u6a21\u5f0f\u7684\u57df\u540d\u6bcf\u6b21\u91cd\u542f\u90fd\u4f1a\u53d8\u3002\u5982\u679c\u4f60\u6709\u81ea\u5df1\u7684\u57df\u540d\u6258\u7ba1\u5728 Cloudflare&#xff0c;\u53ef\u4ee5\u914d\u7f6e\u56fa\u5b9a\u57df\u540d&#xff1a;<\/p>\n<p><span class=\"token comment\"># 1. \u767b\u5f55\u8ba4\u8bc1<\/span><br \/>\ncloudflared tunnel login<\/p>\n<p><span class=\"token comment\"># 2. \u521b\u5efa\u96a7\u9053<\/span><br \/>\ncloudflared tunnel create my-tunnel<\/p>\n<p><span class=\"token comment\"># 3. \u914d\u7f6e\u8def\u7531<\/span><br \/>\ncloudflared tunnel route dns my-tunnel app.yourdomain.com<\/p>\n<p><span class=\"token comment\"># 4. \u521b\u5efa\u914d\u7f6e\u6587\u4ef6<\/span><br \/>\n<span class=\"token function\">cat<\/span> <span class=\"token operator\">&gt;<\/span> ~\/.cloudflared\/config.yml <span class=\"token operator\">&lt;&lt;<\/span> <span class=\"token string\">&#039;EOF&#039;<br \/>\ntunnel: my-tunnel<br \/>\ningress:<br \/>\n  &#8211; hostname: app.yourdomain.com<br \/>\n    service: http:\/\/localhost:80<br \/>\n  &#8211; service: http_status:404<br \/>\nEOF<\/span><\/p>\n<p><span class=\"token comment\"># 5. \u542f\u52a8<\/span><br \/>\ncloudflared tunnel run my-tunnel<\/p>\n<p>\u8fd9\u6837\u57df\u540d\u5c31\u56fa\u5b9a\u4e3a app.yourdomain.com&#xff0c;\u91cd\u542f\u4e0d\u53d8\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001\u4e0e ngrok \u5bf9\u6bd4<\/h3>\n<table>\n<tr>\u7279\u6027cloudflaredngrok<\/tr>\n<tbody>\n<tr>\n<td>\u514d\u8d39<\/td>\n<td>\u2705 \u5b8c\u5168\u514d\u8d39<\/td>\n<td>\u26a0\ufe0f \u514d\u8d39\u7248\u6709\u9650\u5236<\/td>\n<\/tr>\n<tr>\n<td>\u8b66\u544a\u9875<\/td>\n<td>\u2705 \u65e0<\/td>\n<td>\u26a0\ufe0f \u6709&#xff08;\u514d\u8d39\u7248&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u9700\u8981\u6ce8\u518c<\/td>\n<td>\u274c \u4e0d\u9700\u8981<\/td>\n<td>\u2705 \u9700\u8981<\/td>\n<\/tr>\n<tr>\n<td>\u4e34\u65f6\u57df\u540d<\/td>\n<td>\u968f\u673a<\/td>\n<td>\u968f\u673a<\/td>\n<\/tr>\n<tr>\n<td>\u56fa\u5b9a\u57df\u540d<\/td>\n<td>\u9700 Cloudflare \u8d26\u53f7<\/td>\n<td>\u9700\u4ed8\u8d39<\/td>\n<\/tr>\n<tr>\n<td>\u901f\u5ea6<\/td>\n<td>\u8f83\u5feb&#xff08;Cloudflare CDN&#xff09;<\/td>\n<td>\u4e00\u822c&#xff08;\u6d77\u5916\u8282\u70b9&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u56fd\u5185\u53ef\u7528\u6027<\/td>\n<td>\u2705 \u826f\u597d<\/td>\n<td>\u26a0\ufe0f \u4e0d\u7a33\u5b9a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u4e03\u3001\u5e38\u89c1\u95ee\u9898<\/h3>\n<p>Q&#xff1a;\u57df\u540d\u662f\u968f\u673a\u7684&#xff0c;\u80fd\u8bb0\u4f4f\u5417&#xff1f;<\/p>\n<p>\u4e34\u65f6\u6a21\u5f0f\u4e0d\u884c&#xff0c;\u4f46\u53ef\u4ee5\u7528\u811a\u672c\u8bb0\u5f55\u6bcf\u6b21\u751f\u6210\u7684\u57df\u540d\u3002<\/p>\n<p>Q&#xff1a;\u652f\u6301 TCP \u8f6c\u53d1\u5417&#xff1f;<\/p>\n<p>\u652f\u6301&#xff0c;\u4f46\u56fa\u5b9a\u57df\u540d\u6a21\u5f0f\u9700\u8981 Cloudflare \u8d26\u53f7\u3002\u4e34\u65f6\u6a21\u5f0f\u53ea\u652f\u6301 HTTP\u3002<\/p>\n<p>Q&#xff1a;\u5b89\u5168\u6027\u5982\u4f55&#xff1f;<\/p>\n<p>\u6d41\u91cf\u7ecf\u8fc7 Cloudflare \u7684 CDN \u7f51\u7edc&#xff0c;\u771f\u5b9e IP \u4e0d\u4f1a\u66b4\u9732&#xff0c;\u81ea\u5e26 DDoS \u9632\u62a4\u3002<\/p>\n<hr \/>\n<p>\u9002\u7528\u4e8e\u4e2a\u4eba\u9879\u76ee\u6f14\u793a\u3001\u5185\u7f51\u670d\u52a1\u4e34\u65f6\u5bf9\u5916\u5f00\u653e\u3001\u4e0d\u60f3\u66b4\u9732\u670d\u52a1\u5668 IP \u7b49\u573a\u666f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00<br \/>\n\u5f88\u591a\u65f6\u5019\u6211\u4eec\u9700\u8981\u628a\u672c\u5730\u670d\u52a1\u5668\u66b4\u9732\u5230\u516c\u7f51&#xff08;\u6bd4\u5982\u8ba9\u522b\u4eba\u8bbf\u95ee\u4f60\u7684 Web \u5e94\u7528&#xff09;&#xff0c;\u4f46\u53c8\u4e0d\u60f3\u76f4\u63a5\u66b4\u9732\u771f\u5b9e IP&#xff0c;\u4e5f\u4e0d\u60f3\u82b1\u94b1\u4e70\u4ed8\u8d39\u96a7\u9053\u670d\u52a1\u3002Cloudflare Tunnel&#xff08;cloudflared&#xff09;\u662f Cloudflare \u63d0\u4f9b\u7684\u514d\u8d39\u5185\u7f51\u7a7f\u900f\u65b9\u6848&#xff0c;\u65e0\u9700\u6ce8\u518c\u3001\u65e0\u8b66\u544a\u9875\u3001\u5f00\u7bb1\u5373\u7528\u3002\u4e00\u3001\u5b89\u88c5 cloudflared<br \/>\nUbuntu \/ Debian<br \/>\n\u65b9\u6cd5\u4e00&#xff1a;\u5b98\u65b9 apt \u6e90&amp;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,44],"topic":[],"class_list":["post-95895","post","type-post","status-publish","format-standard","hentry","category-server","tag-linux","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux \u670d\u52a1\u5668\u4f7f\u7528 Cloudflare Tunnel \u514d\u8d39\u5185\u7f51\u7a7f\u900f\u6559\u7a0b - \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\/95895.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux \u670d\u52a1\u5668\u4f7f\u7528 Cloudflare Tunnel \u514d\u8d39\u5185\u7f51\u7a7f\u900f\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00 \u5f88\u591a\u65f6\u5019\u6211\u4eec\u9700\u8981\u628a\u672c\u5730\u670d\u52a1\u5668\u66b4\u9732\u5230\u516c\u7f51&#xff08;\u6bd4\u5982\u8ba9\u522b\u4eba\u8bbf\u95ee\u4f60\u7684 Web \u5e94\u7528&#xff09;&#xff0c;\u4f46\u53c8\u4e0d\u60f3\u76f4\u63a5\u66b4\u9732\u771f\u5b9e IP&#xff0c;\u4e5f\u4e0d\u60f3\u82b1\u94b1\u4e70\u4ed8\u8d39\u96a7\u9053\u670d\u52a1\u3002Cloudflare Tunnel&#xff08;cloudflared&#xff09;\u662f Cloudflare \u63d0\u4f9b\u7684\u514d\u8d39\u5185\u7f51\u7a7f\u900f\u65b9\u6848&#xff0c;\u65e0\u9700\u6ce8\u518c\u3001\u65e0\u8b66\u544a\u9875\u3001\u5f00\u7bb1\u5373\u7528\u3002\u4e00\u3001\u5b89\u88c5 cloudflared Ubuntu \/ Debian \u65b9\u6cd5\u4e00&#xff1a;\u5b98\u65b9 apt \u6e90&amp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/95895.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-26T16:56:27+00:00\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/95895.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/95895.html\",\"name\":\"Linux \u670d\u52a1\u5668\u4f7f\u7528 Cloudflare Tunnel \u514d\u8d39\u5185\u7f51\u7a7f\u900f\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-26T16:56:27+00:00\",\"dateModified\":\"2026-08-26T16:56:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/95895.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/95895.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/95895.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux \u670d\u52a1\u5668\u4f7f\u7528 Cloudflare Tunnel \u514d\u8d39\u5185\u7f51\u7a7f\u900f\u6559\u7a0b\"}]},{\"@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":"Linux \u670d\u52a1\u5668\u4f7f\u7528 Cloudflare Tunnel \u514d\u8d39\u5185\u7f51\u7a7f\u900f\u6559\u7a0b - \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\/95895.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux \u670d\u52a1\u5668\u4f7f\u7528 Cloudflare Tunnel \u514d\u8d39\u5185\u7f51\u7a7f\u900f\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u524d\u8a00 \u5f88\u591a\u65f6\u5019\u6211\u4eec\u9700\u8981\u628a\u672c\u5730\u670d\u52a1\u5668\u66b4\u9732\u5230\u516c\u7f51&#xff08;\u6bd4\u5982\u8ba9\u522b\u4eba\u8bbf\u95ee\u4f60\u7684 Web \u5e94\u7528&#xff09;&#xff0c;\u4f46\u53c8\u4e0d\u60f3\u76f4\u63a5\u66b4\u9732\u771f\u5b9e IP&#xff0c;\u4e5f\u4e0d\u60f3\u82b1\u94b1\u4e70\u4ed8\u8d39\u96a7\u9053\u670d\u52a1\u3002Cloudflare Tunnel&#xff08;cloudflared&#xff09;\u662f Cloudflare \u63d0\u4f9b\u7684\u514d\u8d39\u5185\u7f51\u7a7f\u900f\u65b9\u6848&#xff0c;\u65e0\u9700\u6ce8\u518c\u3001\u65e0\u8b66\u544a\u9875\u3001\u5f00\u7bb1\u5373\u7528\u3002\u4e00\u3001\u5b89\u88c5 cloudflared Ubuntu \/ Debian \u65b9\u6cd5\u4e00&#xff1a;\u5b98\u65b9 apt \u6e90&amp;","og_url":"https:\/\/www.wsisp.com\/helps\/95895.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-26T16:56:27+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/95895.html","url":"https:\/\/www.wsisp.com\/helps\/95895.html","name":"Linux \u670d\u52a1\u5668\u4f7f\u7528 Cloudflare Tunnel \u514d\u8d39\u5185\u7f51\u7a7f\u900f\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-26T16:56:27+00:00","dateModified":"2026-08-26T16:56:27+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/95895.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/95895.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/95895.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux \u670d\u52a1\u5668\u4f7f\u7528 Cloudflare Tunnel \u514d\u8d39\u5185\u7f51\u7a7f\u900f\u6559\u7a0b"}]},{"@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\/95895","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=95895"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/95895\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=95895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=95895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=95895"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=95895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}