{"id":752,"date":"2021-07-30T16:54:36","date_gmt":"2021-07-30T08:54:36","guid":{"rendered":"http:\/\/b.yesiyu.top\/?p=752"},"modified":"2021-07-30T16:54:36","modified_gmt":"2021-07-30T08:54:36","slug":"%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e7%b3%bb%e5%88%97-frp-%ef%bc%88%e6%96%b0%e4%b8%80%e4%bb%a3%e9%ab%98%e6%80%a7%e8%83%bd%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"https:\/\/b.yesiyu.top\/?p=752","title":{"rendered":"\u5185\u7f51\u7a7f\u900f\u7cfb\u5217\u2014\u2014frp \uff08\u65b0\u4e00\u4ee3\u9ad8\u6027\u80fd\u5185\u7f51\u7a7f\u900f\u5de5\u5177\uff09"},"content":{"rendered":"<p>\u4e00.\u4ecb\u7ecd<br \/>\n\u524d\u9762\u4ecb\u7ecd\u4e86ngrok\uff0c\u4e5f\u8bf4\u4e86\u5b83\u76841.x\u7248\u672c\u5177\u6709\u4e00\u4e9bBug\u5e76\u4e14\u4f5c\u8005\u653e\u5f03\u4e86\u7ef4\u62a4\uff0c\u90a3\u4e48\uff0c\u8c01\u80fd\u591f\u53d6\u4ee3ngrok\u5728\u5185\u7f51\u7a7f\u900f\u5de5\u5177\u4e2d\u7684\u5730\u4f4d\u5462\uff1f\u6211\u89c9\u5f97frp\u4e5f\u8bb8\u53ef\u4ee5\uff0cfrp\u662ffast reverse proxy\u7684\u7f29\u5199\uff0c\u5176\u53ef\u7528\u4e8e\u53cd\u5411\u4ee3\u7406\u548c\u5185\u7f51\u7a7f\u900f\uff0c\u652f\u6301tcp, udp, http, https \u534f\u8bae\uff0c\u8fd9\u6bd4ngrok\u8fd8\u591a\u4e86\u4e2audp\u3002\u5e76\u4e14\u53d1\u5e03\u4ee5\u6765\u5e7f\u53d7\u6b22\u8fce\uff0c\u79ef\u7d2f\u4e86\u4e0d\u5c11\u7528\u6237\uff0c\u4f5c\u8005\u4e5f\u662f\u5f88\u52e4\u5feb\uff0c\u4e00\u76f4\u5728\u4fee\u590dbug\u548c\u66f4\u65b0\u65b0\u7279\u6027\u3002<\/p>\n<p>\u5e76\u4e14\uff0c\u4f5c\u8005\u662f\u4e2a\u4e2d\u56fd\u4eba\uff0c\u6240\u4ee5\u5728GitHub\u4e0a\u8fd8\u6709\u4e2d\u6587\u6587\u6863\uff0c\u5199\u7684\u8fd8\u633a\u8be6\u7ec6\u7684\uff0c\u4e0d\u8fc7\u2026\u2026\u4e0d\u53bb\u770b\u6587\u6863\u662f\u5f88\u591a\u4eba\u7684\u7279\u70b9\uff0c\u6240\u4ee5\u6211\u8fd9\u8fb9\u8fd8\u662f\u8bb0\u70b9\u4e1c\u897f\u6765\u4ecb\u7ecd\u4e0b\u7b80\u5355\u7684\u5b89\u88c5\u548c\u64cd\u4f5c\u914d\u7f6e\u3002<\/p>\n<p>\u4e8c.\u5b89\u88c5\u914d\u7f6e<br \/>\nfrp\u63d0\u4f9b\u4e86\u70ed\u95e8\u5e73\u53f0\u7684\u7a0b\u5e8f\u6587\u4ef6\uff0c\u6240\u4ee5\u5b89\u88c5\u4e5f\u53d8\u5f97\u6bd4\u8f83\u7b80\u5355\u4e86\uff0c\u6211\u8fd9\u8fb9\u7684\u662fLinux 64\u4f4d\u5e73\u53f0\u7684\uff0c\u5176\u5b83\u7684\u8bf7\u81ea\u5df1\u53bb\u4e0b\u2014\u2014&gt;\u4f20\u9001\u95e8<\/p>\n<p>wget https:\/\/github.com\/fatedier\/frp\/releases\/download\/v0.12.0\/frp_0.12.0_linux_amd64.tar.gz<br \/>\ntar xzf frp_0.12.0_linux_amd64.tar.gz<br \/>\nmv frp_*\/frps \/usr\/bin\/<br \/>\nmkdir \/etc\/frp\/<br \/>\nrm -rf frp_*<\/p>\n<p>wget https:\/\/github.com\/fatedier\/frp\/releases\/download\/v0.12.0\/frp_0.12.0_linux_amd64.tar.gz<br \/>\ntar xzf frp_0.12.0_linux_amd64.tar.gz<br \/>\nmv frp_*\/frps \/usr\/bin\/<br \/>\nmkdir \/etc\/frp\/<br \/>\nrm -rf frp_*<br \/>\n\u7136\u540e\u6839\u636e\u4e0b\u9762\u914d\u7f6e\u4f60\u81ea\u5df1\u6539\u4e86\u586b\u5230\u914d\u7f6e\u6587\u4ef6\u4e2d<\/p>\n<p>vi \/etc\/frp\/frps.ini<\/p>\n<p>vi \/etc\/frp\/frps.ini<br \/>\n\u4e0b\u9762\u662f\u6211\u7ffb\u8bd1\u7684\u5e26\u8bf4\u660e\u7684\u670d\u52a1\u7aef\u914d\u7f6e\u6587\u4ef6\uff0c\u5c31\u8fd9\u4e48\u51d1\u548c\u7740\u770b\u5427<\/p>\n<p>[common]<br \/>\n#frp\u670d\u52a1\u5668\u76d1\u542c\u5730\u5740\uff0c\u5982\u679c\u662fIPV6\u5730\u5740\u5fc5\u987b\u7528\u4e2d\u62ec\u53f7\u5305\u56f4<br \/>\nbind_addr = 0.0.0.0<br \/>\n#frp\u670d\u52a1\u5668\u76d1\u542c\u7aef\u53e3<br \/>\nbind_port = 7000<\/p>\n<p>#kcp\u7684udp\u76d1\u542c\u7aef\u53e3\uff0c\u5982\u679c\u4e0d\u8bbe\u90a3\u5c31\u4e0d\u542f\u7528<br \/>\n#kcp_bind_port = 7000<br \/>\n#\u6307\u5b9a\u4f7f\u7528\u7684\u534f\u8bae\uff0c\u9ed8\u8ba4tcp\uff0c\u53ef\u9009kcp<br \/>\n#protocol = kcp<\/p>\n<p>#\u5982\u679c\u8981\u4f7f\u7528vitual host\uff0c\u5c31\u5fc5\u987b\u8bbe\u7f6e<br \/>\n#vhost_http_port = 80<br \/>\n#vhost_https_port = 443<\/p>\n<p>#Web\u540e\u53f0\u76d1\u542c\u7aef\u53e3<br \/>\ndashboard_port = 7500<\/p>\n<p>#Web\u540e\u53f0\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801<br \/>\ndashboard_user = admin<br \/>\ndashboard_pwd = admin<\/p>\n<p>#Web\u540e\u53f0\u7684\u9759\u6001\u8d44\u6e90\u76ee\u5f55\uff0c\u8c03\u8bd5\u7528\u7684\uff0c\u4e00\u822c\u4e0d\u8bbe<br \/>\n#assets_dir = .\/static<\/p>\n<p>#\u65e5\u5fd7\u8f93\u51fa\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u5177\u4f53\u7684\u65e5\u5fd7\u6587\u4ef6\u6216\u8005console<br \/>\nlog_file = \/var\/log\/frps.log<\/p>\n<p>#\u65e5\u5fd7\u8bb0\u5f55\u7b49\u7ea7\uff0c\u6709trace, debug, info, warn, error<br \/>\nlog_level = info<br \/>\n#\u65e5\u5fd7\u4fdd\u7559\u65f6\u95f4<br \/>\nlog_max_days = 3<\/p>\n<p>#\u542f\u7528\u7279\u6743\u6a21\u5f0f\uff0c\u4ecev0.10.0\u7248\u672c\u5f00\u59cb\u9ed8\u8ba4\u542f\u7528\u7279\u6743\u6a21\u5f0f\uff0c\u4e14\u76ee\u524d\u53ea\u80fd\u4f7f\u7528\u7279\u6743\u6a21\u5f0f<br \/>\n#privilege_mode = true<\/p>\n<p>#\u7279\u6743\u6a21\u5f0fToken\uff0c\u8bf7\u5c3d\u91cf\u957f\u70b9\u4e14\u590d\u6742<br \/>\nprivilege_token = 12345678<\/p>\n<p>#\u7279\u6743\u6a21\u5f0f\u5141\u8bb8\u5206\u914d\u7684\u7aef\u53e3\u8303\u56f4<br \/>\nprivilege_allow_ports = 2000-3000,3001,3003,4000-50000<\/p>\n<p>#\u5fc3\u8df3\u8d85\u65f6\uff0c\u4e0d\u7528\u6539<br \/>\n#heartbeat_timeout = 90<\/p>\n<p>#\u6bcf\u4e2a\u4ee3\u7406\u53ef\u4ee5\u8bbe\u7f6e\u7684\u8fde\u63a5\u6c60\u4e0a\u9650<br \/>\n#max_pool_count = 5<\/p>\n<p>#\u8ba4\u8bc1\u8d85\u65f6\u65f6\u95f4\uff0c\u4e00\u822c\u4e0d\u7528\u6539<br \/>\n#authentication_timeout = 900<\/p>\n<p>#\u5982\u679c\u914d\u7f6e\u4e86\u8fd9\u4e2a\uff0c\u5f53\u4f60\u7684\u6a21\u5f0f\u4e3ahttp\u6216https\u65f6\uff0c\u5c31\u80fd\u8bbe\u7f6e\u5b50\u57df\u540dsubdomain<br \/>\n#subdomain_host = frps.com<\/p>\n<p>#\u662f\u5426\u542f\u7528tcp\u591a\u8def\u590d\u7528\uff0c\u9ed8\u8ba4\u5c31\u662ftrue\uff0c\u4e0d\u7528\u7ba1<br \/>\n#tcp_mux = true<\/p>\n<p>[common]<br \/>\n#frp\u670d\u52a1\u5668\u76d1\u542c\u5730\u5740\uff0c\u5982\u679c\u662fIPV6\u5730\u5740\u5fc5\u987b\u7528\u4e2d\u62ec\u53f7\u5305\u56f4<br \/>\nbind_addr = 0.0.0.0<br \/>\n#frp\u670d\u52a1\u5668\u76d1\u542c\u7aef\u53e3<br \/>\nbind_port = 7000<\/p>\n<p>#kcp\u7684udp\u76d1\u542c\u7aef\u53e3\uff0c\u5982\u679c\u4e0d\u8bbe\u90a3\u5c31\u4e0d\u542f\u7528<br \/>\n#kcp_bind_port = 7000<br \/>\n#\u6307\u5b9a\u4f7f\u7528\u7684\u534f\u8bae\uff0c\u9ed8\u8ba4tcp\uff0c\u53ef\u9009kcp<br \/>\n#protocol = kcp<\/p>\n<p>#\u5982\u679c\u8981\u4f7f\u7528vitual host\uff0c\u5c31\u5fc5\u987b\u8bbe\u7f6e<br \/>\n#vhost_http_port = 80<br \/>\n#vhost_https_port = 443<\/p>\n<p>#Web\u540e\u53f0\u76d1\u542c\u7aef\u53e3<br \/>\ndashboard_port = 7500<\/p>\n<p>#Web\u540e\u53f0\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801<br \/>\ndashboard_user = admin<br \/>\ndashboard_pwd = admin<\/p>\n<p>#Web\u540e\u53f0\u7684\u9759\u6001\u8d44\u6e90\u76ee\u5f55\uff0c\u8c03\u8bd5\u7528\u7684\uff0c\u4e00\u822c\u4e0d\u8bbe<br \/>\n#assets_dir = .\/static<\/p>\n<p>#\u65e5\u5fd7\u8f93\u51fa\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u5177\u4f53\u7684\u65e5\u5fd7\u6587\u4ef6\u6216\u8005console<br \/>\nlog_file = \/var\/log\/frps.log<\/p>\n<p>#\u65e5\u5fd7\u8bb0\u5f55\u7b49\u7ea7\uff0c\u6709trace, debug, info, warn, error<br \/>\nlog_level = info<br \/>\n#\u65e5\u5fd7\u4fdd\u7559\u65f6\u95f4<br \/>\nlog_max_days = 3<\/p>\n<p>#\u542f\u7528\u7279\u6743\u6a21\u5f0f\uff0c\u4ecev0.10.0\u7248\u672c\u5f00\u59cb\u9ed8\u8ba4\u542f\u7528\u7279\u6743\u6a21\u5f0f\uff0c\u4e14\u76ee\u524d\u53ea\u80fd\u4f7f\u7528\u7279\u6743\u6a21\u5f0f<br \/>\n#privilege_mode = true<\/p>\n<p>#\u7279\u6743\u6a21\u5f0fToken\uff0c\u8bf7\u5c3d\u91cf\u957f\u70b9\u4e14\u590d\u6742<br \/>\nprivilege_token = 12345678<\/p>\n<p>#\u7279\u6743\u6a21\u5f0f\u5141\u8bb8\u5206\u914d\u7684\u7aef\u53e3\u8303\u56f4<br \/>\nprivilege_allow_ports = 2000-3000,3001,3003,4000-50000<\/p>\n<p>#\u5fc3\u8df3\u8d85\u65f6\uff0c\u4e0d\u7528\u6539<br \/>\n#heartbeat_timeout = 90<\/p>\n<p>#\u6bcf\u4e2a\u4ee3\u7406\u53ef\u4ee5\u8bbe\u7f6e\u7684\u8fde\u63a5\u6c60\u4e0a\u9650<br \/>\n#max_pool_count = 5<\/p>\n<p>#\u8ba4\u8bc1\u8d85\u65f6\u65f6\u95f4\uff0c\u4e00\u822c\u4e0d\u7528\u6539<br \/>\n#authentication_timeout = 900<\/p>\n<p>#\u5982\u679c\u914d\u7f6e\u4e86\u8fd9\u4e2a\uff0c\u5f53\u4f60\u7684\u6a21\u5f0f\u4e3ahttp\u6216https\u65f6\uff0c\u5c31\u80fd\u8bbe\u7f6e\u5b50\u57df\u540dsubdomain<br \/>\n#subdomain_host = frps.com<\/p>\n<p>#\u662f\u5426\u542f\u7528tcp\u591a\u8def\u590d\u7528\uff0c\u9ed8\u8ba4\u5c31\u662ftrue\uff0c\u4e0d\u7528\u7ba1<br \/>\n#tcp_mux = true<br \/>\n\u5728\u8fd9\u4e2a\u914d\u7f6e\u6587\u4ef6\u4e2d\u8001\u7248\u672c\u662f\u53ef\u4ee5\u4e0d\u542f\u7528\u7279\u6743\u6a21\u5f0f\u6216\u8005\u540c\u65f6\u6dfb\u52a0\u5176\u5b83\u7684section\u6765\u5728\u670d\u52a1\u7aef\u914d\u7f6e\u5176\u5b83\u7684\u8f6c\u53d1\u8bbe\u7f6e\u7684\uff0c\u4f46\u662f\u4ecev0.10.0\u7248\u672c\u5f00\u59cb\u540e\u7279\u6743\u6a21\u5f0f\u6682\u65f6\u662f\u552f\u4e00\u53ef\u7528\u7684\uff08\u56e0\u4e3a\u65b9\u4fbf\uff0c\u4e0d\u7528\u4e3a\u4e86\u4e00\u4e2a\u914d\u7f6e\u800c\u65e2\u8981\u6539\u670d\u52a1\u7aef\u53c8\u8981\u6539\u5ba2\u6237\u7aef\uff09<\/p>\n<p>\u5728\u4fee\u6539\u597d\u670d\u52a1\u7aef\u914d\u7f6e\u6587\u4ef6\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u542f\u7528frp\u7684\u670d\u52a1\u7aef\u4e86<\/p>\n<p>frps -c \/etc\/frp\/frps.ini<br \/>\n1<br \/>\nfrps -c \/etc\/frp\/frps.ini<br \/>\n\u7136\u540e\u670d\u52a1\u7aef\u5c31OK\u4e86\uff0c\u4e0b\u9762\u5f00\u59cb\u914d\u7f6e\u5ba2\u6237\u7aef\uff0c\u5ba2\u6237\u7aef\u7a0b\u5e8f\u81ea\u5df1\u5728GitHub\u4e0a\u9762\u4e0b\uff0c\u5404\u4e2a\u5e73\u53f0\u7684\u5305\u91cc\u9762frps\u662f\u670d\u52a1\u5668\uff0cfrpc\u5c31\u662f\u5ba2\u6237\u7aef<\/p>\n<p>\u914d\u7f6e\u6587\u4ef6\u5982\u4e0b\uff0c\u81ea\u5df1\u4fee\u6539\u540e\u4fdd\u5b58\u4e3afrpc.ini<\/p>\n<p>[common]<br \/>\n#frp\u670d\u52a1\u5668\u5730\u5740<br \/>\nserver_addr = 1.2.3.4<br \/>\n#frp\u670d\u52a1\u5668\u7aef\u53e3<br \/>\nserver_port = 7000<br \/>\n#\u7279\u6743\u6a21\u5f0fToken<br \/>\nprivilege_token = 12345678<br \/>\n#\u8f6c\u53d1SSH<br \/>\n[ssh]<br \/>\ntype = tcp<br \/>\n#\u53ef\u4ee5\u6307\u5b9a\u4e3a\u5176\u5b83IP\uff0c\u9ed8\u8ba4\u662f\u672c\u5730<br \/>\n#local_ip = 127.0.0.1<br \/>\nlocal_port = 22<br \/>\nremote_port = 6000<br \/>\n#\u542f\u7528\u52a0\u5bc6<br \/>\nuse_encryption = true<br \/>\n#\u542f\u7528\u538b\u7f29<br \/>\nuse_compression = true<\/p>\n<p>#\u8f6c\u53d1Web<br \/>\n[web]<br \/>\ntype = http<br \/>\nlocal_port = 80<br \/>\ncustom_domains = www.yourdomain.com<br \/>\n#\u4fee\u6539header\u4e2d\u7684host<br \/>\n#host_header_rewrite = dev.yourdomain.com<br \/>\n#\u542f\u7528\u7b80\u5355HTTP\u8ba4\u8bc1<br \/>\n#http_user = abc<br \/>\n#http_pwd = abc<br \/>\n#\u5728\u670d\u52a1\u7aef\u914d\u7f6e\u4e86subdomain_host\u7684\u60c5\u51b5\u4e0b\u7528\u4e8e\u81ea\u5b9a\u4e49\u4e8c\u7ea7\u57df\u540d<br \/>\n#subdomain = test<br \/>\n#\u5728\u5b58\u5728\u591a\u4e2a\u76f8\u540c\u57df\u540d\u7684\u60c5\u51b5\u4e0b\u901a\u8fc7\u8bf7\u6c42\u7684URL\u8def\u7531\u5230\u4e0d\u540c\u7684\u914d\u7f6e<br \/>\n#locations = \/news,\/about<\/p>\n<p>#\u8f6c\u53d1DNS\u8bf7\u6c42<br \/>\n[dns]<br \/>\ntype = udp<br \/>\nlocal_ip = 8.8.8.8<br \/>\nlocal_port = 53<br \/>\nremote_port = 6000<\/p>\n<p>#\u8f6c\u53d1Unix\u57df\u5957\u63a5\u5b57\uff08\u8fd9\u513f\u662fDocker\uff09<br \/>\n[unix_domain_socket]<br \/>\ntype = tcp<br \/>\nremote_port = 6000<br \/>\nplugin = unix_domain_socket<br \/>\nplugin_unix_path = \/var\/run\/docker.sock<\/p>\n<p>#HTTP\u4ee3\u7406<br \/>\n[http_proxy]<br \/>\ntype = tcp<br \/>\nremote_port = 6000<br \/>\nplugin = http_proxy<br \/>\n#\u914d\u7f6ehttp\u4ee3\u7406\u7684\u7b80\u5355\u8ba4\u8bc1<br \/>\n#plugin_http_user = abc<br \/>\n#plugin_http_passwd = abc<\/p>\n<p>[common]<br \/>\n#frp\u670d\u52a1\u5668\u5730\u5740<br \/>\nserver_addr = 1.2.3.4<br \/>\n#frp\u670d\u52a1\u5668\u7aef\u53e3<br \/>\nserver_port = 7000<br \/>\n#\u7279\u6743\u6a21\u5f0fToken<br \/>\nprivilege_token = 12345678<br \/>\n#\u8f6c\u53d1SSH<br \/>\n[ssh]<br \/>\ntype = tcp<br \/>\n#\u53ef\u4ee5\u6307\u5b9a\u4e3a\u5176\u5b83IP\uff0c\u9ed8\u8ba4\u662f\u672c\u5730<br \/>\n#local_ip = 127.0.0.1<br \/>\nlocal_port = 22<br \/>\nremote_port = 6000<br \/>\n#\u542f\u7528\u52a0\u5bc6<br \/>\nuse_encryption = true<br \/>\n#\u542f\u7528\u538b\u7f29<br \/>\nuse_compression = true<\/p>\n<p>#\u8f6c\u53d1Web<br \/>\n[web]<br \/>\ntype = http<br \/>\nlocal_port = 80<br \/>\ncustom_domains = www.yourdomain.com<br \/>\n#\u4fee\u6539header\u4e2d\u7684host<br \/>\n#host_header_rewrite = dev.yourdomain.com<br \/>\n#\u542f\u7528\u7b80\u5355HTTP\u8ba4\u8bc1<br \/>\n#http_user = abc<br \/>\n#http_pwd = abc<br \/>\n#\u5728\u670d\u52a1\u7aef\u914d\u7f6e\u4e86subdomain_host\u7684\u60c5\u51b5\u4e0b\u7528\u4e8e\u81ea\u5b9a\u4e49\u4e8c\u7ea7\u57df\u540d<br \/>\n#subdomain = test<br \/>\n#\u5728\u5b58\u5728\u591a\u4e2a\u76f8\u540c\u57df\u540d\u7684\u60c5\u51b5\u4e0b\u901a\u8fc7\u8bf7\u6c42\u7684URL\u8def\u7531\u5230\u4e0d\u540c\u7684\u914d\u7f6e<br \/>\n#locations = \/news,\/about<\/p>\n<p>#\u8f6c\u53d1DNS\u8bf7\u6c42<br \/>\n[dns]<br \/>\ntype = udp<br \/>\nlocal_ip = 8.8.8.8<br \/>\nlocal_port = 53<br \/>\nremote_port = 6000<\/p>\n<p>#\u8f6c\u53d1Unix\u57df\u5957\u63a5\u5b57\uff08\u8fd9\u513f\u662fDocker\uff09<br \/>\n[unix_domain_socket]<br \/>\ntype = tcp<br \/>\nremote_port = 6000<br \/>\nplugin = unix_domain_socket<br \/>\nplugin_unix_path = \/var\/run\/docker.sock<\/p>\n<p>#HTTP\u4ee3\u7406<br \/>\n[http_proxy]<br \/>\ntype = tcp<br \/>\nremote_port = 6000<br \/>\nplugin = http_proxy<br \/>\n#\u914d\u7f6ehttp\u4ee3\u7406\u7684\u7b80\u5355\u8ba4\u8bc1<br \/>\n#plugin_http_user = abc<br \/>\n#plugin_http_passwd = abc<br \/>\n\u4ee5\u4e0a\u662f\u5927\u90e8\u5206\u7684\u53c2\u8003\uff0c\u5982\u679c\u4f60\u6709\u5565\u9700\u8981\u7684\u53c2\u7167\u7740\u6539\u5c31\u884c\u4e86<\/p>\n<p>\u5728Linux\u7b49\u5e73\u53f0\u4e0b\uff0c\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u5c31\u884c<\/p>\n<p>frpc -c \/path\/to\/frpc.ini<\/p>\n<p>frpc -c \/path\/to\/frpc.ini<br \/>\n\u800c\u5728Windows\u4e0b\uff0c\u9700\u8981\u4f60\u521b\u5efa\u4e00\u4e2afrpc.exe\u7684\u5feb\u6377\u65b9\u5f0f\uff0c\u7136\u540e\u5c06\u53c2\u6570\u52a0\u5230\u5feb\u6377\u65b9\u5f0f\u5c5e\u6027\u7684\u76ee\u6807\u90a3\u4e00\u680f\u7684frpc.exe\u540e\u9762\uff0c\u4e5f\u53ef\u4ee5\u81ea\u5df1\u767e\u5ea6\u4e0b\u5982\u679c\u5c06\u547d\u4ee4\u6ce8\u518c\u4e3a\u7cfb\u7edf\u670d\u52a1\u6765\u5b9e\u73b0\u5e38\u9a7b<\/p>\n<p>\u6210\u529f\u8fd0\u884c\u540e\uff0c\u8bbf\u95ee\u670d\u52a1\u5668\u76847500\u7aef\u53e3\u4f1a\u6709\u4e00\u4e2aWebGUI\uff0c\u5982\u4e0b\uff0c\u663e\u793a\u5f53\u524d\u7684\u72b6\u6001\uff0c\u5de6\u4fa7\u7684Proxies\u91cc\u4f1a\u663e\u793a\u5ba2\u6237\u7aef\u6ce8\u518c\u7684\u5404\u79cd\u8f6c\u53d1\u89c4\u5219<\/p>\n<p>\u81f3\u4e8e\u5ba2\u6237\u7aef\u8fd9\u513f\u6709\u65e5\u5fd7\u63d0\u793a\u662f\u5426\u8fde\u4e0a\u670d\u52a1\u5668\uff0c\u662f\u5426\u6210\u529f\u542f\u7528\u914d\u7f6e\u5565\u7684<\/p>\n<p>\u603b\u7684\u6765\u8bf4\u8fd8\u662f\u633a\u597d\u7528\u7684\uff0c\u6bd4\u8f83\u671f\u5f85\u4ee5\u540e\u8fd8\u6709\u5565\u65b0\u7684\u529f\u80fd_(:\u0437\u300d\u2220)_<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00.\u4ecb\u7ecd \u524d\u9762\u4ecb\u7ecd\u4e86ngrok\uff0c\u4e5f\u8bf4\u4e86\u5b83\u76841.x\u7248\u672c\u5177\u6709\u4e00\u4e9bBug\u5e76\u4e14\u4f5c\u8005\u653e\u5f03\u4e86\u7ef4\u62a4\uff0c\u90a3\u4e48\uff0c\u8c01\u80fd\u591f\u53d6\u4ee3ngro &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/b.yesiyu.top\/?p=752\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u5185\u7f51\u7a7f\u900f\u7cfb\u5217\u2014\u2014frp \uff08\u65b0\u4e00\u4ee3\u9ad8\u6027\u80fd\u5185\u7f51\u7a7f\u900f\u5de5\u5177\uff09\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-752","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/752","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=752"}],"version-history":[{"count":1,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/752\/revisions"}],"predecessor-version":[{"id":753,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/752\/revisions\/753"}],"wp:attachment":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=752"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}