赞
踩
命令: /etc/init.d/frps {start|stop|restart|status|config|version}
FRP 服务端
frp 各版本的下载 ,更换版本号及系统版本就行,自由组合
https://github.com/fatedier/frp/releases/download/v0.27.0/frp_0.27.0_darwin_amd64.tar.gz
https://github.com/fatedier/frp/releases/download/v0.27.0/frp_0.27.0_freebsd_386.tar.gz
https://github.com/fatedier/frp/releases/download/v0.27.0/frp_0.27.0_freebsd_amd64.tar.gz
https://github.com/fatedier/frp/releases/download/v0.27.0/frp_0.27.0_linux_386.tar.gz
https://github.com/fatedier/frp/releases/download/v0.27.0/frp_0.27.0_linux_amd64.tar.gz
https://github.com/fatedier/frp/releases/download/v0.27.0/frp_0.27.0_linux_arm.tar.gz
https://github.com/fatedier/frp/releases/download/v0.27.0/frp_0.27.0_linux_arm64.tar.gz
https://github.com/fatedier/frp/releases/download/v0.27.0/frp_0.27.0_linux_mips.tar.gz
https://github.com/fatedier/frp/releases/download/v0.27.0/frp_0.27.0_linux_mips64.tar.gz
https://github.com/fatedier/frp/releases/download/v0.27.0/frp_0.27.0_linux_mips64le.tar.gz
https://github.com/fatedier/frp/releases/download/v0.27.0/frp_0.27.0_linux_mipsle.tar.gz
https://github.com/fatedier/frp/releases/download/v0.27.0/frp_0.27.0_windows_386.zip
https://github.com/fatedier/frp/releases/download/v0.27.0/frp_0.27.0_windows_amd64.zip
源码两种打包方式
https://github.com/fatedier/frp/archive/v0.27.0.zip
https://github.com/fatedier/frp/archive/v0.27.0.tar.gz
各系统版本
darwin_amd64 freebsd_386 freebsd_amd64
linux_386 linux_amd64
linux_arm linux_arm64
linux_mips linux_mips64
windows_386 windows_amd64
frp 已有版本号
0.27.0 0.26.0 0.25.3 0.24.1 0.23.3 0.22.0 0.21.0 0.20.0 0.19.1 0.18.0 0.17.0 0.16.1 0.15.1
0.14.1 0.13.0 0.12.0 0.11.0 0.10.0 0.9.3 0.8.1 0.7.0 0.6.0 0.5.0 0.3.0 0.2.0 0.1.0
最后几个删除线只有源码,
0.27.0 new Proxy Protocol support plugin unix_domain_socket.frps support custom 404 page.
0.26.0 New Support Proxy Protocol. New plugin https2http
0.25.3 Fix panic error when reconnection with tls_enable is true.
0.25.2 Change Update version of kcp-go. Fix Fix connection leak of http health check.
0.25.1Fix Fix a match problem with multilevel subdomain. #1132 frps –log_file is useless. #1125
看配置文件学习,看注释说明
https://github.com/fatedier/frp#configuration-file
服务端配置https://github.com/fatedier/frp/blob/master/conf/frps_full.ini
客户端配置https://github.com/fatedier/frp/blob/master/conf/frpc_full.ini
nginx 配置
添加配置,可以使用泛解析server
{
listen 80;
server_name 域名.com;
location / {
proxy_pass http://127.0.0.1:端口;
proxy_redirect http://$host/ http://$http_host/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
}
}
frp 的客户端多种多样,配置也一样,路由器能openwrt 就行。
相关文章:
没有相关文章
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。