Browse Source

new feature multi user auth with socks5

zhangwei 5 years ago
parent
commit
d4a6560d9a
4 changed files with 5 additions and 0 deletions
  1. 2 0
      README.md
  2. 2 0
      conf/multi_account.conf
  3. 0 0
      conf/multiuser.conf
  4. 1 0
      conf/npc.conf

+ 2 - 0
README.md

@@ -538,11 +538,13 @@ vkey=123
 [socks5]
 mode=socks5
 server_port=9004
+multi_account=multi_account.conf
 ```
 项 | 含义
 ---|---
 mode | socks5
 server_port | 在服务端的代理端口
+multi_account | socks5多账号配置文件(可选)
 ##### 私密代理模式
 
 ```ini

+ 2 - 0
conf/multi_account.conf

@@ -0,0 +1,2 @@
+# key -> user | value -> pwd 
+npc=npc.pwd

+ 0 - 0
conf/multiuser.conf


+ 1 - 0
conf/npc.conf

@@ -40,6 +40,7 @@ server_port=10000
 [socks5]
 mode=socks5
 server_port=19009
+multi_account=multi_account.conf # 多账户配置文件,配置及代表启动多账户
 
 [file]
 mode=file