123
This commit is contained in:
@@ -2,15 +2,25 @@
|
||||
|
||||
# FRP Client 一键安装脚本
|
||||
# 自动解压、配置和安装 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
|
||||
|
||||
# 颜色定义
|
||||
RED='\033[0;31m'
|
||||
GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
# 日志函数
|
||||
log_info() {
|
||||
Binary file not shown.
BIN
frpc/frp_0.65.0_linux_arm64.tar.gz
Normal file
BIN
frpc/frp_0.65.0_linux_arm64.tar.gz
Normal file
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
[common]
|
||||
server_addr = 8.218.134.198
|
||||
server_port = 8041
|
||||
token = PAioH8syP!82T%
|
||||
server_port = 1234
|
||||
token = ######!82T%#
|
||||
|
||||
[nely]
|
||||
type = tcp
|
||||
|
||||
Reference in New Issue
Block a user