mirror of https://github.com/stilleshan/frps.git
update for v0.55.1
This commit is contained in:
parent
ab182ac07b
commit
3b456101af
|
@ -1,7 +1,7 @@
|
|||
FROM alpine:3.8
|
||||
LABEL maintainer="Stille <stille@ioiox.com>"
|
||||
|
||||
ENV VERSION 0.54.0
|
||||
ENV VERSION 0.55.1
|
||||
ENV TZ=Asia/Shanghai
|
||||
WORKDIR /
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
> *docker image support for X86 and ARM*
|
||||
|
||||
## 更新
|
||||
- **2024-03-19** 更新到最新版本`0.55.1`,全新版本配置文件已更新,请注意修改配置文件。
|
||||
- **2024-02-25** 更新toml配置文件
|
||||
- **2021-05-31** 更新国内镜像方便使用
|
||||
- **2021-05-31** 更新 Linux 一键安装脚本同时支持 X86 和 ARM
|
||||
|
@ -46,7 +47,7 @@ wget https://github.ioiox.com/stilleshan/frps/raw/branch/master/frps_linux_unins
|
|||
- Push 仓库到 GitHub
|
||||
|
||||
#### 修改 frps_linux_install.sh 脚本
|
||||
`FRP_VERSION=0.54.0` 可根据原版项目更新自行修改为最新版本.
|
||||
`FRP_VERSION=0.55.1` 可根据原版项目更新自行修改为最新版本.
|
||||
`REPO=stilleshan/frps` 由于 **fork** 到你自己的仓库,需修改`stilleshan`为你的 GitHub 账号ID.
|
||||
|
||||
#### 执行一键脚本
|
||||
|
|
15
frps.toml
15
frps.toml
|
@ -3,6 +3,9 @@ bindPort = 7000
|
|||
#kcpBindPort = 7000
|
||||
quicBindPort = 7000
|
||||
|
||||
vhostHTTPPort = 80
|
||||
vhostHTTPSPort = 443
|
||||
|
||||
transport.maxPoolCount = 2000
|
||||
transport.tcpMux = true
|
||||
transport.tcpMuxKeepaliveInterval = 60
|
||||
|
@ -16,19 +19,17 @@ webServer.password = "admin"
|
|||
webServer.pprofEnable = false
|
||||
|
||||
log.to = "./frps.log"
|
||||
# trace, debug, info, warn, error
|
||||
log.level = "error"
|
||||
log.maxDays = 1
|
||||
log.level = "info"
|
||||
log.maxDays = 3
|
||||
log.disablePrintColor = false
|
||||
|
||||
auth.method = "token"
|
||||
auth.token = "12345678"
|
||||
|
||||
# Only allow frpc to bind ports you list. By default, there won't be any limit.
|
||||
allowPorts = [
|
||||
{ start = 1, end = 65535 }
|
||||
{ start = 10001, end = 50000 }
|
||||
]
|
||||
|
||||
maxPortsPerClient = 0
|
||||
maxPortsPerClient = 8
|
||||
udpPacketSize = 1500
|
||||
natholeAnalysisDataReserveHours = 24
|
||||
natholeAnalysisDataReserveHours = 168
|
||||
|
|
|
@ -12,7 +12,7 @@ Font="\033[0m"
|
|||
# fonts color
|
||||
|
||||
# variable
|
||||
FRP_VERSION=0.54.0
|
||||
FRP_VERSION=0.55.1
|
||||
REPO=stilleshan/frps
|
||||
WORK_PATH=$(dirname $(readlink -f $0))
|
||||
FRP_NAME=frps
|
||||
|
|
|
@ -14,7 +14,7 @@ Font="\033[0m"
|
|||
# variable
|
||||
WORK_PATH=$(dirname $(readlink -f $0))
|
||||
FRP_NAME=frps
|
||||
FRP_VERSION=0.54.0
|
||||
FRP_VERSION=0.55.1
|
||||
FRP_PATH=/usr/local/frp
|
||||
|
||||
# 停止frpc
|
||||
|
|
Loading…
Reference in New Issue