From ad160e46f785e50d9a9950d423f6d3d49a670c7c Mon Sep 17 00:00:00 2001 From: Regend Soh <17229500+regendsoh@users.noreply.github.com> Date: Wed, 13 Nov 2019 21:34:17 +0800 Subject: [PATCH] Fix: Remove preset value of $_ENV['reg_obfs_param'] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To avoid problem when setting up SSPanel for idiotic user. 防止傻逼不会弄单端口 --- config/.config.example.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/.config.example.php b/config/.config.example.php index ed013833..def390d8 100644 --- a/config/.config.example.php +++ b/config/.config.example.php @@ -72,7 +72,7 @@ $_ENV['reg_method'] = 'chacha20-ietf'; //注册时默认加密方式 $_ENV['reg_protocol'] = 'auth_aes128_sha1'; //注册时默认协议 $_ENV['reg_protocol_param'] = ''; //注册时默认协议参数 $_ENV['reg_obfs'] = 'http_simple'; //注册时默认混淆方式 -$_ENV['reg_obfs_param'] = 'www.jd.hk'; //注册时默认混淆参数 +$_ENV['reg_obfs_param'] = ''; //注册时默认混淆参数 设置单端口后 这边必须配置!填写www.jd.hk就行 $_ENV['reg_forbidden_ip'] = '127.0.0.0/8,::1/128'; //注册时默认禁止访问IP列表,半角英文逗号分割 $_ENV['min_port'] = 10000; //用户端口池最小值 $_ENV['max_port'] = 65535; //用户端口池最大值