mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
修改默认配置
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ id: this # 客户端ID
|
||||
server: 127.0.0.1:6154 # 服务器地址
|
||||
dashboard: # web面板
|
||||
enabled: true # 是否开放dashboard
|
||||
listen: 127.0.0.1 # 监听地址
|
||||
listen: 0.0.0.0 # 监听地址
|
||||
port: 8080 # 监听端口号
|
||||
#include conf.d/*.yaml
|
||||
tunnel: # tunnel列表
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
target: that # 目标客户端ID
|
||||
type: shell # web shell
|
||||
local_addr: 0.0.0.0 # 本地监听地址
|
||||
local_port: 8080 # 本地监听端口号
|
||||
local_port: 2222 # 本地监听端口号
|
||||
#exec: /bin/bash # 运行命令
|
||||
# windows默认powershell或cmd
|
||||
# 其他系统bash或sh
|
||||
|
||||
Reference in New Issue
Block a user