部署一个中文的FRPS服务 yaml配置文件
部署一个中文的FRPS服务
yaml配置文件
name: frps2
services:
frps:
container_name: frps2
image: swr.cn-north-4.myhuaweicloud.com/firfe/frps:0.65.0
network_mode: host
restart: always
tty: true
stdin_open: true
volumes:
- /volume1/docker/frps2/frps.toml:/etc/frp/frps.toml
TOML配置文件
[common]
bind_port = 9000
privilege_token = "xxxxx"
# xxxxx为连接密钥
dashboard_port = 9500
dashboard_user = "xxxxxxx"
dashboard_pwd = "xxx@2025"
# 后台登录端口密钥
vhost_http_port = 9090
vhost_https_port = 9443
# http和https 负责穿透端口
将上面文件保存为frps.toml,保存到/volume1/docker/frps2/ 目录下
frps客户端文件配置说明
[common]
server_addr = x.x.x.x
# 服务器域名或者IP地址
server_port = 9000
# 服务器端口号
privilege_token = xxxxx
# 服务器连接密钥
login_fail_exit = false
[dsm]
type = http
local_ip = 127.0.0.1
local_port = 5000
use_compression = true
use_encryption = true
custom_domains = XX.XX.XX
# 二级域名
部署一个中文的FRPS服务 yaml配置文件
https://haloo.tolan.link:6688//archives/1774227866054