This commit is contained in:
eddy
2025-11-13 12:16:48 +08:00
parent 332bc06f5c
commit 4ed30900a0
4 changed files with 18 additions and 8 deletions

View File

@@ -2,15 +2,25 @@
# FRP Client 一键安装脚本 # FRP Client 一键安装脚本
# 自动解压、配置和安装 frpc # 自动解压、配置和安装 frpc
# 使用方法: chmod +x install_frpc.sh && ./install_frpc.sh # 使用方法: chmod +x frpc.sh && ./frpc.sh
# curl -sS -O https://gitea.tohub.top/Share/script/raw/branch/main/frpc.sh && chmod +x frpc.sh && ./frpc.sh
# 彩色输出
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
BLUE='\033[0;34m'
CYAN='\033[0;36m'
NC='\033[0m' # No Color
# 配置变量
INSTALL_DIR="/root/data/docker_data/frpc"
BASE_URL="https://gitea.tohub.top/Share/script/raw/branch/main"
FRPC_VERSION="0.65.0"
set -e set -e
# 颜色定义
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m' # No Color
# 日志函数 # 日志函数
log_info() { log_info() {

Binary file not shown.

View File

@@ -1,7 +1,7 @@
[common] [common]
server_addr = 8.218.134.198 server_addr = 8.218.134.198
server_port = 8041 server_port = 1234
token = PAioH8syP!82T% token = ######!82T%#
[nely] [nely]
type = tcp type = tcp