{"id":459,"date":"2026-11-11T16:30:39","date_gmt":"2026-11-11T08:30:39","guid":{"rendered":"https:\/\/xiaotiao.store\/?p=459"},"modified":"2026-11-11T16:59:26","modified_gmt":"2026-11-11T08:59:26","slug":"frp-%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e6%90%ad%e5%bb%ba%e4%ba%91%e6%9c%8d%e5%8a%a1%e5%99%a8-%e5%ae%9d%e5%a1%94-istoreos","status":"publish","type":"post","link":"https:\/\/xiaotiao.store\/index.php\/2026\/11\/11\/frp-%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e6%90%ad%e5%bb%ba%e4%ba%91%e6%9c%8d%e5%8a%a1%e5%99%a8-%e5%ae%9d%e5%a1%94-istoreos\/","title":{"rendered":"frp \u5185\u7f51\u7a7f\u900f\u642d\u5efa:\u4e91\u670d\u52a1\u5668 + \u5b9d\u5854 + iStoreOS"},"content":{"rendered":"\n<div class=\"frp-post\">\n<p>\u9002\u7528\u573a\u666f:\u5bb6\u91cc\u6709 iStoreOS \u8f6f\u8def\u7531\u6216 NAS,\u60f3\u7528\u81ea\u5df1\u7684\u57df\u540d\u4ece\u5916\u7f51\u8bbf\u95ee alist\u3001\u76f8\u518c\u3001\u8def\u7531\u5668\u540e\u53f0\u7b49\u670d\u52a1,\u4e0d\u60f3\u4e3a DDNSTO \u4ed8\u8d39,\u4e5f\u4e0d\u4f9d\u8d56\u516c\u7f51 IP\u3002<\/p>\n<h2 style=\"margin-top:2em;\">\u4e00\u3001\u6574\u4f53\u601d\u8def<\/h2>\n<pre style=\"background:#1e1e1e;color:#e6e6e6;padding:14px 16px;overflow-x:auto;border-radius:6px;line-height:1.5;white-space:pre;\"><code style=\"font-family:Consolas,Menlo,monospace;color:#e6e6e6;background:none;padding:0;\">\u6d4f\u89c8\u5668 \u2192 \u57df\u540d \u2192 \u4e91\u670d\u52a1\u5668(\u5b9d\u5854 Nginx:80\/443)\u2192 frps:8080 \u21c4 \u5bb6\u91cc iStoreOS(frpc)\u2192 \u5185\u7f51\u5404\u670d\u52a1<\/code><\/pre>\n<ul>\n<li><strong>frps<\/strong>:\u670d\u52a1\u7aef,\u88c5\u5728\u4e91\u670d\u52a1\u5668\u4e0a<\/li>\n<li><strong>frpc<\/strong>:\u5ba2\u6237\u7aef,\u88c5\u5728\u5bb6\u91cc\u7684 iStoreOS \u4e0a(\u6ce8\u610f\u522b\u548c frps \u88c5\u6df7,\u53ea\u5dee\u4e00\u4e2a\u5b57\u6bcd)<\/li>\n<li><strong>\u5b9d\u5854 Nginx<\/strong>:\u8d1f\u8d23 HTTPS \u8bc1\u4e66\u548c\u57df\u540d\u8f6c\u53d1,\u4e0d\u9700\u8981\u6539\u52a8\u539f\u6709\u7ad9\u70b9<\/li>\n<\/ul>\n<h2 style=\"margin-top:2em;\">\u4e8c\u3001\u51c6\u5907\u6761\u4ef6<\/h2>\n<ul>\n<li>\u4e00\u53f0\u5e26\u516c\u7f51 IP \u7684\u4e91\u670d\u52a1\u5668(\u672c\u6587\u7528\u817e\u8baf\u4e91\u8f7b\u91cf + Ubuntu 24.04 + \u5b9d\u5854\u9762\u677f)<\/li>\n<li>\u4e00\u4e2a\u5df2\u5907\u6848\u7684\u57df\u540d(\u56fd\u5185\u670d\u52a1\u5668\u8d70 80\/443 \u5fc5\u987b\u5907\u6848,\u4e14\u5907\u6848\u8981\u4e0e\u670d\u52a1\u5668\u6240\u5728\u4e91\u5382\u5546\u5bf9\u5e94)<\/li>\n<li>\u5bb6\u91cc\u7684 iStoreOS,\u80fd\u5728 iStore \u5e94\u7528\u5546\u5e97\u5b89\u88c5\u63d2\u4ef6<\/li>\n<\/ul>\n<blockquote style=\"border-left:4px solid #f0ad4e;background:#fff8ec;margin:1em 0;padding:10px 16px;\"><strong>\u5e26\u5bbd\u63d0\u9192:<\/strong>\u8f7b\u91cf\u670d\u52a1\u5668\u5e26\u5bbd\u901a\u5e38\u5f88\u5c0f(\u5982 4Mbps),\u6240\u6709\u8bbf\u95ee\u5171\u7528\u3002\u89c6\u9891\u7c7b\u5927\u6d41\u91cf\u670d\u52a1\u4e0d\u9002\u5408\u8d70\u8fd9\u6761\u8def,\u7ba1\u7406\u9875\u9762\u3001\u6587\u4ef6\u6d4f\u89c8\u3001\u76f8\u518c\u7b49\u6d41\u91cf\u5c0f\u7684\u670d\u52a1\u624d\u5408\u9002\u3002<\/blockquote>\n<h2 style=\"margin-top:2em;\">\u4e09\u3001\u4e91\u670d\u52a1\u5668\u7aef:\u5b89\u88c5 frps<\/h2>\n<h3 style=\"margin-top:1.5em;\">1. \u4e0b\u8f7d frp<\/h3>\n<p>\u5230 GitHub \u7684 fatedier\/frp releases \u9875\u9762,\u4e0b\u8f7d <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">frp_x.xx.x_linux_amd64.tar.gz<\/code>(\u5148\u7528 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">uname -m<\/code> \u786e\u8ba4\u662f x86_64)\u3002\u56fd\u5185\u670d\u52a1\u5668\u8fde GitHub \u5f88\u6162,\u5efa\u8bae\u5728\u81ea\u5df1\u7535\u8111\u4e0b\u8f7d,\u518d\u901a\u8fc7\u5b9d\u5854\u300c\u6587\u4ef6\u300d\u4e0a\u4f20\u5230 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">\/opt\/frp<\/code>\u3002<\/p>\n<h3 style=\"margin-top:1.5em;\">2. \u89e3\u538b<\/h3>\n<pre style=\"background:#1e1e1e;color:#e6e6e6;padding:14px 16px;overflow-x:auto;border-radius:6px;line-height:1.5;white-space:pre;\"><code style=\"font-family:Consolas,Menlo,monospace;color:#e6e6e6;background:none;padding:0;\">cd \/opt\/frp\ntar -xzf frp_x.xx.x_linux_amd64.tar.gz --strip-components=1\nchmod +x frps\nls<\/code><\/pre>\n<h3 style=\"margin-top:1.5em;\">3. \u7f16\u5199\u914d\u7f6e frps.toml<\/h3>\n<pre style=\"background:#1e1e1e;color:#e6e6e6;padding:14px 16px;overflow-x:auto;border-radius:6px;line-height:1.5;white-space:pre;\"><code style=\"font-family:Consolas,Menlo,monospace;color:#e6e6e6;background:none;padding:0;\">bindPort = 7000\nvhostHTTPPort = 8080\n\nauth.method = \"token\"\nauth.token = \"\u6362\u6210\u4f60\u81ea\u5df1\u768420\u4f4d\u4ee5\u4e0a\u968f\u673a\u5b57\u6bcd\u6570\u5b57\"<\/code><\/pre>\n<p>token \u52a1\u5fc5\u8db3\u591f\u590d\u6742,\u5e76\u4e14\u4e0d\u8981\u5728\u622a\u56fe\u3001\u804a\u5929\u91cc\u6cc4\u9732\u3002<\/p>\n<h3 style=\"margin-top:1.5em;\">4. \u5148\u624b\u52a8\u8bd5\u8fd0\u884c<\/h3>\n<pre style=\"background:#1e1e1e;color:#e6e6e6;padding:14px 16px;overflow-x:auto;border-radius:6px;line-height:1.5;white-space:pre;\"><code style=\"font-family:Consolas,Menlo,monospace;color:#e6e6e6;background:none;padding:0;\">.\/frps -c frps.toml<\/code><\/pre>\n<p>\u770b\u5230 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">frps started successfully<\/code> \u5373\u6210\u529f,\u6309 Ctrl+C \u505c\u6b62\u3002<\/p>\n<h3 style=\"margin-top:1.5em;\">5. \u914d\u7f6e\u5f00\u673a\u81ea\u542f<\/h3>\n<pre style=\"background:#1e1e1e;color:#e6e6e6;padding:14px 16px;overflow-x:auto;border-radius:6px;line-height:1.5;white-space:pre;\"><code style=\"font-family:Consolas,Menlo,monospace;color:#e6e6e6;background:none;padding:0;\">cat &gt; \/etc\/systemd\/system\/frps.service &lt;&lt;'EOF'\n[Unit]\nDescription=frps\nAfter=network.target\n\n[Service]\nExecStart=\/opt\/frp\/frps -c \/opt\/frp\/frps.toml\nRestart=always\n\n[Install]\nWantedBy=multi-user.target\nEOF\n\nsystemctl daemon-reload\nsystemctl enable --now frps\nsystemctl status frps<\/code><\/pre>\n<p>\u663e\u793a <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">active (running)<\/code> \u5373\u53ef\u3002<\/p>\n<h3 style=\"margin-top:1.5em;\">6. \u653e\u884c\u7aef\u53e3<\/h3>\n<p>\u4e91\u5382\u5546\u9632\u706b\u5899\u548c\u5b9d\u5854\u300c\u5b89\u5168\u300d\u9875\u9762\u90fd\u8981\u653e\u884c:<\/p>\n<table style=\"border-collapse:collapse;width:100%;margin:1em 0;\">\n<thead><tr><th style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;background:#f3f4f6;\">\u7aef\u53e3<\/th><th style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;background:#f3f4f6;\">\u7528\u9014<\/th><\/tr><\/thead>\n<tbody>\n<tr><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">7000<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">frpc \u8fde\u63a5<\/td><\/tr>\n<tr><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">80 \/ 443<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">\u7f51\u7ad9<\/td><\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u4e0d\u8981\u653e\u884c 8080<\/strong>,\u5b83\u53ea\u7ed9\u672c\u673a Nginx \u53cd\u4ee3\u4f7f\u7528,\u5bf9\u5916\u5f00\u653e\u4f1a\u8ba9\u522b\u4eba\u7ed5\u8fc7 HTTPS \u76f4\u63a5\u8bbf\u95ee\u3002<\/p>\n<h2 style=\"margin-top:2em;\">\u56db\u3001\u5bb6\u91cc\u7aef:\u914d\u7f6e frpc<\/h2>\n<p>\u5728 iStore \u5e94\u7528\u5546\u5e97\u641c\u7d22\u5e76\u5b89\u88c5 <strong>frpc<\/strong>,\u6253\u5f00\u8bbe\u7f6e\u9875\u3002<\/p>\n<h3 style=\"margin-top:1.5em;\">1. \u5e38\u89c4\u8bbe\u7f6e<\/h3>\n<ul>\n<li>\u52fe\u9009\u542f\u7528<\/li>\n<li>\u670d\u52a1\u5668\u5730\u5740:\u4e91\u670d\u52a1\u5668\u516c\u7f51 IP<\/li>\n<li>\u670d\u52a1\u5668\u7aef\u53e3:7000<\/li>\n<li>\u4ee4\u724c:\u4e0e frps.toml \u91cc\u7684 token \u5b8c\u5168\u4e00\u81f4<\/li>\n<\/ul>\n<h3 style=\"margin-top:1.5em;\">2. \u6dfb\u52a0\u4ee3\u7406(\u4ee5 alist \u4e3a\u4f8b)<\/h3>\n<table style=\"border-collapse:collapse;width:100%;margin:1em 0;\">\n<thead><tr><th style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;background:#f3f4f6;\">\u5b57\u6bb5<\/th><th style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;background:#f3f4f6;\">\u586b\u5199<\/th><\/tr><\/thead>\n<tbody>\n<tr><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">\u4ee3\u7406\u540d\u79f0<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">alist(\u5efa\u8bae\u7528\u82f1\u6587)<\/td><\/tr>\n<tr><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">\u4ee3\u7406\u7c7b\u578b<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\"><strong>http<\/strong><\/td><\/tr>\n<tr><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">\u672c\u5730 IP<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">192.168.100.1(\u6309\u4f60\u7684\u5185\u7f51\u5730\u5740)<\/td><\/tr>\n<tr><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">\u672c\u5730\u7aef\u53e3<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">5244<\/td><\/tr>\n<tr><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">\u52a0\u5bc6 \/ \u538b\u7f29<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">\u4e0d\u52fe<\/td><\/tr>\n<\/tbody>\n<\/table>\n<p>\u5207\u5230\u300cHTTP \u8bbe\u7f6e\u300d\u6807\u7b7e,<strong>\u81ea\u5b9a\u4e49\u57df<\/strong>\u586b\u5b50\u57df\u540d,\u4f8b\u5982 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">alist.example.com<\/code>,\u5176\u4f59\u7559\u7a7a\u3002\u300c\u63d2\u4ef6\u8bbe\u7f6e\u300d\u4fdd\u6301\u7a7a\u767d\u3002<\/p>\n<blockquote style=\"border-left:4px solid #f0ad4e;background:#fff8ec;margin:1em 0;padding:10px 16px;\">\u63d2\u4ef6(http_proxy\u3001socks5 \u7b49)\u662f\u53e6\u4e00\u79cd\u5de5\u4f5c\u65b9\u5f0f,\u9009\u4e86\u4f1a\u5ffd\u7565\u672c\u5730 IP \u548c\u7aef\u53e3,\u4e0d\u8981\u9009\u3002<\/blockquote>\n<h3 style=\"margin-top:1.5em;\">3. \u4fdd\u5b58\u5e76\u5e94\u7528,\u68c0\u67e5\u8fde\u63a5<\/h3>\n<p>\u70b9\u300c\u4fdd\u5b58\u5e76\u5e94\u7528\u300d,\u9876\u90e8\u72b6\u6001\u5e94\u53d8\u4e3a\u8fd0\u884c\u4e2d\u3002\u5728\u4e91\u670d\u52a1\u5668\u4e0a\u67e5\u770b:<\/p>\n<pre style=\"background:#1e1e1e;color:#e6e6e6;padding:14px 16px;overflow-x:auto;border-radius:6px;line-height:1.5;white-space:pre;\"><code style=\"font-family:Consolas,Menlo,monospace;color:#e6e6e6;background:none;padding:0;\">journalctl -u frps -n 20 --no-pager<\/code><\/pre>\n<p>\u51fa\u73b0 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">client login info<\/code> \u548c <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">new proxy [alist] type [http] success<\/code>,\u8bf4\u660e\u5df2\u6253\u901a\u3002<\/p>\n<h2 style=\"margin-top:2em;\">\u4e94\u3001\u57df\u540d\u89e3\u6790<\/h2>\n<p>\u5728\u57df\u540d\u7684 DNS \u7ba1\u7406(\u963f\u91cc\u4e91 \/ DNSPod \/ Cloudflare \u7b49)\u6dfb\u52a0 A \u8bb0\u5f55,\u6307\u5411\u4e91\u670d\u52a1\u5668\u516c\u7f51 IP:<\/p>\n<table style=\"border-collapse:collapse;width:100%;margin:1em 0;\">\n<thead><tr><th style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;background:#f3f4f6;\">\u4e3b\u673a\u8bb0\u5f55<\/th><th style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;background:#f3f4f6;\">\u7c7b\u578b<\/th><th style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;background:#f3f4f6;\">\u8bb0\u5f55\u503c<\/th><\/tr><\/thead>\n<tbody>\n<tr><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">alist(\u6216 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">*<\/code> \u6cdb\u89e3\u6790)<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">A<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">\u4e91\u670d\u52a1\u5668\u516c\u7f51 IP<\/td><\/tr>\n<\/tbody>\n<\/table>\n<p>\u52a0\u4e00\u6761 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">*<\/code> \u6cdb\u89e3\u6790\u540e,\u4ee5\u540e\u65b0\u589e\u670d\u52a1\u4e0d\u7528\u518d\u6539 DNS\u3002\u5df2\u6709\u7684 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">@<\/code>\u3001<code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">www<\/code>\u3001CNAME \u7b49\u5177\u4f53\u8bb0\u5f55\u4f18\u5148\u7ea7\u66f4\u9ad8,\u4e0d\u53d7\u5f71\u54cd,\u535a\u5ba2\u4e5f\u4e0d\u4f1a\u53d7\u5f71\u54cd\u3002<\/p>\n<p>\u7528 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">ping alist.example.com<\/code> \u9a8c\u8bc1,\u8fd4\u56de\u4e91\u670d\u52a1\u5668 IP \u5373\u751f\u6548\u3002<\/p>\n<h2 style=\"margin-top:2em;\">\u516d\u3001\u5b9d\u5854:\u4e3a\u6bcf\u4e2a\u5b50\u57df\u540d\u5efa\u53cd\u5411\u4ee3\u7406\u7ad9\u70b9<\/h2>\n<p>\u539f\u6709\u535a\u5ba2\u7ad9\u70b9\u65e0\u9700\u6539\u52a8,\u8fd9\u91cc\u53ea\u662f\u65b0\u589e\u7ad9\u70b9\u3002<\/p>\n<h3 style=\"margin-top:1.5em;\">1. \u6dfb\u52a0\u7ad9\u70b9<\/h3>\n<p>\u7f51\u7ad9 \u2192 \u6dfb\u52a0\u7ad9\u70b9:\u57df\u540d\u586b <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">alist.example.com<\/code>,PHP \u7248\u672c\u9009\u300c\u7eaf\u9759\u6001\u300d,FTP \u548c\u6570\u636e\u5e93\u4e0d\u521b\u5efa\u3002<\/p>\n<h3 style=\"margin-top:1.5em;\">2. \u8bbe\u7f6e\u53cd\u5411\u4ee3\u7406<\/h3>\n<p>\u7ad9\u70b9\u8bbe\u7f6e \u2192 \u53cd\u5411\u4ee3\u7406 \u2192 \u6dfb\u52a0\u53cd\u5411\u4ee3\u7406:<\/p>\n<ul>\n<li>\u76ee\u6807 URL:<code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">http:\/\/127.0.0.1:8080<\/code><\/li>\n<li>\u53d1\u9001\u57df\u540d:<code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">$host<\/code>(frps \u9760\u5b83\u533a\u5206\u4e0d\u540c\u670d\u52a1,\u5fc5\u987b\u586b)<\/li>\n<\/ul>\n<h3 style=\"margin-top:1.5em;\">3. \u7533\u8bf7 SSL<\/h3>\n<p>\u7ad9\u70b9\u8bbe\u7f6e \u2192 SSL \u2192 Let&#8217;s Encrypt,\u52fe\u9009\u57df\u540d,\u9a8c\u8bc1\u65b9\u5f0f\u9009\u6587\u4ef6\u9a8c\u8bc1,\u7533\u8bf7\u6210\u529f\u540e\u5f00\u542f\u300c\u5f3a\u5236 HTTPS\u300d\u3002\u9700\u8981 DNS \u5df2\u751f\u6548\u624d\u80fd\u7533\u8bf7\u6210\u529f\u3002<\/p>\n<h3 style=\"margin-top:1.5em;\">4. \u6d4b\u8bd5<\/h3>\n<p>\u6d4f\u89c8\u5668\u8bbf\u95ee <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">https:\/\/alist.example.com<\/code>:<\/p>\n<ul>\n<li><strong>\u80fd\u6253\u5f00<\/strong>:\u6210\u529f<\/li>\n<li><strong>502<\/strong>:frps \u6ca1\u8fd0\u884c,\u6216\u53cd\u4ee3\u76ee\u6807\u5199\u9519<\/li>\n<li><strong>404<\/strong>:frpc \u91cc\u7684\u81ea\u5b9a\u4e49\u57df\u548c\u8bbf\u95ee\u57df\u540d\u4e0d\u4e00\u81f4,\u6216\u4ee3\u7406\u672a\u6ce8\u518c\u6210\u529f<\/li>\n<li><strong>\u6253\u4e0d\u5f00<\/strong>:DNS \u672a\u751f\u6548,\u6216 7000 \u7aef\u53e3\u672a\u653e\u884c<\/li>\n<\/ul>\n<p>\u4e4b\u540e\u6bcf\u589e\u52a0\u4e00\u4e2a\u670d\u52a1,\u91cd\u590d\u300cfrpc \u52a0\u4ee3\u7406 \u2192 \u5b9d\u5854\u5efa\u7ad9\u70b9 \u2192 \u7533\u8bf7 SSL\u300d\u4e09\u6b65\u5373\u53ef\u3002<\/p>\n<h2 style=\"margin-top:2em;\">\u4e03\u3001\u5b89\u5168\u52a0\u56fa(\u91cd\u70b9)<\/h2>\n<ol>\n<li><strong>\u6536\u7d27\u4e91\u9632\u706b\u5899<\/strong>:\u5220\u9664\u300c\u5168\u90e8 TCP \/ \u5168\u90e8 UDP\u300d\u8fd9\u7c7b\u653e\u884c\u4e00\u5207\u7684\u89c4\u5219,\u53ea\u4fdd\u7559 80\u3001443\u30017000\u3001SSH \u548c\u5b9d\u5854\u9762\u677f\u7aef\u53e3;\u7528\u4e0d\u5230\u7684 3389\u300121\u3001888 \u7b49\u4e5f\u4e00\u5e76\u5220\u9664\u3002\u5220\u9664\u524d\u52a1\u5fc5\u786e\u8ba4 SSH \u548c\u5b9d\u5854\u7aef\u53e3\u5df2\u6709\u5355\u72ec\u89c4\u5219,\u907f\u514d\u628a\u81ea\u5df1\u9501\u5728\u5916\u9762\u3002<\/li>\n<li><strong>\u4e0d\u8981\u653e\u884c 8080<\/strong>\u3002<\/li>\n<li><strong>\u5220\u9664 frpc \u91cc\u9ed8\u8ba4\u7684 ssh(tcp 6000)\u793a\u4f8b\u4ee3\u7406<\/strong>,\u6ca1\u5fc5\u8981\u66b4\u9732\u8def\u7531\u5668 SSH\u3002<\/li>\n<li><strong>\u7ba1\u7406\u7c7b\u670d\u52a1\u8981\u8c28\u614e<\/strong>:\u8def\u7531\u5668\u540e\u53f0\u3001\u7ec8\u7aef\u30011Panel \u7b49\u4e00\u65e6\u66b4\u9732\u516c\u7f51,\u98ce\u9669\u6700\u9ad8\u3002\u5fc5\u987b\u516c\u5f00\u65f6,\u8bbe\u7f6e\u5f3a\u5bc6\u7801,\u5e76\u5728\u5b9d\u5854\u7ad9\u70b9\u7684\u300c\u8bbf\u95ee\u9650\u5236\u300d\u91cc\u518d\u52a0\u4e00\u5c42\u8d26\u53f7\u5bc6\u7801;\u5b50\u57df\u540d\u4e5f\u522b\u7528 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">admin<\/code>\u3001<code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">router<\/code> \u8fd9\u7c7b\u597d\u731c\u7684\u540d\u5b57\u3002<\/li>\n<li><strong>SSH \u548c\u5b9d\u5854\u9762\u677f<\/strong>:\u4f7f\u7528\u5f3a\u5bc6\u7801\u6216\u5bc6\u94a5\u767b\u5f55,\u6709\u6761\u4ef6\u7684\u8bdd\u9650\u5236\u6765\u6e90 IP\u3002<\/li>\n<li>\u5404\u670d\u52a1\u81ea\u8eab(alist\u3001\u76f8\u518c\u7b49)\u90fd\u8bbe\u7f6e\u5f3a\u5bc6\u7801\u3002<\/li>\n<\/ol>\n<h2 style=\"margin-top:2em;\">\u516b\u3001\u5e38\u89c1\u95ee\u9898<\/h2>\n<p><strong>Q:frpc \u4e00\u76f4\u663e\u793a\u672a\u8fd0\u884c?<\/strong><br\/>\n\u68c0\u67e5\u300c\u542f\u7528\u300d\u662f\u5426\u52fe\u9009\u3001\u670d\u52a1\u5668\u5730\u5740\/\u7aef\u53e3\/token \u662f\u5426\u586b\u5bf9;\u6bcf\u6761 http \u4ee3\u7406\u5fc5\u987b\u586b\u4e86\u81ea\u5b9a\u4e49\u57df,\u7a7a\u7740\u4f1a\u5bfc\u81f4\u914d\u7f6e\u4e0d\u5408\u6cd5\u800c\u65e0\u6cd5\u542f\u52a8;\u7528 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">logread | grep -i frp<\/code> \u67e5\u770b\u65e5\u5fd7\u3002<\/p>\n<p><strong>Q:frpc \u548c frps \u7248\u672c\u5dee\u5f88\u591a\u80fd\u7528\u5417?<\/strong><br\/>\n\u5b9e\u6d4b frpc 0.51.x \u8fde\u63a5 frps 0.72.x \u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u3002\u82e5\u51fa\u73b0\u4e0d\u7a33\u5b9a,\u518d\u628a\u4e24\u7aef\u5347\u7ea7\u5230\u76f8\u8fd1\u7248\u672c\u3002<\/p>\n<p><strong>Q:\u901f\u5ea6\u5f88\u6162?<\/strong><br\/>\n\u8f7b\u91cf\u670d\u52a1\u5668\u5e26\u5bbd\u5c0f\u4e14\u5171\u7528,\u535a\u5ba2\u548c\u7a7f\u900f\u5171\u4eab\u51fa\u53e3\u3002\u89c6\u9891\u3001\u5927\u6587\u4ef6\u4e0b\u8f7d\u4e0d\u9002\u5408\u8d70\u8fd9\u6761\u8def,\u53ef\u8003\u8651\u7f51\u76d8 302 \u76f4\u94fe\u65b9\u6848,\u6216\u628a\u5927\u6d41\u91cf\u670d\u52a1\u653e\u5230\u5e26\u5bbd\u66f4\u5927\u7684\u670d\u52a1\u5668\u3002<\/p>\n<p><strong>Q:\u8def\u7531\u5668\u6ca1\u6709\u516c\u7f51 IP \u80fd\u7528\u5417?<\/strong><br\/>\n\u53ef\u4ee5,\u8fd9\u6b63\u662f frp \u7684\u4f18\u52bf:\u53ea\u8981\u5bb6\u91cc\u80fd\u4e3b\u52a8\u8fde\u51fa\u53bb,\u4e0d\u9700\u8981\u516c\u7f51 IP\u3002<\/p>\n<h2 style=\"margin-top:2em;\">\u9644\u5f55:\u5e38\u89c1\u670d\u52a1\u7684\u5177\u4f53\u914d\u7f6e\u793a\u4f8b<\/h2>\n<p>\u4e0b\u9762\u51e0\u4e2a\u670d\u52a1\u7684\u505a\u6cd5\u548c\u524d\u6587\u7684 alist \u793a\u4f8b\u5b8c\u5168\u76f8\u540c,\u90fd\u662f\u4e09\u6b65:<strong>frpc \u52a0\u4ee3\u7406 \u2192 DNS \u89e3\u6790 \u2192 \u5b9d\u5854\u5efa\u7ad9\u70b9\u5e76\u53cd\u4ee3\u5230 8080<\/strong>\u3002\u533a\u522b\u53ea\u5728\u672c\u5730\u7aef\u53e3\u3001\u5b50\u57df\u540d\u548c\u5404\u670d\u52a1\u81ea\u8eab\u7684\u5c0f\u7ec6\u8282\u3002<\/p>\n<blockquote style=\"border-left:4px solid #f0ad4e;background:#fff8ec;margin:1em 0;padding:10px 16px;\">\u8868\u683c\u91cc\u7684\u672c\u5730 IP \u548c\u7aef\u53e3\u662f\u793a\u4f8b,\u8bf7\u6309\u81ea\u5df1\u5bb6\u91cc\u7684\u5b9e\u9645\u5730\u5740\u586b\u5199;\u57df\u540d\u91cc\u7684 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">example.com<\/code> \u6362\u6210\u4f60\u81ea\u5df1\u7684\u57df\u540d\u3002<\/blockquote>\n<h3 style=\"margin-top:1.5em;\">\u4e00\u3001\u5404\u670d\u52a1\u7684 frpc \u4ee3\u7406\u53c2\u6570<\/h3>\n<p>\u6240\u6709\u4ee3\u7406\u7684\u7c7b\u578b\u90fd\u9009 <strong>http<\/strong>,\u672c\u5730 IP \u586b\u670d\u52a1\u6240\u5728\u8bbe\u5907\u7684\u5185\u7f51\u5730\u5740,\u300c\u81ea\u5b9a\u4e49\u57df\u300d\u586b\u5bf9\u5e94\u5b50\u57df\u540d,\u63d2\u4ef6\u8bbe\u7f6e\u7559\u7a7a\u3002<\/p>\n<table style=\"border-collapse:collapse;width:100%;margin:1em 0;\">\n<thead><tr><th style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;background:#f3f4f6;\">\u670d\u52a1<\/th><th style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;background:#f3f4f6;\">\u4ee3\u7406\u540d\u79f0<\/th><th style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;background:#f3f4f6;\">\u672c\u5730 IP<\/th><th style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;background:#f3f4f6;\">\u672c\u5730\u7aef\u53e3<\/th><th style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;background:#f3f4f6;\">\u81ea\u5b9a\u4e49\u57df<\/th><\/tr><\/thead>\n<tbody>\n<tr><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">alist(\u7f51\u76d8\u6587\u4ef6\u5217\u8868)<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">alist<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">192.168.100.1<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">5244<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\"><code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">alist.example.com<\/code><\/td><\/tr>\n<tr><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">\u76f8\u518c<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">photo<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">192.168.100.1<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">2342<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\"><code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">photo.example.com<\/code><\/td><\/tr>\n<tr><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">\u6d4b\u901f\u9875\u9762<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">speed<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">192.168.100.1<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">3300<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\"><code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">speed.example.com<\/code><\/td><\/tr>\n<tr><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">DDNS-GO<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">ddnsgo<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">192.168.100.1<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">9876<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\"><code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">ddns.example.com<\/code><\/td><\/tr>\n<tr><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">\u8def\u7531\u5668\u540e\u53f0<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">router<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">192.168.100.1<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">80<\/td><td style=\"border:1px solid #ccc;padding:8px 10px;text-align:left;vertical-align:top;\">\u968f\u673a\u5b57\u7b26\u4e32.example.com<\/td><\/tr>\n<\/tbody>\n<\/table>\n<p>\u670d\u52a1\u5c31\u8fd0\u884c\u5728 iStoreOS \u672c\u673a\u65f6,\u672c\u5730 IP \u4e5f\u53ef\u4ee5\u586b <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">127.0.0.1<\/code>\u3002\u670d\u52a1\u5728\u5bb6\u91cc\u5176\u4ed6\u8bbe\u5907(\u5982 NAS)\u4e0a,\u5c31\u586b\u90a3\u53f0\u8bbe\u5907\u7684\u5185\u7f51 IP\u3002<\/p>\n<h3 style=\"margin-top:1.5em;\">\u4e8c\u3001alist \u793a\u4f8b<\/h3>\n<p><strong>1. frpc \u914d\u7f6e<\/strong><\/p>\n<ul>\n<li>\u5e38\u89c4\u8bbe\u7f6e:\u540d\u79f0 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">alist<\/code>,\u7c7b\u578b <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">http<\/code>,\u672c\u5730 IP <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">192.168.100.1<\/code>,\u672c\u5730\u7aef\u53e3 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">5244<\/code><\/li>\n<li>HTTP \u8bbe\u7f6e:\u81ea\u5b9a\u4e49\u57df\u586b <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">alist.example.com<\/code><\/li>\n<\/ul>\n<p><strong>2. \u5b9d\u5854\u5efa\u7ad9\u70b9<\/strong><\/p>\n<ul>\n<li>\u7f51\u7ad9 \u2192 \u6dfb\u52a0\u7ad9\u70b9,\u57df\u540d <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">alist.example.com<\/code>,\u7eaf\u9759\u6001<\/li>\n<li>\u8bbe\u7f6e \u2192 \u53cd\u5411\u4ee3\u7406:\u76ee\u6807 URL <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">http:\/\/127.0.0.1:8080<\/code>,\u53d1\u9001\u57df\u540d <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">$host<\/code><\/li>\n<li>\u8bbe\u7f6e \u2192 SSL \u2192 Let&#8217;s Encrypt \u7533\u8bf7\u8bc1\u4e66,\u5f00\u542f\u5f3a\u5236 HTTPS<\/li>\n<\/ul>\n<p><strong>3. alist \u81ea\u8eab\u7684\u8bbe\u7f6e<\/strong><\/p>\n<ul>\n<li>\u8fdb\u5165 alist \u7ba1\u7406\u540e\u53f0 \u2192 \u8bbe\u7f6e \u2192 \u5168\u5c40,\u628a\u300c\u7ad9\u70b9URL\u300d\u586b\u6210 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">https:\/\/alist.example.com<\/code>,\u5426\u5219\u90e8\u5206\u76f4\u94fe\u548c\u5206\u4eab\u94fe\u63a5\u4f1a\u751f\u6210\u6210\u5185\u7f51\u5730\u5740<\/li>\n<li>\u7ba1\u7406\u5458\u5bc6\u7801\u6539\u6210\u5f3a\u5bc6\u7801,\u5e76\u5173\u95ed\u4e0d\u9700\u8981\u7684\u6e38\u5ba2\u8bbf\u95ee<\/li>\n<\/ul>\n<p><strong>4. \u4f7f\u7528\u6ce8\u610f<\/strong><\/p>\n<ul>\n<li>\u6d4f\u89c8\u76ee\u5f55\u3001\u9884\u89c8\u56fe\u7247\u548c\u6587\u6863\u6ca1\u6709\u95ee\u9898<\/li>\n<li>\u901a\u8fc7\u8fd9\u6761\u901a\u9053\u4e0b\u8f7d\u5927\u6587\u4ef6\u6216\u64ad\u653e\u89c6\u9891,\u4f1a\u5360\u6ee1\u4e91\u670d\u52a1\u5668\u7684\u51fa\u53e3\u5e26\u5bbd,\u62d6\u6162\u540c\u4e00\u53f0\u670d\u52a1\u5668\u4e0a\u7684\u535a\u5ba2\u3002\u5e26\u5bbd\u5c0f\u7684\u670d\u52a1\u5668\u5efa\u8bae\u53ea\u7528\u6765\u6d4f\u89c8,\u5927\u6587\u4ef6\u8d70\u7f51\u76d8\u76f4\u94fe\u6216\u672c\u5730\u8bbf\u95ee<\/li>\n<li>\u5982\u679c alist \u91cc\u6302\u8f7d\u4e86\u7f51\u76d8\u5e76\u5f00\u542f\u4e86\u300c302 \u91cd\u5b9a\u5411\u300d,\u4e0b\u8f7d\u6d41\u91cf\u4f1a\u76f4\u63a5\u8d70\u7f51\u76d8,\u4e0d\u7ecf\u8fc7\u4e91\u670d\u52a1\u5668,\u5e26\u5bbd\u538b\u529b\u4f1a\u5c0f\u5f88\u591a<\/li>\n<\/ul>\n<h3 style=\"margin-top:1.5em;\">\u4e09\u3001\u76f8\u518c\u793a\u4f8b<\/h3>\n<p><strong>1. frpc \u914d\u7f6e<\/strong><\/p>\n<ul>\n<li>\u5e38\u89c4\u8bbe\u7f6e:\u540d\u79f0 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">photo<\/code>,\u7c7b\u578b <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">http<\/code>,\u672c\u5730 IP <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">192.168.100.1<\/code>,\u672c\u5730\u7aef\u53e3 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">2342<\/code><\/li>\n<li>HTTP \u8bbe\u7f6e:\u81ea\u5b9a\u4e49\u57df\u586b <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">photo.example.com<\/code><\/li>\n<\/ul>\n<p><strong>2. \u5b9d\u5854\u5efa\u7ad9\u70b9<\/strong><\/p>\n<p>\u6b65\u9aa4\u540c alist,\u57df\u540d\u6362\u6210 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">photo.example.com<\/code>\u3002\u76f8\u518c\u7c7b\u5e94\u7528\u7ecf\u5e38\u8981\u4e0a\u4f20\u5927\u6587\u4ef6,\u9700\u8981\u89e3\u9664\u4e0a\u4f20\u5927\u5c0f\u9650\u5236:<\/p>\n<ul>\n<li>\u7ad9\u70b9\u8bbe\u7f6e \u2192 \u914d\u7f6e\u6587\u4ef6,\u5728 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">server { ... }<\/code> \u5757\u91cc\u52a0\u4e00\u884c:<\/li>\n<\/ul>\n<pre style=\"background:#1e1e1e;color:#e6e6e6;padding:14px 16px;overflow-x:auto;border-radius:6px;line-height:1.5;white-space:pre;\"><code style=\"font-family:Consolas,Menlo,monospace;color:#e6e6e6;background:none;padding:0;\">client_max_body_size 0;<\/code><\/pre>\n<ul>\n<li>\u5982\u679c\u4e0a\u4f20\u65f6\u63d0\u793a 413 \u6216\u4e0a\u4f20\u4e2d\u9014\u65ad\u5f00,\u591a\u534a\u5c31\u662f\u8fd9\u4e2a\u9650\u5236\u5bfc\u81f4\u7684<\/li>\n<\/ul>\n<p><strong>3. \u4f7f\u7528\u6ce8\u610f<\/strong><\/p>\n<ul>\n<li>\u7f29\u7565\u56fe\u548c\u5c0f\u56fe\u6d4f\u89c8\u6ca1\u95ee\u9898<\/li>\n<li>\u5927\u91cf\u67e5\u770b\u539f\u56fe\u3001\u6279\u91cf\u4e0a\u4f20\u7167\u7247\u4f1a\u5f88\u5360\u5e26\u5bbd,\u5efa\u8bae\u5728\u5bb6\u91cc\u540c\u4e00\u5c40\u57df\u7f51\u5185\u6279\u91cf\u540c\u6b65,\u5728\u5916\u9762\u53ea\u505a\u6d4f\u89c8<\/li>\n<li>\u5982\u679c\u9875\u9762\u80fd\u6253\u5f00\u4f46\u5b9e\u65f6\u5237\u65b0\u3001\u9884\u89c8\u5f02\u5e38,\u68c0\u67e5\u5b9d\u5854\u53cd\u5411\u4ee3\u7406\u91cc\u662f\u5426\u5f00\u542f\u4e86 WebSocket \u652f\u6301(\u65b0\u7248\u9ed8\u8ba4\u5e26 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">Upgrade<\/code> \u5934,\u65e7\u7248\u9700\u8981\u624b\u52a8\u786e\u8ba4)<\/li>\n<\/ul>\n<h3 style=\"margin-top:1.5em;\">\u56db\u3001\u6d4b\u901f\u9875\u9762\u793a\u4f8b<\/h3>\n<ul>\n<li>frpc \u4ee3\u7406\u540d\u79f0 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">speed<\/code>,\u672c\u5730\u7aef\u53e3 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">3300<\/code>,\u81ea\u5b9a\u4e49\u57df <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">speed.example.com<\/code><\/li>\n<li>\u5b9d\u5854\u5efa\u7ad9\u70b9\u548c\u53cd\u4ee3\u7684\u6b65\u9aa4\u540c\u4e0a<\/li>\n<li><strong>\u6ce8\u610f<\/strong>:\u901a\u8fc7\u8fd9\u6761\u901a\u9053\u6d4b\u51fa\u6765\u7684\u901f\u5ea6,\u53cd\u6620\u7684\u662f\u300c\u4e91\u670d\u52a1\u5668\u7684\u5e26\u5bbd\u300d,\u800c\u4e0d\u662f\u5bb6\u91cc\u5bbd\u5e26\u7684\u771f\u5b9e\u901f\u5ea6\u3002\u60f3\u6d4b\u5bb6\u91cc\u5bbd\u5e26,\u8981\u5728\u5bb6\u91cc\u5c40\u57df\u7f51\u5185\u8bbf\u95ee<\/li>\n<\/ul>\n<h3 style=\"margin-top:1.5em;\">\u4e94\u3001DDNS-GO \u793a\u4f8b<\/h3>\n<ul>\n<li>frpc \u4ee3\u7406\u540d\u79f0 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">ddnsgo<\/code>,\u672c\u5730\u7aef\u53e3 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">9876<\/code>,\u81ea\u5b9a\u4e49\u57df <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">ddns.example.com<\/code><\/li>\n<li>DDNS-GO \u53ea\u8d1f\u8d23\u52a8\u6001\u57df\u540d\u89e3\u6790,\u5e76\u4e0d\u662f\u5185\u7f51\u7a7f\u900f\u5de5\u5177\u3002\u5982\u679c\u4f60\u5df2\u7ecf\u7528 frp \u6253\u901a\u4e86\u6240\u6709\u670d\u52a1,\u53ef\u4ee5\u4e0d\u66b4\u9732\u5b83\u7684\u7ba1\u7406\u9875\u9762<\/li>\n<li>\u5982\u679c\u4e00\u5b9a\u8981\u516c\u5f00,\u5fc5\u987b\u8bbe\u7f6e\u7ba1\u7406\u5bc6\u7801(DDNS-GO \u9996\u6b21\u8fdb\u5165\u65f6\u53ef\u8bbe\u7f6e\u7528\u6237\u540d\u548c\u5bc6\u7801),\u5e76\u5efa\u8bae\u5728\u5b9d\u5854\u7ad9\u70b9\u91cc\u518d\u52a0\u4e00\u5c42\u300c\u8bbf\u95ee\u9650\u5236\u300d<\/li>\n<\/ul>\n<h3 style=\"margin-top:1.5em;\">\u516d\u3001\u8def\u7531\u5668\u540e\u53f0\u793a\u4f8b(\u9ad8\u98ce\u9669)<\/h3>\n<p>\u8def\u7531\u5668\u540e\u53f0\u4e00\u65e6\u66b4\u9732\u5728\u516c\u7f51,\u522b\u4eba\u731c\u4e2d\u6216\u7206\u7834\u51fa\u5bc6\u7801,\u5c31\u80fd\u63a7\u5236\u6574\u4e2a\u5bb6\u5ead\u7f51\u7edc,\u9700\u8981\u683c\u5916\u5c0f\u5fc3:<\/p>\n<ul>\n<li>frpc \u4ee3\u7406\u540d\u79f0 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">router<\/code>,\u672c\u5730 IP \u586b <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">192.168.100.1<\/code> \u6216 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">127.0.0.1<\/code>,\u672c\u5730\u7aef\u53e3 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">80<\/code><\/li>\n<li>\u81ea\u5b9a\u4e49\u57df\u7528<strong>\u968f\u673a\u5b57\u7b26\u4e32<\/strong>\u4f5c\u4e3a\u5b50\u57df\u540d,\u4f8b\u5982 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">x7k2p9.example.com<\/code>,\u4e0d\u8981\u7528 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">router<\/code>\u3001<code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">admin<\/code>\u3001<code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">istoreos<\/code> \u8fd9\u7c7b\u597d\u731c\u7684\u540d\u5b57<\/li>\n<li>\u8def\u7531\u5668\u540e\u53f0\u5bc6\u7801\u8bbe\u6210\u5f3a\u5bc6\u7801,\u4e0d\u8981\u4f7f\u7528\u9ed8\u8ba4\u5bc6\u7801,\u4e5f\u4e0d\u8981\u548c\u5176\u4ed6\u670d\u52a1\u5171\u7528<\/li>\n<li>\u80fd\u4e0d\u66b4\u9732\u5c31\u4e0d\u66b4\u9732:\u5076\u5c14\u8fdc\u7a0b\u7ba1\u7406\u7684\u8bdd,\u66f4\u63a8\u8350\u914d\u5408 Tailscale \u4e4b\u7c7b\u7684\u7ec4\u7f51\u5de5\u5177\u8bbf\u95ee<\/li>\n<\/ul>\n<h3 style=\"margin-top:1.5em;\">\u4e03\u3001\u4e0d\u5efa\u8bae\u516c\u5f00\u7684\u670d\u52a1<\/h3>\n<ul>\n<li><strong>\u7ec8\u7aef(\u7f51\u9875 SSH)<\/strong>:\u7b49\u4e8e\u76f4\u63a5\u628a\u547d\u4ee4\u884c\u4ea4\u7ed9\u516c\u7f51,\u98ce\u9669\u6700\u9ad8<\/li>\n<li><strong>1Panel \u7b49\u670d\u52a1\u5668\u7ba1\u7406\u9762\u677f<\/strong>:\u62e5\u6709\u5bf9\u8bbe\u5907\u7684\u5b8c\u6574\u63a7\u5236\u6743<\/li>\n<li><strong>Docker \u7ba1\u7406\u754c\u9762<\/strong>:\u540c\u6837\u53ef\u4ee5\u76f4\u63a5\u63a7\u5236\u4e3b\u673a<\/li>\n<\/ul>\n<p>\u8fd9\u7c7b\u670d\u52a1\u8981\u516c\u5f00\u65f6,\u81f3\u5c11\u540c\u65f6\u505a\u5230:\u5f3a\u5bc6\u7801\u3001\u968f\u673a\u5b50\u57df\u540d\u3001\u5b9d\u5854\u300c\u8bbf\u95ee\u9650\u5236\u300d\u518d\u52a0\u4e00\u5c42\u8d26\u53f7\u5bc6\u7801,\u5e76\u5728\u4e0d\u9700\u8981\u65f6\u5173\u95ed\u5bf9\u5e94\u7684 frpc \u4ee3\u7406\u3002<\/p>\n<h3 style=\"margin-top:1.5em;\">\u516b\u3001\u65b0\u589e\u670d\u52a1\u7684\u901a\u7528\u68c0\u67e5\u6e05\u5355<\/h3>\n<p>\u6bcf\u65b0\u589e\u4e00\u4e2a\u670d\u52a1,\u6309\u4e0b\u9762\u987a\u5e8f\u68c0\u67e5,\u51fa\u95ee\u9898\u65f6\u4e5f\u53ef\u4ee5\u5bf9\u7167\u6392\u67e5:<\/p>\n<ol>\n<li>frpc \u91cc\u6dfb\u52a0\u4e86 http \u4ee3\u7406,\u300c\u81ea\u5b9a\u4e49\u57df\u300d\u5df2\u586b\u5199,\u70b9\u4e86\u300c\u4fdd\u5b58\u5e76\u5e94\u7528\u300d<\/li>\n<li>\u4e91\u670d\u52a1\u5668\u4e0a <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">journalctl -u frps -n 20 --no-pager<\/code> \u80fd\u770b\u5230 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">new proxy [\u540d\u79f0] type [http] success<\/code><\/li>\n<li>DNS \u5df2\u6709\u5bf9\u5e94\u7684 A \u8bb0\u5f55(\u6216\u5df2\u914d\u7f6e <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">*<\/code> \u6cdb\u89e3\u6790),<code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">ping<\/code> \u80fd\u8fd4\u56de\u4e91\u670d\u52a1\u5668 IP<\/li>\n<li>\u5b9d\u5854\u91cc\u5df2\u5efa\u540c\u540d\u7ad9\u70b9,\u53cd\u5411\u4ee3\u7406\u76ee\u6807 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">http:\/\/127.0.0.1:8080<\/code>,\u53d1\u9001\u57df\u540d <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">$host<\/code><\/li>\n<li>\u5df2\u7533\u8bf7 SSL \u8bc1\u4e66\u5e76\u5f00\u542f\u5f3a\u5236 HTTPS<\/li>\n<li>\u670d\u52a1\u81ea\u8eab\u5df2\u8bbe\u7f6e\u5f3a\u5bc6\u7801<\/li>\n<\/ol>\n<p><strong>\u6392\u9519\u901f\u67e5<\/strong><\/p>\n<ul>\n<li>502:frps \u6ca1\u8fd0\u884c,\u6216\u53cd\u4ee3\u76ee\u6807\u5199\u9519<\/li>\n<li>404:frpc \u91cc\u7684\u81ea\u5b9a\u4e49\u57df\u548c\u8bbf\u95ee\u7684\u57df\u540d\u4e0d\u4e00\u81f4,\u6216\u4ee3\u7406\u6ca1\u6709\u6ce8\u518c\u6210\u529f<\/li>\n<li>\u6253\u4e0d\u5f00:DNS \u6ca1\u751f\u6548,\u6216\u9632\u706b\u5899 7000 \u6ca1\u653e\u884c<\/li>\n<li>\u9875\u9762\u80fd\u5f00\u4f46\u6837\u5f0f\u3001\u8df3\u8f6c\u5f02\u5e38:\u68c0\u67e5\u670d\u52a1\u81ea\u8eab\u7684\u300c\u7ad9\u70b9URL \/ \u5916\u90e8\u8bbf\u95ee\u5730\u5740\u300d\u8bbe\u7f6e<\/li>\n<\/ul>\n<h2 style=\"margin-top:2em;\">\u4e5d\u3001\u603b\u7ed3<\/h2>\n<p>\u6574\u5957\u65b9\u6848\u7684\u6210\u672c\u53ea\u662f\u4e00\u53f0\u73b0\u6210\u7684\u4e91\u670d\u52a1\u5668\u548c\u4e00\u4e2a\u57df\u540d,\u6ca1\u6709\u57df\u540d\u6570\u91cf\u9650\u5236,\u5730\u5740\u5b8c\u5168\u4f7f\u7528\u81ea\u5df1\u7684\u57df\u540d\u3002\u5173\u952e\u70b9\u53ea\u6709\u4e09\u4e2a:frps \u653e\u4e91\u7aef\u3001frpc \u653e\u5bb6\u91cc\u3001\u5b9d\u5854\u7528 <code style=\"font-family:Consolas,Menlo,monospace;background:#f0f0f0;color:#c7254e;padding:1px 5px;border-radius:3px;\">$host<\/code> \u628a\u57df\u540d\u8f6c\u7ed9 8080\u3002\u914d\u597d\u540e\u65b0\u589e\u670d\u52a1\u53ea\u9700\u4e09\u6b65,\u975e\u5e38\u7701\u4e8b\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u9002\u7528\u573a\u666f:\u5bb6\u91cc\u6709 iStoreOS \u8f6f\u8def\u7531\u6216 NAS,\u60f3\u7528\u81ea&#8230;<\/p>\n","protected":false},"author":1,"featured_media":461,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-459","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/xiaotiao.store\/index.php\/wp-json\/wp\/v2\/posts\/459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xiaotiao.store\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiaotiao.store\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiaotiao.store\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xiaotiao.store\/index.php\/wp-json\/wp\/v2\/comments?post=459"}],"version-history":[{"count":2,"href":"https:\/\/xiaotiao.store\/index.php\/wp-json\/wp\/v2\/posts\/459\/revisions"}],"predecessor-version":[{"id":466,"href":"https:\/\/xiaotiao.store\/index.php\/wp-json\/wp\/v2\/posts\/459\/revisions\/466"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xiaotiao.store\/index.php\/wp-json\/wp\/v2\/media\/461"}],"wp:attachment":[{"href":"https:\/\/xiaotiao.store\/index.php\/wp-json\/wp\/v2\/media?parent=459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiaotiao.store\/index.php\/wp-json\/wp\/v2\/categories?post=459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiaotiao.store\/index.php\/wp-json\/wp\/v2\/tags?post=459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}