From 3b456101afda997ca31fb78f47051181d7ce8984 Mon Sep 17 00:00:00 2001 From: Stille Date: Tue, 19 Mar 2024 18:16:57 +0800 Subject: [PATCH] update for v0.55.1 --- Dockerfile | 2 +- README.md | 3 ++- frps.toml | 15 ++++++++------- frps_linux_install.sh | 2 +- frps_linux_uninstall.sh | 2 +- 5 files changed, 13 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49b607a..de990a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3.8 LABEL maintainer="Stille " -ENV VERSION 0.54.0 +ENV VERSION 0.55.1 ENV TZ=Asia/Shanghai WORKDIR / diff --git a/README.md b/README.md index 85efb78..154917b 100644 --- a/README.md +++ b/README.md @@ -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. #### 执行一键脚本 diff --git a/frps.toml b/frps.toml index a73ad66..b105326 100644 --- a/frps.toml +++ b/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 \ No newline at end of file +natholeAnalysisDataReserveHours = 168 diff --git a/frps_linux_install.sh b/frps_linux_install.sh index c2fd993..e1acbd8 100644 --- a/frps_linux_install.sh +++ b/frps_linux_install.sh @@ -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 diff --git a/frps_linux_uninstall.sh b/frps_linux_uninstall.sh index 0e65382..140c5ed 100644 --- a/frps_linux_uninstall.sh +++ b/frps_linux_uninstall.sh @@ -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