mirror of https://github.com/ehang-io/nps
new feature multi user auth with socks5
parent
11d185ad59
commit
d4a6560d9a
|
@ -538,11 +538,13 @@ vkey=123
|
||||||
[socks5]
|
[socks5]
|
||||||
mode=socks5
|
mode=socks5
|
||||||
server_port=9004
|
server_port=9004
|
||||||
|
multi_account=multi_account.conf
|
||||||
```
|
```
|
||||||
项 | 含义
|
项 | 含义
|
||||||
---|---
|
---|---
|
||||||
mode | socks5
|
mode | socks5
|
||||||
server_port | 在服务端的代理端口
|
server_port | 在服务端的代理端口
|
||||||
|
multi_account | socks5多账号配置文件(可选)
|
||||||
##### 私密代理模式
|
##### 私密代理模式
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
# key -> user | value -> pwd
|
||||||
|
npc=npc.pwd
|
|
@ -40,6 +40,7 @@ server_port=10000
|
||||||
[socks5]
|
[socks5]
|
||||||
mode=socks5
|
mode=socks5
|
||||||
server_port=19009
|
server_port=19009
|
||||||
|
multi_account=multi_account.conf # 多账户配置文件,配置及代表启动多账户
|
||||||
|
|
||||||
[file]
|
[file]
|
||||||
mode=file
|
mode=file
|
||||||
|
|
Loading…
Reference in New Issue