{"id":86423,"date":"2026-07-28T16:17:14","date_gmt":"2026-07-28T08:17:14","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/86423.html"},"modified":"2026-07-28T16:17:14","modified_gmt":"2026-07-28T08:17:14","slug":"ubuntu-%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%9e%e7%8e%b0-frp-%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e5%b9%b6%e8%ae%be%e7%bd%ae%e8%87%aa%e5%8a%a8%e6%96%ad%e7%ba%bf%e9%87%8d%e8%bf%9e","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/86423.html","title":{"rendered":"ubuntu \u670d\u52a1\u5668\u5b9e\u73b0 frp \u5185\u7f51\u7a7f\u900f\u5e76\u8bbe\u7f6e\u81ea\u52a8\u65ad\u7ebf\u91cd\u8fde"},"content":{"rendered":"<p>\u95ee\u9898\u63cf\u8ff0&#xff1a; \u4f7f\u7528 ssh \u8fdc\u7a0b\u8fde\u63a5\u5904\u4e8e\u6821\u56ed\u7f51\u7684\u670d\u52a1\u5668&#xff0c;\u901a\u5e38\u9700\u8981\u642d\u5efa\u4e00\u4e2a\u5185\u7f51\u4f20\u7edf\u624d\u53ef\u8fdb\u884c\u8bbf\u95ee&#xff0c;\u540c\u65f6\u9700\u8981\u6784\u5efa\u4e00\u4e2a\u65ad\u7f51\u81ea\u52a8\u8fde\u63a5\u7684\u811a\u672c\u4ee5\u786e\u4fdd\u8fde\u63a5\u7a33\u5b9a\u3002<\/p>\n<p> \u89e3\u51b3\u65b9\u6848&#xff1a; \u672c\u6587\u91c7\u7528\u4e86 Fast Reverse Proxy (FRP) \u5185\u7f51\u7a7f\u900f\u6280\u672f&#xff0c;\u4ee5\u4e00\u4e2a\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668\u4f5c\u4e3a\u201c\u8df3\u677f\u201d&#xff0c;\u8fde\u63a5\u5904\u4e8e\u5185\u7f51\u7684\u8fdc\u7a0b\u670d\u52a1\u5668\u548c\u81ea\u5df1\u7684\u7535\u8111\u3002\u56e0\u6b64\u9700\u8981\u8fdb\u884c\u5982\u4e0b\u4e09\u4e2a\u6b65\u9aa4\u7684\u914d\u7f6e&#xff1a;\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668\u914d\u7f6e&#xff0c;\u5185\u7f51\u8fdc\u7a0b\u670d\u52a1\u5668\u914d\u7f6e&#xff0c;\u4e2a\u4eba\u7535\u8111\u914d\u7f6e <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728081703-6a68657f4f7c7.png\" alt=\"FRP \u5185\u7f51\u7a7f\u900f\" \/><\/p>\n<p>\u00a0<\/p>\n<h4>1. \u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668\u914d\u7f6e<\/h4>\n<p>Step 1-1. \u5728\u4e3b\u6d41\u7684\u4e91\u670d\u52a1\u5668\u4e0a\u79df\u7528\u4e00\u4e2a\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668&#xff08;\u5982\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u7b49&#xff09;&#xff0c;\u8fd9\u91cc\u6211\u91c7\u7528\u4ef7\u683c\u66f4\u4e3a\u4eb2\u6c11\u7684\u91ce\u8349\u4e91\u4e3a\u4f8b&#xff0c;\u7531\u4e8e\u6211\u4eec\u4ec5\u7528\u8be5\u670d\u52a1\u5668\u4f5c\u4e3a\u8df3\u677f&#xff0c;\u56e0\u6b64\u4e0d\u9700\u8981\u7279\u522b\u9ad8\u7684\u914d\u7f6e&#xff0c;\u79df\u7528\u6700\u4f4e\u4ef7\u4f4d\u7684\u5373\u53ef<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728081705-6a6865813c09e.png\" alt=\"\u91ce\u8349\u4e91\u79df\u7528\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668\" \/> \u00a0 Step 1-2. \u79df\u7528\u540e&#xff0c;\u524d\u5f80 \u4ea7\u54c1\u670d\u52a1 \u4e0b\u53ef\u4ee5\u67e5\u770b\u5230\u79df\u7528\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668\u7684 IP \u5730\u5740<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728081706-6a68658297e1d.png\" alt=\"\u67e5\u770b\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668\u7684 IP \u5730\u5740\" \/> \u00a0 Step 1-3. \u70b9\u51fb\u8fdb\u5165\u8be5\u670d\u52a1\u5668\u7684\u7ba1\u7406\u9875\u9762&#xff0c;\u5728 \u670d\u52a1\u7ba1\u7406 &gt; \u9632\u706b\u5899 \u4e0b\u521b\u5efa\u9632\u706b\u5899\u89c4\u5219&#xff0c;\u4e3a\u540e\u7eed\u8fde\u63a5\u8bbe\u7f6e\u4e00\u4e2a\u5f00\u653e\u7684\u7aef\u53e3&#xff0c;\u8fd9\u91cc\u4ee5 4070 \u7aef\u53e3\u4e3a\u4f8b<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728081707-6a686583e7a4e.png\" alt=\"\u521b\u5efa\u9632\u706b\u5899\u89c4\u5219\" \/> \u00a0 Step 1-4. \u8bbf\u95ee https:\/\/github.com\/fatedier\/frp\/releases \u4e0b\u8f7d\u670d\u52a1\u5668\u5bf9\u5e94\u67b6\u6784\u7684\u538b\u7f29\u5305&#xff0c;\u8fd9\u91cc\u7531\u4e8e\u6211\u79df\u7684\u670d\u52a1\u5668\u662f x86_64 \u67b6\u6784&#xff0c;\u56e0\u6b64\u4ee5 amd64 \u4e3a\u4f8b<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728081709-6a68658549a45.png\" alt=\"\u4e0b\u8f7d\u5bf9\u5e94\u7248\u672c\u7684 frp \u538b\u7f29\u5305\" \/> \u89e3\u538b\u540e\u7684\u6587\u4ef6\u4e2d&#xff0c;frps \u548c frps.toml \u7528\u4e8e\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668&#xff0c;frpc \u548c frpc.toml \u7a0d\u540e\u7528\u4e8e\u5185\u7f51\u8fdc\u7a0b\u670d\u52a1\u5668\u3002<\/p>\n<p>\u00a0 Step 1-5. \u8fde\u63a5\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668&#xff0c;\u5728 \/usr\/local\/bin\/ \u4e2d\u521b\u5efa\u4e00\u4e2a frp \u6587\u4ef6\u5939<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">mkdir<\/span> \/usr\/local\/bin\/frp<\/p>\n<p>\u5c06\u89e3\u538b\u540e\u7684 frps \u548c frps.toml \u4f20\u5230\u8be5\u6587\u4ef6\u5939\u8def\u5f84\u4e2d&#xff0c;\u968f\u540e\u6307\u4ee4\u65b0\u5efa\u4e00\u4e2a frps.service&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/systemd\/system\/frps.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; frp server<br \/>\nAfter &#061; network.target syslog.target<br \/>\nWants &#061; network.target<\/p>\n<p>[Service]<br \/>\nType &#061; simple<br \/>\nExecStartPre &#061; \/bin\/sleep 5<br \/>\nExecStart &#061; \/usr\/local\/bin\/frp\/frps -c \/usr\/local\/bin\/frp\/frps.toml<\/p>\n<p>[Install]<br \/>\nWantedBy &#061; multi-user.target<br \/>\nEOF<\/span><\/p>\n<p>\u968f\u540e\u542f\u52a8\u8be5\u670d\u52a1&#xff08;\u9700\u8981\u7b49\u5f85 10s \u624d\u4f1a\u542f\u52a8&#xff09;<\/p>\n<p><span class=\"token comment\"># \u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl daemon-reload<\/p>\n<p><span class=\"token comment\"># \u91cd\u542f\u670d\u52a1&#xff08;\u8ba9\u5ef6\u8fdf\u7acb\u5373\u751f\u6548&#xff09;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl restart frps<\/p>\n<p>\u53ef\u4ee5\u7528\u5982\u4e0b\u6307\u4ee4\u67e5\u770b frps.service \u662f\u5426\u542f\u52a8<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl status frps<\/p>\n<p>\u00a0<\/p>\n<h4>2. \u5185\u7f51\u8fdc\u7a0b\u670d\u52a1\u5668\u914d\u7f6e<\/h4>\n<p>Step 2-1. \u8981\u786e\u4fdd\u5185\u7f51\u8fdc\u7a0b\u670d\u52a1\u5668\u5b89\u88c5\u5e76\u542f\u52a8\u4e86 openssh-server \u670d\u52a1<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> openssh-server<\/p>\n<p>\u00a0 Step 2-2. \u5728 Step 1-4 \u4e2d&#xff0c;\u4e0b\u8f7d\u7684\u6587\u4ef6\u4e2d\u8fd8\u5305\u542b frpc \u548c frpc.toml&#xff0c;\u73b0\u5728\u9700\u8981\u5bf9\u8fd9\u4e24\u4e2a\u6587\u4ef6\u8fdb\u884c\u5904\u7406\u3002\u9996\u5148&#xff0c;\u5728\u5185\u7f51\u8fdc\u7a0b\u670d\u52a1\u5668\u7684 \/usr\/local\/bin \u4e2d\u65b0\u5efa frpc \u6587\u4ef6\u5939&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">mkdir<\/span> \/usr\/local\/bin\/frp<\/p>\n<p>\u5c06 frpc \u548c frpc.toml \u62f7\u8d1d\u5230\u8be5\u8def\u5f84\u4e0b&#xff0c;\u5e76\u4e14\u4fee\u6539 frpc.toml \u6587\u4ef6<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/usr\/local\/bin\/frp\/frpc.toml <span class=\"token operator\">&lt;&lt;<\/span> <span class=\"token string\">&#039;EOF&#039;<br \/>\n# frpc.toml<br \/>\nserverAddr &#061; &#034;x.x.x.x&#034;<br \/>\nserverPort &#061; 7000<\/p>\n<p>[[proxies]]<br \/>\nname &#061; &#034;ssh&#034;<br \/>\ntype &#061; &#034;tcp&#034;<br \/>\nlocalIP &#061; &#034;127.0.0.1&#034;<br \/>\nlocalPort &#061; 22<br \/>\nremotePort &#061; 4070<br \/>\nEOF<\/span><\/p>\n<p>\u6ce8\u610f x.x.x.x \u8981\u66ff\u6362\u4e3a Step 1-2 \u83b7\u5f97\u7684 IP \u5730\u5740&#xff0c;remotePort \u4e5f\u8981\u548c Step 1-3 \u7684 Port \u7aef\u53e3\u4fdd\u6301\u4e00\u81f4&#xff0c;\u8fd9\u91cc\u662f 4070<\/p>\n<p>\u00a0 Step 2-3. \u540c\u6837\u5730&#xff0c;\u9700\u8981\u65b0\u5efa\u4e00\u4e2a frpc.service \u7528\u4e8e\u542f\u52a8\u8be5\u670d\u52a1&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/systemd\/system\/frpc.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; frp client<br \/>\nAfter &#061; network.target syslog.target<br \/>\nWants &#061; network.target<\/p>\n<p>[Service]<br \/>\nType &#061; simple<br \/>\nExecStartPre &#061; \/bin\/sleep 5<br \/>\nExecStart &#061; \/usr\/local\/bin\/frp\/frpc -c \/usr\/local\/bin\/frp\/frpc.toml<\/p>\n<p>[Install]<br \/>\nWantedBy &#061; multi-user.target<br \/>\nEOF<\/span><\/p>\n<p>\u540c\u6837\u9700\u8981\u542f\u52a8\u8be5\u670d\u52a1&#xff08;\u540c\u6837\u9700\u8981\u7b49\u5f85 10s \u624d\u4f1a\u542f\u52a8&#xff09;<\/p>\n<p><span class=\"token comment\"># \u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl daemon-reload<\/p>\n<p><span class=\"token comment\"># \u91cd\u542f\u670d\u52a1&#xff08;\u8ba9\u5ef6\u8fdf\u7acb\u5373\u751f\u6548&#xff09;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl restart frpc<\/p>\n<p>\u00a0 [\u53ef\u9009] Step 2-4. \u7531\u4e8e\u5185\u7f51\u8fdc\u7a0b\u670d\u52a1\u5668\u5076\u5c14\u4f1a\u65ad\u7f51\u800c\u4e14\u6709\u6982\u7387\u4e0d\u4f1a\u81ea\u52a8\u91cd\u8fde&#xff0c;\u56e0\u6b64\u53ef\u4ee5\u518d\u989d\u5916\u521b\u5efa\u4e00\u4e2a\u81ea\u52a8\u68c0\u6d4b\u65ad\u7f51\u5e76\u91cd\u8fde\u7684\u4ee3\u7801&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/systemd\/system\/network-check.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;Network Manager Auto Reconnect<br \/>\nAfter&#061;network.target<\/p>\n<p>[Service]<br \/>\nType&#061;simple<br \/>\nExecStart&#061;\/bin\/bash -c &#039;while true; do \\\\<br \/>\n    if ! ping -c 2 -W 3 8.8.8.8 &gt; \/dev\/null 2&gt;&amp;1; then \\\\<br \/>\n        echo &#034;$(date): Connection lost, restarting network&#8230;&#034;; \\\\<br \/>\n        nmcli radio wifi off &amp;&amp; sleep 2 &amp;&amp; nmcli radio wifi on; \\\\<br \/>\n    fi; \\\\<br \/>\n    sleep 60; \\\\<br \/>\ndone&#039;<br \/>\nRestart&#061;always<br \/>\nUser&#061;root<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target<br \/>\nEOF<\/span><\/p>\n<p>\u540c\u7406&#xff0c;\u542f\u52a8\u8be5\u670d\u52a1<\/p>\n<p><span class=\"token comment\"># \u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl daemon-reload<\/p>\n<p><span class=\"token comment\"># \u91cd\u542f\u670d\u52a1<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl restart network-check<\/p>\n<p>\u00a0<\/p>\n<h4>3. \u4e2a\u4eba\u7535\u8111\u914d\u7f6e<\/h4>\n<p>Step 3-1. \u7531\u4e8e\u8fdb\u884c\u7684\u662f vscode \u8fdc\u7a0b\u8fde\u63a5&#xff0c;\u56e0\u6b64\u53ef\u4ee5\u6309\u5982\u4e0b\u6b65\u9aa4\u5728 vscode \u4e2d\u6dfb\u52a0\u8fdc\u7a0b\u4fe1\u606f\u3002Host \u4e3a\u522b\u79f0&#xff08;\u53ef\u6839\u636e\u559c\u597d\u547d\u540d&#xff09;&#xff0c;HostName \u586b\u5165 Step 1-2 \u83b7\u5f97\u7684\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668 IP&#xff0c;Port \u586b\u5165 Step 1-3 \u8bbe\u7f6e\u7684\u5f00\u653e\u7aef\u53e3&#xff0c;User \u5219\u586b\u5165\u8981\u63a5\u5165\u7684\u5185\u7f51\u8fdc\u7a0b\u670d\u52a1\u5668\u7528\u6237\u540d&#xff08;\u4f8b\u5982 root&#xff09; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728081709-6a686585ccd4d.png\" alt=\"\u914d\u7f6e vscode \u7684\u8fdc\u7a0b\u8fde\u63a5\" \/><\/p>\n<p>\u00a0 [\u53ef\u9009] Step 3-2. \u5982\u679c\u5e0c\u671b\u8fdb\u884c\u514d\u5bc6\u767b\u5f55&#xff0c;\u53ef\u4ee5\u5728\u672c\u5730\u7535\u8111\u4e0b\u521b\u5efa\u5efa\u7acb ssh_key&#xff1a;<\/p>\n<p>ssh-keygen <span class=\"token parameter variable\">-t<\/span> rsa <span class=\"token parameter variable\">-b<\/span> <span class=\"token number\">4096<\/span><\/p>\n<p>\u968f\u540e\u5c06 \/.ssh\/id_rsa.pub \u4e2d\u7684\u5bc6\u94a5\u590d\u5236\u5230\u5185\u7f51\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0b\u7684 ~\/.ssh\/authorized_keys \u5373\u53ef&#xff08;\u6ca1\u6709\u5219\u53ef\u4ee5\u8fdc\u7a0b\u521b\u5efa&#xff09;<\/p>\n<hr \/>\n<p>\u53c2\u8003\u94fe\u63a5&#xff1a; [1] \u4f7f\u7528 frp \u5b9e\u73b0 windows \u8fdc\u7a0b [2] \u5982\u4f55\u4f7f\u7528 frp \u5b9e\u73b0\u5185\u7f51\u7a7f\u900f [3] ubuntu20.04\u5f00\u542fSSH\u8fdc\u7a0b\u767b\u5f55 [4] \u5982\u4f55\u5728\u8fdc\u7a0b SSH \u670d\u52a1\u5668\u4e2d\u521b\u5efa\u548c\u6dfb\u52a0 SSH \u5bc6\u94a5&#xff1f;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u95ee\u9898\u63cf\u8ff0&#xff1a; \u4f7f\u7528 ssh \u8fdc\u7a0b\u8fde\u63a5\u5904\u4e8e\u6821\u56ed\u7f51\u7684\u670d\u52a1\u5668&#xff0c;\u901a\u5e38\u9700\u8981\u642d\u5efa\u4e00\u4e2a\u5185\u7f51\u4f20\u7edf\u624d\u53ef\u8fdb\u884c\u8bbf\u95ee&#xff0c;\u540c\u65f6\u9700\u8981\u6784\u5efa\u4e00\u4e2a\u65ad\u7f51\u81ea\u52a8\u8fde\u63a5\u7684\u811a\u672c\u4ee5\u786e\u4fdd\u8fde\u63a5\u7a33\u5b9a\u3002 \u89e3\u51b3\u65b9\u6848&#xff1a; \u672c\u6587\u91c7\u7528\u4e86 Fast Reverse Proxy (FRP) \u5185\u7f51\u7a7f\u900f\u6280\u672f&#xff0c;\u4ee5\u4e00\u4e2a\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668\u4f5c\u4e3a\u201c\u8df3\u677f\u201d&#xff0c;\u8fde\u63a5\u5904\u4e8e\u5185\u7f51\u7684\u8fdc\u7a0b\u670d\u52a1\u5668\u548c\u81ea\u5df1\u7684\u7535\u8111\u3002\u56e0\u6b64\u9700\u8981\u8fdb\u884c\u5982\u4e0b\u4e09\u4e2a\u6b65\u9aa4\u7684\u914d\u7f6e&#xff1a;\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668\u914d\u7f6e&#xff0c;\u5185\u7f51\u8fdc\u7a0b\u670d\u52a1<\/p>\n","protected":false},"author":2,"featured_media":86417,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[92,77,103,43],"topic":[],"class_list":["post-86423","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-github","tag-ssh","tag-ubuntu","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ubuntu \u670d\u52a1\u5668\u5b9e\u73b0 frp \u5185\u7f51\u7a7f\u900f\u5e76\u8bbe\u7f6e\u81ea\u52a8\u65ad\u7ebf\u91cd\u8fde - \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\/86423.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ubuntu \u670d\u52a1\u5668\u5b9e\u73b0 frp \u5185\u7f51\u7a7f\u900f\u5e76\u8bbe\u7f6e\u81ea\u52a8\u65ad\u7ebf\u91cd\u8fde - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u95ee\u9898\u63cf\u8ff0&#xff1a; \u4f7f\u7528 ssh \u8fdc\u7a0b\u8fde\u63a5\u5904\u4e8e\u6821\u56ed\u7f51\u7684\u670d\u52a1\u5668&#xff0c;\u901a\u5e38\u9700\u8981\u642d\u5efa\u4e00\u4e2a\u5185\u7f51\u4f20\u7edf\u624d\u53ef\u8fdb\u884c\u8bbf\u95ee&#xff0c;\u540c\u65f6\u9700\u8981\u6784\u5efa\u4e00\u4e2a\u65ad\u7f51\u81ea\u52a8\u8fde\u63a5\u7684\u811a\u672c\u4ee5\u786e\u4fdd\u8fde\u63a5\u7a33\u5b9a\u3002 \u89e3\u51b3\u65b9\u6848&#xff1a; \u672c\u6587\u91c7\u7528\u4e86 Fast Reverse Proxy (FRP) \u5185\u7f51\u7a7f\u900f\u6280\u672f&#xff0c;\u4ee5\u4e00\u4e2a\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668\u4f5c\u4e3a\u201c\u8df3\u677f\u201d&#xff0c;\u8fde\u63a5\u5904\u4e8e\u5185\u7f51\u7684\u8fdc\u7a0b\u670d\u52a1\u5668\u548c\u81ea\u5df1\u7684\u7535\u8111\u3002\u56e0\u6b64\u9700\u8981\u8fdb\u884c\u5982\u4e0b\u4e09\u4e2a\u6b65\u9aa4\u7684\u914d\u7f6e&#xff1a;\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668\u914d\u7f6e&#xff0c;\u5185\u7f51\u8fdc\u7a0b\u670d\u52a1\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/86423.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-28T08:17:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728081703-6a68657f4f7c7.png\" \/>\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\/86423.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/86423.html\",\"name\":\"ubuntu \u670d\u52a1\u5668\u5b9e\u73b0 frp \u5185\u7f51\u7a7f\u900f\u5e76\u8bbe\u7f6e\u81ea\u52a8\u65ad\u7ebf\u91cd\u8fde - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-28T08:17:14+00:00\",\"dateModified\":\"2026-07-28T08:17:14+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/86423.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/86423.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/86423.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ubuntu \u670d\u52a1\u5668\u5b9e\u73b0 frp \u5185\u7f51\u7a7f\u900f\u5e76\u8bbe\u7f6e\u81ea\u52a8\u65ad\u7ebf\u91cd\u8fde\"}]},{\"@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":"ubuntu \u670d\u52a1\u5668\u5b9e\u73b0 frp \u5185\u7f51\u7a7f\u900f\u5e76\u8bbe\u7f6e\u81ea\u52a8\u65ad\u7ebf\u91cd\u8fde - \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\/86423.html","og_locale":"zh_CN","og_type":"article","og_title":"ubuntu \u670d\u52a1\u5668\u5b9e\u73b0 frp \u5185\u7f51\u7a7f\u900f\u5e76\u8bbe\u7f6e\u81ea\u52a8\u65ad\u7ebf\u91cd\u8fde - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u95ee\u9898\u63cf\u8ff0&#xff1a; \u4f7f\u7528 ssh \u8fdc\u7a0b\u8fde\u63a5\u5904\u4e8e\u6821\u56ed\u7f51\u7684\u670d\u52a1\u5668&#xff0c;\u901a\u5e38\u9700\u8981\u642d\u5efa\u4e00\u4e2a\u5185\u7f51\u4f20\u7edf\u624d\u53ef\u8fdb\u884c\u8bbf\u95ee&#xff0c;\u540c\u65f6\u9700\u8981\u6784\u5efa\u4e00\u4e2a\u65ad\u7f51\u81ea\u52a8\u8fde\u63a5\u7684\u811a\u672c\u4ee5\u786e\u4fdd\u8fde\u63a5\u7a33\u5b9a\u3002 \u89e3\u51b3\u65b9\u6848&#xff1a; \u672c\u6587\u91c7\u7528\u4e86 Fast Reverse Proxy (FRP) \u5185\u7f51\u7a7f\u900f\u6280\u672f&#xff0c;\u4ee5\u4e00\u4e2a\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668\u4f5c\u4e3a\u201c\u8df3\u677f\u201d&#xff0c;\u8fde\u63a5\u5904\u4e8e\u5185\u7f51\u7684\u8fdc\u7a0b\u670d\u52a1\u5668\u548c\u81ea\u5df1\u7684\u7535\u8111\u3002\u56e0\u6b64\u9700\u8981\u8fdb\u884c\u5982\u4e0b\u4e09\u4e2a\u6b65\u9aa4\u7684\u914d\u7f6e&#xff1a;\u516c\u7f51\u4ee3\u7406\u670d\u52a1\u5668\u914d\u7f6e&#xff0c;\u5185\u7f51\u8fdc\u7a0b\u670d\u52a1","og_url":"https:\/\/www.wsisp.com\/helps\/86423.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-28T08:17:14+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728081703-6a68657f4f7c7.png"}],"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\/86423.html","url":"https:\/\/www.wsisp.com\/helps\/86423.html","name":"ubuntu \u670d\u52a1\u5668\u5b9e\u73b0 frp \u5185\u7f51\u7a7f\u900f\u5e76\u8bbe\u7f6e\u81ea\u52a8\u65ad\u7ebf\u91cd\u8fde - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-28T08:17:14+00:00","dateModified":"2026-07-28T08:17:14+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/86423.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/86423.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/86423.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"ubuntu \u670d\u52a1\u5668\u5b9e\u73b0 frp \u5185\u7f51\u7a7f\u900f\u5e76\u8bbe\u7f6e\u81ea\u52a8\u65ad\u7ebf\u91cd\u8fde"}]},{"@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\/86423","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=86423"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/86423\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/86417"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=86423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=86423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=86423"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=86423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}