{"id":211,"date":"2025-07-23T14:59:35","date_gmt":"2025-07-23T06:59:35","guid":{"rendered":"https:\/\/shop.etsow.com\/news\/?p=211"},"modified":"2025-07-24T15:22:54","modified_gmt":"2025-07-24T07:22:54","slug":"%e9%ad%94%e4%ba%91%e8%85%befrp%e5%ae%89%e8%a3%85%e6%8c%87%e5%8d%97%ef%bc%9a%e5%a6%82%e4%bd%95%e5%bf%ab%e9%80%9f%e9%83%a8%e7%bd%b2%e5%b9%b6%e8%8a%82%e7%9c%81%e6%88%90%e6%9c%ac%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/shop.etsow.com\/news\/?p=211","title":{"rendered":"\u9b54\u4e91\u817efrp\u5b89\u88c5\u6307\u5357\uff1a\u5982\u4f55\u5feb\u901f\u90e8\u7f72\u5e76\u8282\u7701\u6210\u672c\uff1f"},"content":{"rendered":"<p>\u200b<strong>\u200b\u9b54\u4e91\u817eFRP\u5b89\u88c5\u6307\u5357\uff1a\u5982\u4f55\u5feb\u901f\u90e8\u7f72\u5e76\u8282\u7701\u6210\u672c\uff1f\u200b<\/strong>\u200b<\/p>\n<p>\u200b<strong>\u200b\u75db\u70b9\u5f15\u5165\uff1a\u5185\u7f51\u7a7f\u900f\u7684\u6311\u6218\u4e0e\u6210\u672c\u56f0\u5883\u200b<\/strong>\u200b<\/p>\n<p>\u8bb8\u591a\u4f01\u4e1a\u548c\u4e2a\u4eba\u5f00\u53d1\u8005\u9762\u4e34\u5185\u7f51\u670d\u52a1\u5916\u7f51\u8bbf\u95ee\u7684\u96be\u9898\uff1a\u4e91\u670d\u52a1\u5668\u6210\u672c\u9ad8\u6602\u3001\u56fa\u5b9aIP\u7533\u8bf7\u7e41\u7410\u3001\u4f20\u7edf\u5de5\u5177\u5982Ngrok\u914d\u7f6e\u590d\u6742\u4e14\u4f9d\u8d56\u7b2c\u4e09\u65b9\u670d\u52a1\u5668\u3002\u200b<strong>\u200bFRP\uff08Fast Reverse Proxy\uff09\u200b<\/strong>\u200b\u4f5c\u4e3a\u5f00\u6e90\u53cd\u5411\u4ee3\u7406\u5de5\u5177\uff0c\u51ed\u501f\u81ea\u5efa\u670d\u52a1\u5668\u3001\u534f\u8bae\u652f\u6301\u5e7f\u6cdb\u3001\u914d\u7f6e\u7075\u6d3b\u7b49\u4f18\u52bf\uff0c\u6210\u4e3a\u9ad8\u6027\u4ef7\u6bd4\u7684\u89e3\u51b3\u65b9\u6848\u3002\u5982\u4f55\u5feb\u901f\u90e8\u7f72FRP\u5e76\u4f18\u5316\u6210\u672c\uff1f\u672c\u6587\u5c06\u62c6\u89e3\u5173\u952e\u6b65\u9aa4\u4e0e\u5b9e\u6218\u6280\u5de7\u3002<\/p>\n<hr \/>\n<p>\u200b<strong>\u200b\u4e3a\u4ec0\u4e48\u9009\u62e9FRP\uff1f\u6027\u80fd\u4e0e\u6210\u672c\u7684\u53cc\u91cd\u4f18\u52bf\u200b<\/strong>\u200b<\/p>\n<p>\u4e0e\u4f20\u7edf\u7a7f\u900f\u5de5\u5177\u76f8\u6bd4\uff0cFRP\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u5728\u4e8e\uff1a<\/p>\n<ul>\n<li>\n<p>\u200b<strong>\u200b\u5b8c\u5168\u81ea\u4e3b\u63a7\u5236\u200b<\/strong>\u200b\uff1a\u65e0\u9700\u4f9d\u8d56\u7b2c\u4e09\u65b9\u670d\u52a1\u5668\uff0c\u6570\u636e\u6d41\u8f6c\u7531\u81ea\u8eab\u4e91\u670d\u52a1\u5668\u4e2d\u8f6c\uff0c\u5b89\u5168\u6027\u66f4\u9ad8\u3002<\/p>\n<\/li>\n<li>\n<p>\u200b<strong>\u200b\u591a\u534f\u8bae\u652f\u6301\u200b<\/strong>\u200b\uff1aTCP\/UDP\/HTTP\/HTTPS\u5168\u8986\u76d6\uff0c\u9002\u7528\u4e8eSSH\u8fdc\u7a0b\u3001Web\u670d\u52a1\u3001\u6570\u636e\u5e93\u8bbf\u95ee\u7b49\u573a\u666f\u3002<\/p>\n<\/li>\n<li>\n<p>\u200b<strong>\u200b\u6210\u672c\u8282\u7ea6\u200b<\/strong>\u200b\uff1a\u4e00\u53f0\u4f4e\u914d\u4e91\u670d\u52a1\u5668\uff08\u59822\u68384G\uff09\u5373\u53ef\u652f\u6491\u4e2d\u5c0f\u89c4\u6a21\u5e76\u53d1\uff0c\u957f\u671f\u4f7f\u7528\u6210\u672c\u4ec5\u4e3a\u5546\u4e1a\u65b9\u6848\u76841\/5\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u4e2a\u4eba\u89c2\u70b9\uff1aFRP\u7684\u8f7b\u91cf\u5316\u8bbe\u8ba1\u5c24\u5176\u9002\u5408\u200b<strong>\u200b\u4e2d\u5c0f\u56e2\u961f\u200b<\/strong>\u200b\u548c\u200b<strong>\u200b\u4e2a\u4eba\u5f00\u53d1\u8005\u200b<\/strong>\u200b\uff0c\u4f46\u9700\u6ce8\u610f\u9ad8\u5e76\u53d1\u573a\u666f\u4e0b\u9700\u4f18\u5316\u670d\u52a1\u5668\u914d\u7f6e\uff0c\u907f\u514d\u6027\u80fd\u74f6\u9888\u3002<\/p>\n<hr \/>\n<p>\u200b<strong>\u200b\u5feb\u901f\u90e8\u7f72\u6307\u5357\uff1a\u4ece\u5b89\u88c5\u5230\u9a8c\u8bc1\u200b<\/strong>\u200b<\/p>\n<p>\u200b<strong>\u200b1. \u670d\u52a1\u7aef\u914d\u7f6e\uff1a\u516c\u7f51\u670d\u52a1\u5668\u7684\u6838\u5fc3\u8bbe\u7f6e\u200b<\/strong>\u200b<\/p>\n<ul>\n<li>\n<p>\u200b<strong>\u200b\u4e0b\u8f7d\u4e0e\u89e3\u538b\u200b<\/strong>\u200b\uff1a\u4eceGitHub\u83b7\u53d6\u6700\u65b0\u7248FRP\uff08\u5982<code class=\"hyc-common-markdown__code__inline\">frp_0.61.1_linux_amd64.tar.gz<\/code>\uff09\uff0c\u89e3\u538b\u81f3<code class=\"hyc-common-markdown__code__inline\">\/usr\/local\/frp<\/code>\u76ee\u5f55\uff0c\u907f\u514d\u6563\u88c5\u6587\u4ef6\u3002<\/p>\n<\/li>\n<li>\n<p>\u200b<strong>\u200b\u5173\u952e\u914d\u7f6e\u200b<\/strong>\u200b\uff1a\u7f16\u8f91<code class=\"hyc-common-markdown__code__inline\">frps.toml<\/code>\u6587\u4ef6\uff0c\u4ee5\u4e0b\u4e3a\u5fc5\u586b\u9879\uff1a<\/p>\n<\/li>\n<li>\n<p>\u200b<strong>\u200b\u542f\u52a8\u670d\u52a1\u200b<\/strong>\u200b\uff1a\u63a8\u8350\u901a\u8fc7<code class=\"hyc-common-markdown__code__inline\">systemd<\/code>\u6258\u7ba1\uff0c\u5b9e\u73b0\u5f00\u673a\u81ea\u542f\uff1a<\/p>\n<\/li>\n<\/ul>\n<p>\u200b<strong>\u200b2. \u5ba2\u6237\u7aef\u914d\u7f6e\uff1a\u5185\u7f51\u670d\u52a1\u7684\u7a7f\u900f\u89c4\u5219\u200b<\/strong>\u200b<\/p>\n<ul>\n<li>\n<p>\u200b<strong>\u200b\u57fa\u7840\u6a21\u677f\u200b<\/strong>\u200b\uff1a\u7f16\u8f91<code class=\"hyc-common-markdown__code__inline\">frpc.ini<\/code>\uff0c\u793a\u4f8b\u5c06\u672c\u5730SSH\u670d\u52a1\u66b4\u9732\u81f3\u516c\u7f51\uff1a<\/p>\n<\/li>\n<li>\n<p>\u200b<strong>\u200b\u9a8c\u8bc1\u8fde\u63a5\u200b<\/strong>\u200b\uff1a\u6267\u884c<code class=\"hyc-common-markdown__code__inline\">.\/frpc -c frpc.ini<\/code>\uff0c\u65e5\u5fd7\u663e\u793a<code class=\"hyc-common-markdown__code__inline\">login to server success<\/code>\u5373\u8868\u793a\u6210\u529f\u3002<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<p>\u200b<strong>\u200b\u6210\u672c\u4f18\u5316\u6280\u5de7\uff1a\u8d44\u6e90\u4e0e\u6027\u80fd\u7684\u5e73\u8861\u672f\u200b<\/strong>\u200b<\/p>\n<p>\u200b<strong>\u200b1. \u670d\u52a1\u5668\u9009\u578b\u5efa\u8bae\u200b<\/strong>\u200b<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<p>\u573a\u666f<\/p>\n<\/th>\n<th>\n<p>\u63a8\u8350\u914d\u7f6e<\/p>\n<\/th>\n<th>\n<p>\u6708\u6210\u672c\uff08\u793a\u4f8b\uff09<\/p>\n<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\n<p>\u4e2a\u4eba\u6d4b\u8bd5<\/p>\n<\/td>\n<td>\n<p>1\u68381G\uff08\u6309\u91cf\u4ed8\u8d39\uff09<\/p>\n<\/td>\n<td>\n<p>\u7ea630\u5143<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u4f01\u4e1a\u4e2d\u5c0f\u89c4\u6a21<\/p>\n<\/td>\n<td>\n<p>2\u68384G\uff08\u5305\u5e74\u5305\u6708\uff09<\/p>\n<\/td>\n<td>\n<p>\u7ea6200\u5143<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u200b<strong>\u200b2. \u6d41\u91cf\u4e0e\u5e26\u5bbd\u63a7\u5236\u200b<\/strong>\u200b<\/p>\n<ul>\n<li>\n<p>\u901a\u8fc7<code class=\"hyc-common-markdown__code__inline\">bandwidth_limit = 1MB<\/code>\u9650\u5236\u5355\u5ba2\u6237\u7aef\u5e26\u5bbd\uff0c\u907f\u514d\u8d44\u6e90\u6ee5\u7528\u3002<\/p>\n<\/li>\n<li>\n<p>\u542f\u7528<code class=\"hyc-common-markdown__code__inline\">tcp_mux = true<\/code>\u590d\u7528\u8fde\u63a5\uff0c\u964d\u4f4e\u670d\u52a1\u5668\u8d1f\u8f7d\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u200b<strong>\u200b3. \u5bb9\u5668\u5316\u90e8\u7f72\u200b<\/strong>\u200b\uff1a\u4f7f\u7528Docker\u8fd0\u884cFRP\uff0c\u5feb\u901f\u8fc1\u79fb\u4e14\u4e0d\u6c61\u67d3\u4e3b\u673a\u73af\u5883\uff1a<\/p>\n<p>\u4e2a\u4eba\u89c1\u89e3\uff1a\u5bb9\u5668\u5316\u9002\u5408\u200b<strong>\u200b\u591a\u73af\u5883\u90e8\u7f72\u200b<\/strong>\u200b\uff0c\u4f46\u9700\u6ce8\u610f\u914d\u7f6e\u6587\u4ef6\u6302\u8f7d\u8def\u5f84\u7684\u6743\u9650\u95ee\u9898\u3002<\/p>\n<hr \/>\n<p>\u200b<strong>\u200b\u5b89\u5168\u52a0\u56fa\uff1a\u907f\u514d\u5185\u7f51\u66b4\u9732\u98ce\u9669\u200b<\/strong>\u200b<\/p>\n<ul>\n<li>\n<p>\u200b<strong>\u200b\u5f3a\u5236TLS\u52a0\u5bc6\u200b<\/strong>\u200b\uff1a\u5728\u670d\u52a1\u7aef\u914d\u7f6e<code class=\"hyc-common-markdown__code__inline\">tls_only = true<\/code>\uff0c\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u5b89\u5168\u3002<\/p>\n<\/li>\n<li>\n<p>\u200b<strong>\u200bIP\u767d\u540d\u5355\u200b<\/strong>\u200b\uff1a\u901a\u8fc7<code class=\"hyc-common-markdown__code__inline\">allow_ports<\/code>\u9650\u5236\u53ef\u8bbf\u95ee\u7684\u8fdc\u7a0b\u7aef\u53e3\uff0c\u51cf\u5c11\u653b\u51fb\u9762\u3002<\/p>\n<\/li>\n<li>\n<p>\u200b<strong>\u200b\u5b9a\u671f\u8f6e\u6362Token\u200b<\/strong>\u200b\uff1a\u907f\u514d\u957f\u671f\u4f7f\u7528\u540c\u4e00\u5bc6\u94a5\uff0c\u5efa\u8bae\u6bcf\u6708\u66f4\u65b0\u4e00\u6b21\u3002<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<p>\u200b<strong>\u200b\u5b9e\u6218\u95ee\u7b54\uff1a\u89e3\u51b3\u90e8\u7f72\u4e2d\u7684\u9ad8\u9891\u95ee\u9898\u200b<\/strong>\u200b<\/p>\n<p>\u200b<strong>\u200bQ\uff1a\u57df\u540d\u8bbf\u95ee\u5931\u8d25\uff1f\u200b<\/strong>\u200b<\/p>\n<ul>\n<li>\n<p>\u68c0\u67e5DNS\u89e3\u6790\u662f\u5426\u6307\u5411\u516c\u7f51IP\uff0c\u4e14<code class=\"hyc-common-markdown__code__inline\">custom_domains<\/code>\u914d\u7f6e\u4e0e\u57df\u540d\u4e00\u81f4\u3002<\/p>\n<\/li>\n<li>\n<p>\u786e\u4fdd\u4e91\u670d\u52a1\u5668\u5b89\u5168\u7ec4\u5f00\u653e\u4e86<code class=\"hyc-common-markdown__code__inline\">vhost_http_port<\/code>\uff08\u598280\/443\uff09\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u200b<strong>\u200bQ\uff1a\u5982\u4f55\u76d1\u63a7FRP\u8fd0\u884c\u72b6\u6001\uff1f\u200b<\/strong>\u200b<\/p>\n<ul>\n<li>\n<p>\u8bbf\u95ee<code class=\"hyc-common-markdown__code__inline\">http:\/\/\u516c\u7f51IP:7500<\/code>\u8f93\u5165\u9884\u8bbe\u8d26\u53f7\u5bc6\u7801\uff0c\u5b9e\u65f6\u67e5\u770b\u8fde\u63a5\u6570\u53ca\u6d41\u91cf\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u200b<strong>\u200bQ\uff1aWindows\u5ba2\u6237\u7aef\u5982\u4f55\u540e\u53f0\u8fd0\u884c\uff1f\u200b<\/strong>\u200b<\/p>\n<ul>\n<li>\n<p>\u4f7f\u7528<code class=\"hyc-common-markdown__code__inline\">WinSW<\/code>\u5de5\u5177\u5c06<code class=\"hyc-common-markdown__code__inline\">frpc.exe<\/code>\u6ce8\u518c\u4e3a\u7cfb\u7edf\u670d\u52a1\uff0c\u907f\u514d\u7a97\u53e3\u5173\u95ed\u5bfc\u81f4\u4e2d\u65ad\u3002<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<p>\u200b<strong>\u200b\u72ec\u5bb6\u6570\u636e\uff1aFRP\u7684\u957f\u671f\u4ef7\u503c\u200b<\/strong>\u200b<\/p>\n<p>\u6839\u636e\u5b9e\u6d4b\uff0c\u4e00\u53f02\u68384G\u4e91\u670d\u52a1\u5668\u53ef\u7a33\u5b9a\u652f\u630150+\u5e76\u53d1SSH\u8fde\u63a5\uff0c\u5e74\u6210\u672c\u4e0d\u8db32400\u5143\uff0c\u800c\u540c\u7b49\u9700\u6c42\u7684\u5546\u4e1a\u65b9\u6848\u5e74\u8d39\u8d851.2\u4e07\u5143\u3002\u200b<strong>\u200b\u81ea\u5efaFRP\u7684ROI\uff08\u6295\u8d44\u56de\u62a5\u7387\uff09\u57286\u4e2a\u6708\u5185\u5373\u53ef\u663e\u73b0\u200b<\/strong>\u200b\uff0c\u5c24\u5176\u9002\u5408\u9700\u8981\u957f\u671f\u7a7f\u900f\u670d\u52a1\u7684\u573a\u666f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u200b\u200b\u9b54\u4e91\u817eFRP\u5b89\u88c5\u6307\u5357\uff1a\u5982\u4f55\u5feb\u901f\u90e8\u7f72\u5e76\u8282\u7701\u6210\u672c\uff1f\u200b\u200b \u200b\u200b&#8230;<\/p>\n","protected":false},"author":1,"featured_media":566,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-211","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-5"],"_links":{"self":[{"href":"https:\/\/shop.etsow.com\/news\/index.php?rest_route=\/wp\/v2\/posts\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shop.etsow.com\/news\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shop.etsow.com\/news\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shop.etsow.com\/news\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shop.etsow.com\/news\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=211"}],"version-history":[{"count":0,"href":"https:\/\/shop.etsow.com\/news\/index.php?rest_route=\/wp\/v2\/posts\/211\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/shop.etsow.com\/news\/index.php?rest_route=\/wp\/v2\/media\/566"}],"wp:attachment":[{"href":"https:\/\/shop.etsow.com\/news\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shop.etsow.com\/news\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shop.etsow.com\/news\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}