结构调整、kcp支持

This commit is contained in:
刘河
2019-02-09 17:07:47 +08:00
parent 2e8af6f120
commit 59d789d253
60 changed files with 11097 additions and 783 deletions

View File

@@ -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

View File

@@ -1 +1 @@
1,ydiigrm4ghu7mym1,,true,,,0,,0,0
1,ydiigrm4ghu7mym1,测试,true,,,0,,0,0
1 1 ydiigrm4ghu7mym1 测试 true 0 0 0

View File

@@ -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 a.o.com 127.0.0.1:8081 127.0.0.1:8080 1 测试
2 b.o.com 127.0.0.1:8082 1

View File

@@ -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
1 9001 53 tunnelServer udpServer 123.206.77.88:22 114.114.114.114:53 1 0 0 0 2 1 1 true 测试tcp udp
9001 tunnelServer 123.206.77.88:22 1 0 0 0 1 1 true 测试tcp
1 53 53 udpServer udpServer 114.114.114.114:53 114.114.114.114:53 1 0 0 0 2 1 2 1 true udp udp
0 socks5Server 1 0 0 0 1 3 true socks5
2 9005 9005 httpProxyServer httpProxyServer 1 0 0 0 4 1 4 1 true
3 9002 socks5Server 1 0 0 0 3 1 true socks5
4 9001 tunnelServer 127.0.0.1:8082 1 0 0 0 1 1 true 测试tcp