{"id":458,"date":"2020-11-03T18:33:57","date_gmt":"2020-11-03T10:33:57","guid":{"rendered":"https:\/\/blog.lcsoul.cn\/?p=458"},"modified":"2020-11-03T18:33:57","modified_gmt":"2020-11-03T10:33:57","slug":"%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e4%b9%8bfrp","status":"publish","type":"post","link":"https:\/\/blog.lcsoul.top\/index.php\/2020\/11\/03\/%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e4%b9%8bfrp\/","title":{"rendered":"\u5185\u7f51\u7a7f\u900f\u4e4bfrp"},"content":{"rendered":"<p>github\u9879\u76ee\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/fatedier\/frp\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/github.com\/fatedier\/frp<\/a><\/p>\n<h2>\u670d\u52a1\u7aef\uff1a<\/h2>\n<h3>\u4e0b\u8f7d(\u6839\u636e\u5e73\u53f0\u3001CPU\u67b6\u6784\u9009\u62e9\u5bf9\u5e94\u7248\u672c)<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">https:\/\/github.com\/fatedier\/frp\/releases\/download\/v0.34.1\/frp_0.34.1_linux_amd64.tar.gz<\/div>\n<h3>\u89e3\u538b<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">tar -zxvf frp_0.34.1_linux_amd64.tar.gz<\/div>\n<h3>\u8fdb\u76ee\u5f55<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">cd frp_0.34.1_linux_amd64\/<\/div>\n<h3>\u4e3b\u673a\u4f5c\u4e3a\u670d\u52a1\u7aef\uff0c\u53ef\u5220\u6389\u5ba2\u6237\u7aef\u6587\u4ef6<\/h3>\n<div class=\"alert alert-error\" role=\"alert\">\u6ce8\u610f\uff1afrpc<\/div>\n<div class=\"alert alert-info\" role=\"alert\">rm -f frpc<br \/>\nrm -f frpc.ini<br \/>\nrm -f frpc_full.ini<\/div>\n<h3>\u914d\u7f6efrp<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">vim frps.ini<br \/>\n# \u4fee\u6539\u9ed8\u8ba4\u7aef\u53e3\uff08\u5982\u9047\u5230\u9ed8\u8ba4\u7aef\u53e3\u65e0\u6cd5\u8fde\u63a5\u7684\u95ee\u9898\uff0c\u5c31\u6539\u6210\u5176\u4ed6\u7aef\u53e3,\u8fd9\u91cc\u6211\u6539\u62107788\uff09<br \/>\n# \u6ce8\u610f\u4e3b\u673a\u9632\u706b\u5899 \u4e5f\u8981\u6253\u5f00\u5bf9\u5e94\u7aef\u53e3<br \/>\n[common]<br \/>\nbind_port = 7788<\/div>\n<h3>\u8fd0\u884c<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">.\/frps -c .\/frps.ini<\/div>\n<h2>\u5ba2\u6237\u7aef\uff1a<\/h2>\n<h3>\u4e0b\u8f7d(\u6839\u636e\u5e73\u53f0\u3001CPU\u67b6\u6784\u9009\u62e9\u5bf9\u5e94\u7248\u672c)<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">https:\/\/github.com\/fatedier\/frp\/releases\/download\/v0.34.1\/frp_0.34.1_linux_amd64.tar.gz<\/div>\n<h3>\u89e3\u538b<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">tar -zxvf frp_0.34.1_linux_amd64.tar.gz<\/div>\n<h3>\u8fdb\u76ee\u5f55<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">cd frp_0.34.1_linux_amd64\/<\/div>\n<h3>\u4e3b\u673a\u4f5c\u4e3a\u5ba2\u6237\u7aef\uff0c\u53ef\u5220\u6389\u670d\u52a1\u7aef\u6587\u4ef6<\/h3>\n<div class=\"alert alert-error\" role=\"alert\">\u6ce8\u610f\uff1afrps<\/div>\n<div class=\"alert alert-info\" role=\"alert\">rm -f frps<br \/>\nrm -f frps.ini<br \/>\nrm -f frps_full.ini<\/div>\n<h3>\u914d\u7f6efrp<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">vim frpc.ini<br \/>\n# \u6ce8\u610f\u4e3b\u673a\u9632\u706b\u5899 \u4e5f\u8981\u6253\u5f00\u5bf9\u5e94\u7aef\u53e3<br \/>\n# server_addr \u4e3a\u670d\u52a1\u7aef\u516c\u7f51IP<br \/>\n# server_port \u9700\u8981\u548c\u670d\u52a1\u7aef\u7684\u4fdd\u6301\u4e00\u76f4<br \/>\n[common]<br \/>\nserver_addr = x.x.x.x<br \/>\nserver_port = 7788<\/p>\n<p>[ssh]<br \/>\ntype = tcp<br \/>\nlocal_ip = 127.0.0.1<br \/>\nlocal_port = 22<br \/>\nremote_port = 6600<\/p><\/div>\n<h3>\u8fd0\u884c<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">.\/frpc -c .\/frpc.ini<\/div>\n<h2>frp\u540e\u53f0\u8fd0\u884c<\/h2>\n<h3>\u670d\u52a1\u7aef\uff1a<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">nohup .\/frps -c .\/frps.ini &#038;<\/div>\n<h3>\u5ba2\u6237\u7aef\uff1a<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">nohup .\/frpc -c .\/frpc.ini &#038;<\/div>\n","protected":false},"excerpt":{"rendered":"<p>github\u9879\u76ee\u5730\u5740\uff1ahttps:\/\/github.com\/fatedier\/frp \u670d\u52a1\u7aef\uff1a \u4e0b\u8f7d(\u6839\u636e\u5e73\u53f0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[41,122],"class_list":["post-458","post","type-post","status-publish","format-standard","hentry","category-vps","tag-frp","tag-122"],"_links":{"self":[{"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/posts\/458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/comments?post=458"}],"version-history":[{"count":0,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/posts\/458\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/media?parent=458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/categories?post=458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/tags?post=458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}