Files
natpass/conf/rule.d/shell.yaml
T
2021-11-18 23:17:44 +08:00

10 lines
407 B
YAML

- name: shell # 链路名称
target: that # 目标客户端ID
type: shell # web shell
local_addr: 0.0.0.0 # 本地监听地址
local_port: 2222 # 本地监听端口号
#exec: /bin/bash # 运行命令
# windows默认powershell或cmd
# 其他系统bash或sh
env: # 环境变量设置
- TERM=xterm