mirror of
https://github.com/ehang-io/nps.git
synced 2025-08-31 09:36:57 +00:00
结构调整、kcp支持
This commit is contained in:
@@ -1,28 +1,33 @@
|
||||
appname = nps
|
||||
|
||||
#web管理端口
|
||||
httpport = 8081
|
||||
#Web Management Port
|
||||
httpport = 8080
|
||||
|
||||
#启动模式dev|pro
|
||||
#Boot mode(dev|pro)
|
||||
runmode = dev
|
||||
|
||||
#web管理密码
|
||||
#Web Management Password
|
||||
password=123
|
||||
|
||||
##客户端与服务端通信端口
|
||||
tcpport=8284
|
||||
##Communication Port between Client and Server
|
||||
##If the data transfer mode is tcp, it is TCP port
|
||||
##If the data transfer mode is kcp, it is UDP port
|
||||
bridgePort=8284
|
||||
|
||||
#web api免验证IP地址
|
||||
#Web API unauthenticated IP address
|
||||
authip=127.0.0.1
|
||||
|
||||
##http代理端口,为空则不启动
|
||||
##HTTP proxy port, no startup if empty
|
||||
httpProxyPort=80
|
||||
|
||||
##https代理端口,为空则不启动
|
||||
##HTTPS proxy port, no startup if empty
|
||||
httpsProxyPort=
|
||||
|
||||
##certFile绝对路径
|
||||
##certFile absolute path
|
||||
pemPath=/etc/nginx/certificate.crt
|
||||
|
||||
##keyFile绝对路径
|
||||
keyPath=/etc/nginx/private.key
|
||||
##KeyFile absolute path
|
||||
keyPath=/etc/nginx/private.key
|
||||
|
||||
##Data transmission mode(kcp or tcp)
|
||||
bridgeType=tcp
|
@@ -1 +1 @@
|
||||
1,ydiigrm4ghu7mym1,,true,,,0,,0,0
|
||||
1,ydiigrm4ghu7mym1,测试,true,,,0,,0,0
|
||||
|
|
@@ -1 +1,2 @@
|
||||
a.o.com,127.0.0.1:8081,1,,,测试
|
||||
a.o.com,127.0.0.1:8080,1,,,测试
|
||||
b.o.com,127.0.0.1:8082,1,,,
|
||||
|
|
@@ -1,4 +1,4 @@
|
||||
9001,tunnelServer,123.206.77.88:22,,,,1,0,0,0,1,1,true,测试tcp
|
||||
53,udpServer,114.114.114.114:53,,,,1,0,0,0,2,1,true,udp
|
||||
0,socks5Server,,,,,1,0,0,0,3,1,true,socks5
|
||||
9005,httpProxyServer,,,,,1,0,0,0,4,1,true,
|
||||
9002,socks5Server,,,,,1,0,0,0,3,1,true,socks5
|
||||
9001,tunnelServer,127.0.0.1:8082,,,,1,0,0,0,1,1,true,测试tcp
|
||||
|
|
Reference in New Issue
Block a user