{"id":31650,"date":"2025-04-30T10:41:05","date_gmt":"2025-04-30T02:41:05","guid":{"rendered":"https:\/\/jdssl.top\/?p=31650"},"modified":"2025-05-31T22:00:05","modified_gmt":"2025-05-31T14:00:05","slug":"cloudflared","status":"publish","type":"post","link":"https:\/\/jdssl.top\/index.php\/2025\/04\/30\/cloudflared\/","title":{"rendered":"openwrt \u7fa4\u6656 jellyfin ubuntu \u7b49\u672c\u5730\u8bbe\u5907\u6620\u5c04\u516c\u7f51\uff0c\u8d85\u7b80\u5355\uff01"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"31650\" class=\"elementor elementor-31650\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-67bd05e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"67bd05e\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9a7ee80\" data-id=\"9a7ee80\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-784da2d elementor-widget elementor-widget-text-editor\" data-id=\"784da2d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u65e0\u6d41\u91cf\u9650\u5236\uff0c<\/p><p>\u901f\u5ea6\u5feb<\/p><p>\u914d\u7f6e\u7b80\u5355<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-789c648 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"789c648\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c4fba5f\" data-id=\"c4fba5f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-30b34f7 elementor-widget elementor-widget-text-editor\" data-id=\"30b34f7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u4efb\u610f\u4e00\u4e2a\u53ef\u4ee5\u4f7f\u7528ssh\u94fe\u63a5\u7684linux \u7cfb\u7edf\u4e2d \uff0c\u6bd4\u5982\u672c\u5730\u642d\u5efa\u7684ubuntu \uff0c\u672c\u6b21\u7528\u672c\u5730\u540c\u4e00\u7535\u8111\u642d\u5efa\u7684pve \u642d\u5efa\u4e86openwrt \u7fa4\u6656 ubuntu \uff0c\u5176\u4e2d\u64cd\u4f5c\u5728ubuntu\u4e2d\u5b9e\u73b0\u5c40\u57df\u7f51\u6240\u6709\u5e94\u7528\u53ef\u516c\u7f51\u8bbf\u95ee\u3002<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-485d4c3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"485d4c3\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4646831\" data-id=\"4646831\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1b28e9d elementor-widget elementor-widget-text-editor\" data-id=\"1b28e9d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h4>\u524d\u671f\u51c6\u5907\u5de5\u4f5c<\/h4><p>cloudflare\u8d26\u53f7 :<a href=\"https:\/\/dash.cloudflare.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/dash.cloudflare.com\/<\/a><\/p><p>\u57df\u540d\uff1a<a href=\"https:\/\/www.namesilo.com\/?rid=4d6f220on\" target=\"_blank\" rel=\"noopener\">https:\/\/www.namesilo.com<\/a><\/p><p>finalshell\uff1a<a href=\"https:\/\/www.hostbuf.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.hostbuf.com\/<\/a><\/p><p>\u4f18\u8d28\u4e13\u7ebf\u673a\u573a\uff1a<a href=\"https:\/\/jdssl.top\/index.php\/bluebeiyong\/\">https:\/\/jdssl.top\/index.php\/bluebeiyong\/<\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-752d433 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"752d433\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-db7eb2d\" data-id=\"db7eb2d\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-80d9db0 elementor-widget elementor-widget-text-editor\" data-id=\"80d9db0\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u672c\u5730ubuntu \u6216\u7fa4\u6656 \u53ef\u4ee5\u6b63\u5e38\u79d1\u5b66\u4e0a\u7f51\uff0c\u4fee\u6539\u7f51\u5173 \uff0c\u94fe\u63a5\u53ef\u4ee5\u7ffb\u5899\u7684\u8f6f\u8def\u7531<\/p><h4><strong>ubuntu \u7f51\u5173\u4fee\u6539<\/strong><\/h4><p>\u5728\/etc\/netplan\/\u6587\u4ef6\u76ee\u5f55\u4e0b\uff0c\u4fee\u653901-netcfg.yaml\u6587\u4ef6\uff08\u6ca1\u6709\u65b0\u5efa\u4e00\u4e2a\uff09\u4ee3\u7801\u5982\u4e0b\uff1a<\/p><pre>network:<br \/>  version: 2<br \/>  ethernets:<br \/>    ens18:<br \/>      dhcp4: false           # \u7981\u7528 DHCP\uff0c\u4f7f\u7528\u9759\u6001 IP<br \/>      addresses:<br \/>        - 192.168.xxx.xxx\/24 # \u8bbe\u7f6e\u9759\u6001 IP \u5730\u5740\uff08\u4f60linux\u7684ip\uff0c\u6839\u636e\u4f60\u7684\u5c40\u57df\u7f51\u81ea\u5df1\u8bbe\u7f6e\uff09<br \/>      gateway4: 192.168.xxx.3 # \u8bbe\u7f6e\u65b0\u7684\u9ed8\u8ba4\u7f51\u5173\uff08\u4f60\u7684\u8f6f\u8def\u7531\uff09<br \/>      nameservers:<br \/>        addresses:<br \/>          - 192.168.xxx.3         # \u8bbe\u7f6e DNS \u670d\u52a1\u5668\uff08\u4f60\u7684\u8f6f\u8def\u7531\uff09      <\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9e2ab0b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9e2ab0b\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-46f8db0\" data-id=\"46f8db0\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-07cfa1b elementor-widget elementor-widget-text-editor\" data-id=\"07cfa1b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u5e94\u7528\u66f4\u6539\uff1a<\/p><pre>sudo netplan apply<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d3c66a5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d3c66a5\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d7b2022\" data-id=\"d7b2022\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0e1c3f6 elementor-widget elementor-widget-text-editor\" data-id=\"0e1c3f6\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><img decoding=\"async\" src=\"https:\/\/sdmntprnorthcentralus.oaiusercontent.com\/files\/00000000-4224-622f-ab4a-13d91d015cf6\/raw?se=2025-05-28T14%3A16%3A22Z&amp;sp=r&amp;sv=2024-08-04&amp;sr=b&amp;scid=b3171b01-9a39-592b-896b-318fd016f456&amp;skoid=add8ee7d-5fc7-451e-b06e-a82b2276cf62&amp;sktid=a48cca56-e6da-484e-a814-9c849652bcb3&amp;skt=2025-05-27T21%3A22%3A49Z&amp;ske=2025-05-28T21%3A22%3A49Z&amp;sks=b&amp;skv=2024-08-04&amp;sig=9GVSpmgIbjdPMH\/RcAdmRPCf1UARsDSQPQiz7bwd4tE%3D\" alt=\"\u5df2\u7522\u751f\u5716\u50cf\" \/><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4690e7e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4690e7e\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-557c8d6\" data-id=\"557c8d6\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4c1374b elementor-widget elementor-widget-text-editor\" data-id=\"4c1374b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h5><strong>\u5b89\u88c5cloudflare tunnel<\/strong><\/h5><pre>wget https:\/\/github.com\/cloudflare\/cloudflared\/releases\/latest\/download\/cloudflared-linux-amd64.deb<br \/>sudo dpkg -i cloudflared-linux-amd64.deb<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7ea3d36 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7ea3d36\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d7afcb6\" data-id=\"d7afcb6\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5af3ee7 elementor-widget elementor-widget-text-editor\" data-id=\"5af3ee7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u7136\u540e\u767b\u5f55\u4f60\u7684 Cloudflare \u5e10\u53f7,\u4e0b\u65b9\u4f1a\u51fa\u73b0\u4e00\u4e2a\u94fe\u63a5\uff0c\u4f7f\u7528\u8fd9\u4e2a\u94fe\u63a5\u767b\u5f55\u81ea\u5df1\u7684cf\u8d26\u53f7\uff0c\u6388\u6743\u57df\u540d\u3002<\/p><pre>cloudflared tunnel login<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3c4309f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3c4309f\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-20ceba3\" data-id=\"20ceba3\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f8fe233 elementor-widget elementor-widget-text-editor\" data-id=\"f8fe233\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u521b\u5efa\u4e00\u4e2atunnel,\u4e00\u822c\u9ed8\u8ba4\u5728\u8fd9\u91cc\/etc\/cloudflared\/\uff0c\u5982\u679c\u5728root\u76ee\u5f55\u4e0b\uff0c\u9700\u8981\u5bf9\u5e94\u4fee\u6539 \u4e0b\u65b9cd \u90e8\u5206\u5185\u5bb9<\/p><pre>cloudflared tunnel create myhome<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7becaaf elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7becaaf\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-da889f6\" data-id=\"da889f6\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9f58623 elementor-widget elementor-widget-text-editor\" data-id=\"9f58623\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u521b\u5efaconfig.yml<\/p><p>\u8fdb\u5165\u914d\u7f6e\u76ee\u5f55\uff1a<\/p><pre><code class=\"language-bash\">\nsudo mkdir -p \/etc\/cloudflared<br \/>sudo nano \/etc\/cloudflared\/config.yml\n\n<\/code><code class=\"language-bash\">\n<\/code><\/pre><p>\u5c06id xxx-xxx-xxx.json\u6587\u4ef6\u590d\u5236\u79fb\u52a8\u5230etc\/cloudflared\u6587\u4ef6\u76ee\u5f55\u4e0b<\/p><pre>cp \/root\/.cloudflared\/&lt;\u4fee\u6539\u4e3a\u4f60\u81ea\u5df1\u7684id\u540e\u7684 xxx-xxx-xx.json&gt; \/etc\/cloudflared\/<\/pre><p>\u00a0<\/p><p>\u5199\u5165\u4ee5\u4e0b\u5185\u5bb9\uff08\u6309\u4f60\u7684IP\u6539\uff09\uff1a<\/p><pre><code class=\"language-yaml\">\ntunnel: &lt;\u4f60\u7684Tunnel ID&gt;  # \u81ea\u52a8\u751f\u6210\u7684ID\ncredentials-file: \/root\/cloudflared\/&lt;\u4f60\u7684Tunnel ID&gt;.json\n\ningress:\n  - hostname: ubuntu.yourdomain.com\n    service: &lt;http:\/\/192.168.123.100:5678&gt;  # \u8bbf\u95eeUbuntu\u7684web\u670d\u52a1\uff0c\u6bd4\u5982n8n\u7b49\n\n  - hostname: nas.yourdomain.com\n    service: &lt;https:\/\/192.168.123.101:5001&gt;\n    originRequest:\n      noTLSVerify: true  # \u7fa4\u6656\u81ea\u7b7e\u8bc1\u4e66\u9700\u8981\u8df3\u8fc7\u9a8c\u8bc1\n\n  - hostname: openwrt.yourdomain.com\n    service: &lt;http:\/\/192.168.123.102:80&gt;\n\n  - service: http_status:404\n\n<\/code><\/pre><blockquote><p>\u6ce8\u610f\u66ff\u6362 <a href=\"http:\/\/yourdomain.com\/\">yourdomain.com<\/a> \u6210\u4f60\u81ea\u5df1\u7684\u57df\u540d\uff0c\u66ff\u6362 IP \u548c\u7aef\u53e3\uff01<\/p><\/blockquote><p>\u4fdd\u5b58\u9000\u51fa\uff08Ctrl+O \u56de\u8f66\uff0c\u7136\u540e Ctrl+X\uff09\u3002<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1eaeb5d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1eaeb5d\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2bb63e3\" data-id=\"2bb63e3\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5e9ff65 elementor-widget elementor-widget-text-editor\" data-id=\"5e9ff65\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u521b\u5efadns\u89e3\u6790<\/p><p>\u8ba9Cloudflare\u540e\u53f0\u5e2e\u4f60\u81ea\u52a8\u5efa\u5b50\u57df\u540d\uff1a\u9700\u8981\u66ff\u6362\u5bf9\u5e94\u7684\u57df\u540d<\/p><pre>cloudflared tunnel route dns myhome ubuntu.yourdomain.com<br \/>cloudflared tunnel route dns myhome nas.yourdomain.com<br \/>cloudflared tunnel route dns myhome openwrt.yourdomain.com<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8d795ec elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8d795ec\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-20210b5\" data-id=\"20210b5\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6ac6782 elementor-widget elementor-widget-text-editor\" data-id=\"6ac6782\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u5f00\u673a\u81ea\u542f\u52a8\u8bbe\u7f6e<\/p><p>\u6267\u884c\uff1a<\/p><pre><code class=\"language-bash\">\nsudo cloudflared --config \/etc\/cloudflared\/config.yml service install\n\n<\/code><\/pre><p>\u7136\u540e\u542f\u52a8 Tunnel\uff1a<\/p><pre><code class=\"language-bash\">\nsudo systemctl enable cloudflared\nsudo systemctl start cloudflared\n\n<\/code><\/pre><p>\u67e5\u770b\u72b6\u6001\u786e\u8ba4\uff1a<\/p><pre><code class=\"language-bash\">\nsudo systemctl status cloudflared\n\n<\/code><\/pre><p>\u2705 \u770b\u5230\u7eff\u8272 running \u5c31OK\u4e86\uff01<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a38a7b8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a38a7b8\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-036343b\" data-id=\"036343b\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ce1d58e elementor-widget elementor-widget-text-editor\" data-id=\"ce1d58e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u5982\u679c\u5b89\u88c5\u5728root \u76ee\u5f55\u4e0b \u9700\u8981\u6267\u884c \u4e0b\u65b9\u547d\u4ee4<\/p><pre>sudo cp \/root\/.cloudflared\/config.yml \/etc\/cloudflared\/config.yml<br \/>sudo systemctl restart cloudflared<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-666d037 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"666d037\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2e2cf78\" data-id=\"2e2cf78\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4b39055 elementor-widget elementor-widget-text-editor\" data-id=\"4b39055\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u91cd\u542f reboot \u770b\u662f\u5426\u751f\u6548\u3002\u4e00\u822c\u9700\u8981\u7b49\u5f85 cloudflaer \u89e3\u6790\u540e \u4e00\u6bb5\u65f6\u95f4\u624d\u80fd\u6b63\u5e38\u4f7f\u7528\u57df\u540d\u8bbf\u95ee\u672c\u5730\u5bf9\u5e94\u7684\u5e94\u7528\u3002<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u65e0\u6d41\u91cf\u9650\u5236\uff0c \u901f\u5ea6\u5feb \u914d\u7f6e\u7b80\u5355 \u4efb\u610f\u4e00\u4e2a\u53ef\u4ee5\u4f7f\u7528ssh\u94fe\u63a5\u7684linux \u7cfb\u7edf\u4e2d \uff0c\u6bd4\u5982\u672c\u5730\u642d\u5efa\u7684ubuntu  &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/jdssl.top\/index.php\/2025\/04\/30\/cloudflared\/\"> <span class=\"screen-reader-text\">openwrt \u7fa4\u6656 jellyfin ubuntu \u7b49\u672c\u5730\u8bbe\u5907\u6620\u5c04\u516c\u7f51\uff0c\u8d85\u7b80\u5355\uff01<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":76,"featured_media":31662,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_uag_custom_page_level_css":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-31650","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-suoyoufenlei"],"uagb_featured_image_src":{"full":["https:\/\/jdssl.top\/wp-content\/uploads\/2025\/04\/1.jpg",1920,1080,false],"thumbnail":["https:\/\/jdssl.top\/wp-content\/uploads\/2025\/04\/1-150x150.jpg",150,150,true],"medium":["https:\/\/jdssl.top\/wp-content\/uploads\/2025\/04\/1-300x169.jpg",300,169,true],"medium_large":["https:\/\/jdssl.top\/wp-content\/uploads\/2025\/04\/1-768x432.jpg",768,432,true],"large":["https:\/\/jdssl.top\/wp-content\/uploads\/2025\/04\/1-1024x576.jpg",1024,576,true],"1536x1536":["https:\/\/jdssl.top\/wp-content\/uploads\/2025\/04\/1-1536x864.jpg",1536,864,true],"2048x2048":["https:\/\/jdssl.top\/wp-content\/uploads\/2025\/04\/1.jpg",1920,1080,false]},"uagb_author_info":{"display_name":"jdssl","author_link":"https:\/\/jdssl.top\/index.php\/author\/jdssl\/"},"uagb_comment_info":17,"uagb_excerpt":"\u65e0\u6d41\u91cf\u9650\u5236\uff0c \u901f\u5ea6\u5feb \u914d\u7f6e\u7b80\u5355 \u4efb\u610f\u4e00\u4e2a\u53ef\u4ee5\u4f7f\u7528ssh\u94fe\u63a5\u7684linux \u7cfb\u7edf\u4e2d \uff0c\u6bd4\u5982\u672c\u5730\u642d\u5efa\u7684ubuntu &hellip;","_links":{"self":[{"href":"https:\/\/jdssl.top\/index.php\/wp-json\/wp\/v2\/posts\/31650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jdssl.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jdssl.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jdssl.top\/index.php\/wp-json\/wp\/v2\/users\/76"}],"replies":[{"embeddable":true,"href":"https:\/\/jdssl.top\/index.php\/wp-json\/wp\/v2\/comments?post=31650"}],"version-history":[{"count":64,"href":"https:\/\/jdssl.top\/index.php\/wp-json\/wp\/v2\/posts\/31650\/revisions"}],"predecessor-version":[{"id":31724,"href":"https:\/\/jdssl.top\/index.php\/wp-json\/wp\/v2\/posts\/31650\/revisions\/31724"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jdssl.top\/index.php\/wp-json\/wp\/v2\/media\/31662"}],"wp:attachment":[{"href":"https:\/\/jdssl.top\/index.php\/wp-json\/wp\/v2\/media?parent=31650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jdssl.top\/index.php\/wp-json\/wp\/v2\/categories?post=31650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jdssl.top\/index.php\/wp-json\/wp\/v2\/tags?post=31650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}