MUX optimization

This commit is contained in:
刘河
2019-03-15 14:03:49 +08:00
parent f78e81b452
commit 97330bfbdc
33 changed files with 749 additions and 328 deletions

View File

@@ -1,2 +1,2 @@
2,corjmrbhr33otit1,,true,,,1,false,0,0,0
5,2dyy78gj7b9zw09l,,true,,,0,false,0,0,0
2,corjmrbhr33otit1,,true,,,0,false,0,0,0
5,2dyy78gj7b9zw09l,,true,,,1,false,0,0,0
1 2 corjmrbhr33otit1 true 1 0 false 0 0 0
2 5 2dyy78gj7b9zw09l true 0 0 1 false 0 0 0

View File

@@ -1,2 +1,3 @@
a.o.com,127.0.0.1:8082,2,,,111,/,3,5290945,32285,http
a.o.com,127.0.0.1:8080,2,,,,/,4,0,0,https
c.o.com,10.1.50.196:4000,5,,,,/,2,7543392,22379,all
a.o.com,127.0.0.1:8080,2,,,,/,3,0,0,all
b.o.com,127.0.0.1:8082,5,,,,/,4,0,0,all
1 a.o.com c.o.com 127.0.0.1:8082 10.1.50.196:4000 5 111 / 3 2 5290945 7543392 32285 22379 http all
2 a.o.com a.o.com 127.0.0.1:8080 127.0.0.1:8080 2 / 4 2 3 0 0 0 0 https all
3 b.o.com 127.0.0.1:8082 5 / 4 0 0 all

View File

@@ -1,25 +1,33 @@
[common]
server={{.NPS_SERVER_ADDR}}
server=127.0.0.1:8024
tp=tcp
vkey={{.NPS_SERVER_VKEY}}
vkey=2dyy78gj7b9zw09l
auto_reconnection=true
[web]
host=b.o.com
target=127.0.0.1:8082
health_check_timeout = 3
health_check_max_failed = 3
health_check_interval = 10
target=10.1.50.203:80
[health_check_test1]
health_check_timeout=1
health_check_max_failed=3
health_check_interval=1
health_http_url=/
health_check_type=http
health_check_target=127.0.0.1:8083,127.0.0.1:8082
[health_check_test2]
health_check_timeout=1
health_check_max_failed=3
health_check_interval=1
health_check_type=tcp
health_check_target=127.0.0.1:8083,127.0.0.1:8082
[tcp]
mode=tcp
target=8006-8010,8012
port=9006-9010,9012
target=127.0.0.1:8083,127.0.0.1:8082
port=9006
targetAddr=123.206.77.88
health_check_timeout = 3
health_check_max_failed = 3
health_check_interval = 10
health_http_url=/
[socks5]
mode=socks5

View File

@@ -6,7 +6,7 @@ runmode = dev
#HTTP(S) proxy port, no startup if empty
http_proxy_port=80
https_proxy_port=443
#https_proxy_port=8024
#certFile absolute path
pem_path=conf/server.pem
#KeyFile absolute path
@@ -26,7 +26,7 @@ public_vkey=123
#flow_store_interval=1
# log level LevelEmergency->0 LevelAlert->1 LevelCritical->2 LevelError->3 LevelWarning->4 LevelNotice->5 LevelInformational->6 LevelDebug->7
#log_level=7
log_level=7
#Whether to restrict IP access, true or false or ignore
#ip_limit=true
@@ -36,7 +36,7 @@ public_vkey=123
#p2p_port=6000
#web
web_host=c.o.com
web_host=a.o.com
web_username=admin
web_password=123
web_port = 8080
@@ -45,4 +45,4 @@ web_ip=0.0.0.0
auth_key=test
auth_crypt_key =1234567812345678
#allow_ports=9001-9009,10001,11000-12000
#allow_ports=9001-9009,10001,11000-12000

View File

@@ -1,4 +1,5 @@
8025,socks5,,1,1,2,,0,0,
8026,httpProxy,,1,2,2,,0,0,
8001,tcp,"127.0.0.1:8080
127.0.0.1:8082",1,3,5,,0,0,
9002,tcp,127.0.0.1:8082,1,3,2,,0,0,
9003,socks5,,1,5,5,,0,0,
9009,tcp,127.0.0.1:8082,1,21,5,,8244480,2382592,
1 8025 socks5 1 1 2 0 0
2 8026 httpProxy 1 2 2 0 0
3 8001 9002 tcp 127.0.0.1:8080 127.0.0.1:8082 127.0.0.1:8082 1 3 5 2 0 0
4 9003 socks5 1 5 5 0 0
5 9009 tcp 127.0.0.1:8082 1 21 5 8244480 2382592