From fa5e152fb3635cb06dc414c6021bc9c94e4286e2 Mon Sep 17 00:00:00 2001 From: lwch Date: Wed, 5 Jan 2022 14:52:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/local.yaml | 3 ++- conf/rule.d/shell.yaml | 2 +- conf/rule.d/vnc.yaml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/conf/local.yaml b/conf/local.yaml index e076759..16cbb39 100644 --- a/conf/local.yaml +++ b/conf/local.yaml @@ -6,4 +6,5 @@ dashboard: # web面板 listen: 0.0.0.0 # 监听地址 port: 8080 # 监听端口号 #include common.yaml -rules: # rule列表 \ No newline at end of file +rules: # rule列表 + #include rule.d/*.yaml \ No newline at end of file diff --git a/conf/rule.d/shell.yaml b/conf/rule.d/shell.yaml index 199feaa..7f224ec 100644 --- a/conf/rule.d/shell.yaml +++ b/conf/rule.d/shell.yaml @@ -1,5 +1,5 @@ - name: shell # 链路名称 - target: that # 目标客户端ID + target: remote # 目标客户端ID type: shell # web shell local_addr: 0.0.0.0 # 本地监听地址 local_port: 2222 # 本地监听端口号 diff --git a/conf/rule.d/vnc.yaml b/conf/rule.d/vnc.yaml index 3ab7bf1..4ac49be 100644 --- a/conf/rule.d/vnc.yaml +++ b/conf/rule.d/vnc.yaml @@ -1,5 +1,5 @@ - name: vnc # 链路名称 - target: that # 目标客户端ID + target: remote # 目标客户端ID type: vnc # web vnc local_addr: 0.0.0.0 # 本地监听地址 local_port: 5900 # 本地监听端口号