mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 11:56:53 +00:00
客户端配置,端口白名单等
This commit is contained in:
33
conf/npc.conf
Normal file
33
conf/npc.conf
Normal file
@@ -0,0 +1,33 @@
|
||||
[common]
|
||||
server=127.0.0.1:8284
|
||||
tp=tcp
|
||||
vkey=123
|
||||
username=111
|
||||
password=222
|
||||
compress=snappy
|
||||
crypt=true
|
||||
auto_reconnection=true
|
||||
[web1]
|
||||
host=a.o.com
|
||||
host_change=www.sina.com
|
||||
target=127.0.0.1:8080,127.0.0.1:8082
|
||||
header_cookkile=122123
|
||||
header_user-Agent=122123
|
||||
[web2]
|
||||
host=www.baidu.com
|
||||
host_change=www.sina.com
|
||||
target=127.0.0.1:8080,127.0.0.1:8082
|
||||
header_cookkile="122123"
|
||||
header_user-Agent=122123
|
||||
[tunnel1]
|
||||
mode=udpServer
|
||||
target=127.0.0.1:8080
|
||||
port=9001
|
||||
[tunnel2]
|
||||
mode=tunnelServer
|
||||
target=127.0.0.1:8080
|
||||
port=9001
|
||||
[tunnel3]
|
||||
mode=tunnelServer
|
||||
target=127.0.0.1:8080
|
||||
port=9002
|
Reference in New Issue
Block a user