{"id":172,"date":"2025-09-17T19:51:43","date_gmt":"2025-09-17T11:51:43","guid":{"rendered":"https:\/\/blog.xiaolin2000.club\/?p=172"},"modified":"2025-10-25T21:20:52","modified_gmt":"2025-10-25T13:20:52","slug":"%e6%90%ad%e5%bb%bafrp%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f","status":"publish","type":"post","link":"https:\/\/blog.xiaolin2000.club\/?p=172","title":{"rendered":"\u642d\u5efaFRP\u5185\u7f51\u7a7f\u900f"},"content":{"rendered":"\n<span id=\"h2-0\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-f707af8d42cba109908083f29362581d\"><strong>\u4e00\u952e\u5b89\u88c5\u811a\u672c<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/gitee.com\/mvscode\/frps-onekey\/raw\/master\/install-frps.sh -O .\/install-frps.sh\nchmod 700 .\/install-frps.sh\n.\/install-frps.sh install<\/code><\/pre>\n\n\n\n<span id=\"h2-1\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-395175439de022e1bd6246bbf9b6d4a9\"><strong>\u8bbe\u7f6e\u540e\u53f0\u8fd0\u884c<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>nohup .\/frps -c frps.ini &gt;\/dev\/null 2&gt;&amp;1 &amp;<\/code><\/pre>\n\n\n\n<span id=\"h2-2\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-64e47583f3eb2bbc587d0c262b85b828\"><strong>\u9632\u706b\u5899\u76f8\u5173\uff08\u56fd\u5185\u670d\u52a1\u5668\u53ef\u4ee5\u76f4\u63a5\u8bbe\u7f6e\u9632\u706b\u5899\u89c4\u5219\uff09<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>Debian\u6216Ubuntu\u7cfb\u7edf\u653e\u884c\u7aef\u53e3\uff1a\nufw allow \u7aef\u53e3\u53f7\niptables -A INPUT -p tcp --dport \u7aef\u53e3\u53f7 -j ACCEPT\nCentOS\u7cfb\u7edf\u653e\u884c\u7aef\u53e3\uff1a\nfirewall-cmd --zone=public --add-port=\u7aef\u53e3\u53f7\/tcp --permanent<\/code><\/pre>\n\n\n\n<span id=\"h2-3\" class=\"heading-anchor\" aria-hidden=\"true\"><\/span><h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-4784431874f9a29802e3205a2875e584\">FRP\u5e38\u7528\u547d\u4ee4<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>\u5f00\u542fFRP\uff1afrps start\n\u505c\u6b62FRP\uff1afrps stop\n\u91cd\u542fFRP\uff1afrps restart\n\u6253\u5f00\u914d\u7f6e\u6587\u4ef6\uff1afrps config\n\u67e5\u770bFRP\u7248\u672c\uff1afrps version\n\u68c0\u67e5FRP\u8fd0\u884c\u72b6\u6001\uff1afrps status<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u952e\u5b89\u88c5\u811a\u672c \u8bbe\u7f6e\u540e\u53f0\u8fd0\u884c \u9632\u706b\u5899\u76f8\u5173\uff08\u56fd\u5185\u670d\u52a1\u5668\u53ef\u4ee5\u76f4\u63a5\u8bbe\u7f6e\u9632\u706b\u5899\u89c4\u5219\uff09 FRP\u5e38\u7528\u547d\u4ee4<\/p>\n","protected":false},"author":1,"featured_media":173,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[55,85,23],"class_list":["post-172","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aps","tag-frp","tag-85","tag-23"],"_links":{"self":[{"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/posts\/172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=172"}],"version-history":[{"count":3,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/posts\/172\/revisions"}],"predecessor-version":[{"id":208,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/posts\/172\/revisions\/208"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=\/wp\/v2\/media\/173"}],"wp:attachment":[{"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xiaolin2000.club\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}