frp一键linux客户端安装脚本,frp 服务端和客户端的下载地址 一键脚本 nginx apache 配置...

本文介绍FRP服务端的启动、停止等命令操作,提供了不同系统版本的下载链接,并概述了各版本的主要更新内容。同时,给出了服务端与客户端的配置文件示例。

开发板推荐:天空星STM32F407VET6开发板

超高性价比 STM32主控 | 超高主频 | 一板兼容百芯 | 比赛神器 | 沉金彩色丝印

命令: /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;

}

}

apache

frp 的客户端多种多样,配置也一样,路由器能openwrt 就行。

相关文章:

没有相关文章

开发板推荐:天空星STM32F407VET6开发板

超高性价比 STM32主控 | 超高主频 | 一板兼容百芯 | 比赛神器 | 沉金彩色丝印

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值