From b0745843c61d099216bfbe60a5de4523a907f284 Mon Sep 17 00:00:00 2001 From: lwch Date: Thu, 14 Oct 2021 16:45:30 +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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/client.yaml | 2 +- conf/tunnel.d/shell.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/client.yaml b/conf/client.yaml index 2419e86..90f92c1 100644 --- a/conf/client.yaml +++ b/conf/client.yaml @@ -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列表 diff --git a/conf/tunnel.d/shell.yaml b/conf/tunnel.d/shell.yaml index 12b4b09..199feaa 100644 --- a/conf/tunnel.d/shell.yaml +++ b/conf/tunnel.d/shell.yaml @@ -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