mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
15 lines
679 B
YAML
15 lines
679 B
YAML
id: this # 客户端ID
|
|
server: 127.0.0.1:6154 # 服务器地址
|
|
secret: 0123456789 # 预共享密钥,必须与server端相同,否则握手失败
|
|
log:
|
|
dir: ./logs # 路径
|
|
size: 50M # 单个文件大小
|
|
rotate: 7 # 保留数量
|
|
tunnel: # 远端tunnel列表可为空
|
|
- name: rdp # 链路名称
|
|
target: that # 目标客户端ID
|
|
type: tcp # 连接类型tcp或udp
|
|
local_addr: 0.0.0.0 # 本地监听地址
|
|
local_port: 3389 # 本地监听端口号
|
|
remote_addr: 127.0.0.1 # 目标客户端连接地址
|
|
remote_port: 3389 # 目标客户端连接端口号 |