找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 55849|回复: 392

{终}[2020-01-03](v0.31.0)内网穿透 Frps 一键安装脚本&管理脚本 for Linux

 火... [复制链接]
发表于 2019-2-8 13:15 | 显示全部楼层 |阅读模式

Frp 是一个高性能的反向代理应用,可以帮助您轻松地进行内网穿透,对外网提供服务,支持 tcp, http, https 等协议类型,并且 web 服务支持根据域名进行路由转发。详情:fatedier https://github.com/fatedier/frp

此脚本是frp一键部署Linux服务端,像乳酸菌饮料、v2瑞 等一键.sh脚本,安装、更新、重启、开机启动等服务。
由Clang 一键脚本修改优化.一直用着clang一键脚本,原脚本到0.20.0停更,issue也没有反应,就搬运修改试试。脚本原作者:clangcn https://github.com/clangcn/onekey-install-shell

本帖不再更新,以后frp版本的更新,脚本的修改,只在GitHub
客户端教程 H大/灯大固件 Frp客户端使用教程+常见问题+免费frp服务器

Fix:                                                                New:
     文件下载默认GitHub                                             支持自定义域名(二级域 frps dashboard 显示域名地址
     代码间距更加合理                                                合并 version.sh ,直接从脚本获取版本,省去文件占用
     文件配置颜色统一                                                frps dashboard 显示域名地址
     统一Fun_  

从v0.18.0版本起,不支持向下兼容,需要安装0.16.1回复可见
frp文件下载速度与脚本关系不大,是服务器与文件下载服务器连接速度的问题
支持自定义域名,也支持二次自定义域名,使用域名打开frp控制面板需要在域名后面添加端口号:6443/自定义

更新说明:
New
2019-07-25:【版本】更新至0.30.0>New:  Support bandwidth limit for each proxy;New plugin https2http, explore https service as http protocol.
2019-07-25:【版本】更新至0.27.1>Fix:Add read timeout for TLS connection check.
2019-04-25:【版本】更新至0.27.0>New:Proxy Protocol support plugin unix_domain_socket;frps support custom 404 page.
2019-04-10:【版本】更新至0.26.0>New:Support Proxy Protocol.New plugin https2http;Fix>Fix router config conflict when frpc start by command line mode. #1165
2019-03-26:【版本】更新至0.25.3>Fix:Fix panic error when reconnection with tls_enable is true.
2019-03-25:【版本】更新至0.25.2>change: change  update version of kcp-go; Fix> Fix connection leak of http health check
2019-03-15:【版本】更新至0.25.1>Fix:Fix a match problem with multilevel subdomain ;frps --log_file is useless.
2019-03-11:【版本】更新至0.25.0>New:Support TLS between frpc and frps, Set tls enable to enable this feature in frpC.Improve stability of xtcp.Fix:Fix a bug that xtcp don't release connections in some case.
2019-02-12:【版本】更新至0.24.1>FixError clearfrpc configure file when /api/config called without token set.支持向上下兼容,已测试
2019-02-12:【脚本】增加0.16.1脚本,有需要的可以回复可见
2019-02-11:【版本】更新至0.24.0>NewSupportadmin UI for frpc,支持向上下兼容,已测试

服务端安装支持:Centos | Debian | Ubuntu (32bit / 64bit)
Install(安装)


Uninstall(卸载)
  1. ./install-frps.sh uninstall
复制代码
Update(更新)
  1. ./install-frps.sh update
复制代码
服务端相关命令
frps start       #启动frps服务端
frps stop       #停止frps服务端
frps restart   #重启frps服务端
frps status    #显示frps状态
frps config    #配置frps服务端
frps version  #显示frps版本

脚本将会自动识别机器的IP地址,所有选项支持自定义,也均可默认配置,也就是直接按回车,程序就会使用默认配置进行安装
步骤说明:
Please select frps download url:
[1].aliyun
[2].github (default)
#输入下载frp服务端配置文件的服务器,默认GitHub
Please input frps bind_port[1-65535](Default Server Port: 5443):
#输入frp提供服务的端口,用于服务器端和客户端通信,默认5443
Please input frps vhost_http_port[1-65535](Default : 80):
#输入frp进行http穿透的http服务端口,默认80
Please input frps vhost_https_port[1-65535](Default : 443):
#输入frp进行https穿透的https服务端口,默认443
Please input frps dashboard_port [1-65535]
(Default : 6443):
#输入frp的控制台服务端口,用于查看frp工作状态,默认6443
Please input frps dashboard_user(Default :admin):
#输入frp的控制台服务账号,默认admin
Please input frps dashboard_pwd(Default ZBdmQ53):
#输入frp的控制台服务密码,默认是随机生成的
Please input frps token(Default :eOajAGbI5ZrSmU3a):
#输入frp服务器和客户端通信的密码,默认是随机生成的
Please input frps subdomain_host(Default :35.189.139.184):
#输入frp服务器自定义域名,支持自定义二次域名,默认是服务器IP地址
Please input frps max_pool_count [1-200]
(Default : 50):
#设置每个代理可以创建的连接池上限,默认50
Please select log_level
1: info (default)
2: warn
3: error
4: debug
#设置日志等级,4个选项,默认是info
Please input frps log_max_days [1-30]
(Default : 3 day):
#设置日志保留天数,范围是1到30天,默认保留3天。
Please select log_file
1: enable (default)
2: disable
#设置是否开启日志记录,默认开启,开启后日志等级及保留天数生效,否则等级和保留天数无效
Please select tcp_mux
1: enable (default)
2: disable
#客户端和服务器端之间的连接支持多路复用,默认开启
Please select kcp support
1: enable (default)
2: disable
#选择是否开启kcp 协议,默认开启,弱网环境下传输效率提升明显,但会有额外的流量消耗

启动成功后,本地访问 http://ip或者自定义域名:6433  即可看到WEB控制台。到此安装服务端成功!

购买主题 已有 5 人购买  本主题需向作者支付 2 币恩山币 才能浏览
我的恩山、我的无线 The best wifi forum is right here.
发表于 2023-11-11 02:14 | 显示全部楼层
download frps ... failed
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2023-4-21 12:54 | 显示全部楼层
看看,学习一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2023-4-15 12:50 | 显示全部楼层
谢谢。。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-1-16 12:29 | 显示全部楼层
0.16.10版本脚本安装后发现是0.25.2
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-6-11 16:45 | 显示全部楼层
最后一步一直显示在下载 但不成功是什么问题  大神回复 一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-28 09:24 | 显示全部楼层
感谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-17 22:06 | 显示全部楼层
谢谢分享!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-6 06:15 | 显示全部楼层
学习学习
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-26 06:34 | 显示全部楼层
看看你的哦
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-25 09:16 | 显示全部楼层
支持一下,感谢了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-20 22:42 | 显示全部楼层
感谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-20 10:42 | 显示全部楼层
膜拜下,支持了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-2 19:04 | 显示全部楼层
安来试试,就是客户端版本不通用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-1 07:43 | 显示全部楼层
这个必须顶
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-29 01:30 | 显示全部楼层
很需要,试试看
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 04:02

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表