mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-01-31 12:19:29 +08:00
add http/2 config
This commit is contained in:
parent
bbff5e06b6
commit
d1f24d4a9f
111
HTTP2/config_client.json
Executable file
111
HTTP2/config_client.json
Executable file
@ -0,0 +1,111 @@
|
|||||||
|
{
|
||||||
|
"outbound": {
|
||||||
|
"streamSettings": {
|
||||||
|
"network": "ws",
|
||||||
|
"kcpSettings": null,
|
||||||
|
"wsSettings": {
|
||||||
|
"headers": {
|
||||||
|
"host": "example.domain"
|
||||||
|
},
|
||||||
|
"path": ""
|
||||||
|
},
|
||||||
|
"tcpSettings": null,
|
||||||
|
"tlsSettings": {},
|
||||||
|
"security": "tls"
|
||||||
|
},
|
||||||
|
"tag": "agentout",
|
||||||
|
"protocol": "vmess",
|
||||||
|
"mux": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
|
"vnext": [
|
||||||
|
{
|
||||||
|
"users": [
|
||||||
|
{
|
||||||
|
"alterId": 100,
|
||||||
|
"security": "aes-128-gcm",
|
||||||
|
"id": "0cdf8a45-303d-4fed-9780-29aa7f54175e"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"port": 443,
|
||||||
|
"address": "example.domain"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"log": {
|
||||||
|
"access": "",
|
||||||
|
"loglevel": "info",
|
||||||
|
"error": ""
|
||||||
|
},
|
||||||
|
"outboundDetour": [
|
||||||
|
{
|
||||||
|
"tag": "direct",
|
||||||
|
"protocol": "freedom",
|
||||||
|
"settings": {
|
||||||
|
"response": null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tag": "blockout",
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"settings": {
|
||||||
|
"response": {
|
||||||
|
"type": "http"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"inbound": {
|
||||||
|
"streamSettings": null,
|
||||||
|
"settings": {
|
||||||
|
"ip": "127.0.0.1",
|
||||||
|
"udp": true,
|
||||||
|
"clients": null,
|
||||||
|
"auth": "noauth"
|
||||||
|
},
|
||||||
|
"protocol": "socks",
|
||||||
|
"port": 1080,
|
||||||
|
"listen": "0.0.0.0"
|
||||||
|
},
|
||||||
|
"inboundDetour": null,
|
||||||
|
"routing": {
|
||||||
|
"settings": {
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"ip": [
|
||||||
|
"0.0.0.0/8",
|
||||||
|
"10.0.0.0/8",
|
||||||
|
"100.64.0.0/10",
|
||||||
|
"127.0.0.0/8",
|
||||||
|
"169.254.0.0/16",
|
||||||
|
"172.16.0.0/12",
|
||||||
|
"192.0.0.0/24",
|
||||||
|
"192.0.2.0/24",
|
||||||
|
"192.168.0.0/16",
|
||||||
|
"198.18.0.0/15",
|
||||||
|
"198.51.100.0/24",
|
||||||
|
"203.0.113.0/24",
|
||||||
|
"::1/128",
|
||||||
|
"fc00::/7",
|
||||||
|
"fe80::/10"
|
||||||
|
],
|
||||||
|
"domain": null,
|
||||||
|
"type": "field",
|
||||||
|
"port": null,
|
||||||
|
"outboundTag": "direct"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"domainStrategy": "IPIfNonMatch"
|
||||||
|
},
|
||||||
|
"strategy": "rules"
|
||||||
|
},
|
||||||
|
"dns": {
|
||||||
|
"servers": [
|
||||||
|
"8.8.8.8",
|
||||||
|
"8.8.4.4",
|
||||||
|
"localhost"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
91
HTTP2/config_server.json
Executable file
91
HTTP2/config_server.json
Executable file
@ -0,0 +1,91 @@
|
|||||||
|
{
|
||||||
|
"outbound": {
|
||||||
|
"streamSettings": null,
|
||||||
|
"tag": null,
|
||||||
|
"protocol": "freedom",
|
||||||
|
"mux": null,
|
||||||
|
"settings": null
|
||||||
|
},
|
||||||
|
"log": {
|
||||||
|
"access": "/var/log/v2ray/access.log",
|
||||||
|
"loglevel": "error",
|
||||||
|
"error": "/var/log/v2ray/error.log"
|
||||||
|
},
|
||||||
|
"inboundDetour": null,
|
||||||
|
"inbound": {
|
||||||
|
"streamSettings": {
|
||||||
|
"network": "h2",
|
||||||
|
"kcpSettings": null,
|
||||||
|
"httpSettings": {
|
||||||
|
"host": [
|
||||||
|
"lax.kirikira.moe"
|
||||||
|
],
|
||||||
|
"path": "/test"
|
||||||
|
},
|
||||||
|
"tcpSettings": null,
|
||||||
|
"tlsSettings": {
|
||||||
|
"certificates": [
|
||||||
|
{
|
||||||
|
"keyFile": "/path/to/example.domain.key",
|
||||||
|
"certificateFile": "/path/to/example.domain/fullchain.cer"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"security": "tls"
|
||||||
|
},
|
||||||
|
"listen": null,
|
||||||
|
"protocol": "vmess",
|
||||||
|
"port": 443,
|
||||||
|
"settings": {
|
||||||
|
"ip": null,
|
||||||
|
"udp": true,
|
||||||
|
"clients": [
|
||||||
|
{
|
||||||
|
"alterId": 100,
|
||||||
|
"security": "aes-128-gcm",
|
||||||
|
"id": "0cdf8a45-303d-4fed-9780-29aa7f54175e"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"auth": null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"outboundDetour": [
|
||||||
|
{
|
||||||
|
"tag": "blocked",
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"settings": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"routing": {
|
||||||
|
"strategy": "rules",
|
||||||
|
"settings": {
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"ip": [
|
||||||
|
"0.0.0.0/8",
|
||||||
|
"10.0.0.0/8",
|
||||||
|
"100.64.0.0/10",
|
||||||
|
"127.0.0.0/8",
|
||||||
|
"169.254.0.0/16",
|
||||||
|
"172.16.0.0/12",
|
||||||
|
"192.0.0.0/24",
|
||||||
|
"192.0.2.0/24",
|
||||||
|
"192.168.0.0/16",
|
||||||
|
"198.18.0.0/15",
|
||||||
|
"198.51.100.0/24",
|
||||||
|
"203.0.113.0/24",
|
||||||
|
"::1/128",
|
||||||
|
"fc00::/7",
|
||||||
|
"fe80::/10"
|
||||||
|
],
|
||||||
|
"domain": null,
|
||||||
|
"type": "field",
|
||||||
|
"port": null,
|
||||||
|
"outboundTag": "blocked"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"domainStrategy": null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dns": null
|
||||||
|
}
|
0
How_To_Choose.jpg
Normal file → Executable file
0
How_To_Choose.jpg
Normal file → Executable file
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
0
Shadowsocks+mKcp/config_cilent.json
Normal file → Executable file
0
Shadowsocks+mKcp/config_cilent.json
Normal file → Executable file
0
Shadowsocks+mKcp/config_server.json
Normal file → Executable file
0
Shadowsocks+mKcp/config_server.json
Normal file → Executable file
0
TCP+TLS/config_client.json
Normal file → Executable file
0
TCP+TLS/config_client.json
Normal file → Executable file
0
TCP+TLS/config_server.json
Normal file → Executable file
0
TCP+TLS/config_server.json
Normal file → Executable file
21
TCP/config_client.json
Normal file → Executable file
21
TCP/config_client.json
Normal file → Executable file
@ -14,15 +14,19 @@
|
|||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"vnext": [{
|
"vnext": [
|
||||||
"users": [{
|
{
|
||||||
|
"users": [
|
||||||
|
{
|
||||||
"alterId": 100,
|
"alterId": 100,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"port": 1234,
|
"port": 1234,
|
||||||
"address": "Your_IP_Address"
|
"address": "Your_IP_Address"
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"log": {
|
"log": {
|
||||||
@ -30,7 +34,8 @@
|
|||||||
"loglevel": "info",
|
"loglevel": "info",
|
||||||
"error": ""
|
"error": ""
|
||||||
},
|
},
|
||||||
"outboundDetour": [{
|
"outboundDetour": [
|
||||||
|
{
|
||||||
"tag": "direct",
|
"tag": "direct",
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {
|
"settings": {
|
||||||
@ -62,7 +67,8 @@
|
|||||||
"inboundDetour": null,
|
"inboundDetour": null,
|
||||||
"routing": {
|
"routing": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [{
|
"rules": [
|
||||||
|
{
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
@ -84,7 +90,8 @@
|
|||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"domainStrategy": "IPIfNonMatch"
|
"domainStrategy": "IPIfNonMatch"
|
||||||
},
|
},
|
||||||
"strategy": "rules"
|
"strategy": "rules"
|
||||||
|
18
TCP/config_server.json
Normal file → Executable file
18
TCP/config_server.json
Normal file → Executable file
@ -27,23 +27,28 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"ip": null,
|
"ip": null,
|
||||||
"udp": true,
|
"udp": true,
|
||||||
"clients": [{
|
"clients": [
|
||||||
|
{
|
||||||
"alterId": 100,
|
"alterId": 100,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"auth": null
|
"auth": null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"outboundDetour": [{
|
"outboundDetour": [
|
||||||
|
{
|
||||||
"tag": "blocked",
|
"tag": "blocked",
|
||||||
"protocol": "blackhole",
|
"protocol": "blackhole",
|
||||||
"settings": null
|
"settings": null
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"routing": {
|
"routing": {
|
||||||
"strategy": "rules",
|
"strategy": "rules",
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [{
|
"rules": [
|
||||||
|
{
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
@ -65,7 +70,8 @@
|
|||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "blocked"
|
"outboundTag": "blocked"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"domainStrategy": null
|
"domainStrategy": null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
21
http/config_client.json
Normal file → Executable file
21
http/config_client.json
Normal file → Executable file
@ -57,15 +57,19 @@
|
|||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"vnext": [{
|
"vnext": [
|
||||||
"users": [{
|
{
|
||||||
|
"users": [
|
||||||
|
{
|
||||||
"alterId": 100,
|
"alterId": 100,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"port": 1234,
|
"port": 1234,
|
||||||
"address": "Your_IP_Address"
|
"address": "Your_IP_Address"
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"log": {
|
"log": {
|
||||||
@ -73,7 +77,8 @@
|
|||||||
"loglevel": "info",
|
"loglevel": "info",
|
||||||
"error": ""
|
"error": ""
|
||||||
},
|
},
|
||||||
"outboundDetour": [{
|
"outboundDetour": [
|
||||||
|
{
|
||||||
"tag": "direct",
|
"tag": "direct",
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {
|
"settings": {
|
||||||
@ -105,7 +110,8 @@
|
|||||||
"inboundDetour": null,
|
"inboundDetour": null,
|
||||||
"routing": {
|
"routing": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [{
|
"rules": [
|
||||||
|
{
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
@ -127,7 +133,8 @@
|
|||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"domainStrategy": "IPIfNonMatch"
|
"domainStrategy": "IPIfNonMatch"
|
||||||
},
|
},
|
||||||
"strategy": "rules"
|
"strategy": "rules"
|
||||||
|
18
http/config_server.json
Normal file → Executable file
18
http/config_server.json
Normal file → Executable file
@ -11,11 +11,13 @@
|
|||||||
"loglevel": "info",
|
"loglevel": "info",
|
||||||
"error": "/var/log/v2ray/error.log"
|
"error": "/var/log/v2ray/error.log"
|
||||||
},
|
},
|
||||||
"outboundDetour": [{
|
"outboundDetour": [
|
||||||
|
{
|
||||||
"tag": "blocked",
|
"tag": "blocked",
|
||||||
"protocol": "blackhole",
|
"protocol": "blackhole",
|
||||||
"settings": null
|
"settings": null
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"inbound": {
|
"inbound": {
|
||||||
"streamSettings": {
|
"streamSettings": {
|
||||||
"network": "tcp",
|
"network": "tcp",
|
||||||
@ -71,11 +73,13 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"ip": null,
|
"ip": null,
|
||||||
"udp": true,
|
"udp": true,
|
||||||
"clients": [{
|
"clients": [
|
||||||
|
{
|
||||||
"alterId": 100,
|
"alterId": 100,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"auth": null
|
"auth": null
|
||||||
},
|
},
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
@ -85,7 +89,8 @@
|
|||||||
"inboundDetour": null,
|
"inboundDetour": null,
|
||||||
"routing": {
|
"routing": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [{
|
"rules": [
|
||||||
|
{
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
@ -107,7 +112,8 @@
|
|||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "blocked"
|
"outboundTag": "blocked"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"domainStrategy": null
|
"domainStrategy": null
|
||||||
},
|
},
|
||||||
"strategy": "rules"
|
"strategy": "rules"
|
||||||
|
23
mKcp 伪装微信视频流量/config_client.json
Normal file → Executable file
23
mKcp 伪装微信视频流量/config_client.json
Normal file → Executable file
@ -3,7 +3,7 @@
|
|||||||
"streamSettings": {
|
"streamSettings": {
|
||||||
"network": "kcp",
|
"network": "kcp",
|
||||||
"kcpSettings": {
|
"kcpSettings": {
|
||||||
"uplinkCapacity": 100,
|
"uplinkCapacity": 15,
|
||||||
"downlinkCapacity": 100,
|
"downlinkCapacity": 100,
|
||||||
"readBufferSize": 2,
|
"readBufferSize": 2,
|
||||||
"mtu": 1350,
|
"mtu": 1350,
|
||||||
@ -27,15 +27,19 @@
|
|||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"vnext": [{
|
"vnext": [
|
||||||
"users": [{
|
{
|
||||||
|
"users": [
|
||||||
|
{
|
||||||
"alterId": 100,
|
"alterId": 100,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"port": 1234,
|
"port": 1234,
|
||||||
"address": "Your_IP_Address"
|
"address": "Your_IP_Address"
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"log": {
|
"log": {
|
||||||
@ -43,7 +47,8 @@
|
|||||||
"loglevel": "info",
|
"loglevel": "info",
|
||||||
"error": ""
|
"error": ""
|
||||||
},
|
},
|
||||||
"outboundDetour": [{
|
"outboundDetour": [
|
||||||
|
{
|
||||||
"tag": "direct",
|
"tag": "direct",
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {
|
"settings": {
|
||||||
@ -75,7 +80,8 @@
|
|||||||
"inboundDetour": null,
|
"inboundDetour": null,
|
||||||
"routing": {
|
"routing": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [{
|
"rules": [
|
||||||
|
{
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
@ -97,7 +103,8 @@
|
|||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"domainStrategy": "IPIfNonMatch"
|
"domainStrategy": "IPIfNonMatch"
|
||||||
},
|
},
|
||||||
"strategy": "rules"
|
"strategy": "rules"
|
||||||
|
20
mKcp 伪装微信视频流量/config_server.json
Normal file → Executable file
20
mKcp 伪装微信视频流量/config_server.json
Normal file → Executable file
@ -11,16 +11,18 @@
|
|||||||
"loglevel": "info",
|
"loglevel": "info",
|
||||||
"error": "/var/log/v2ray/error.log"
|
"error": "/var/log/v2ray/error.log"
|
||||||
},
|
},
|
||||||
"outboundDetour": [{
|
"outboundDetour": [
|
||||||
|
{
|
||||||
"tag": "blocked",
|
"tag": "blocked",
|
||||||
"protocol": "blackhole",
|
"protocol": "blackhole",
|
||||||
"settings": null
|
"settings": null
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"inbound": {
|
"inbound": {
|
||||||
"streamSettings": {
|
"streamSettings": {
|
||||||
"network": "kcp",
|
"network": "kcp",
|
||||||
"kcpSettings": {
|
"kcpSettings": {
|
||||||
"uplinkCapacity": 100,
|
"uplinkCapacity": 15,
|
||||||
"downlinkCapacity": 100,
|
"downlinkCapacity": 100,
|
||||||
"readBufferSize": 2,
|
"readBufferSize": 2,
|
||||||
"mtu": 1350,
|
"mtu": 1350,
|
||||||
@ -41,11 +43,13 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"ip": null,
|
"ip": null,
|
||||||
"udp": true,
|
"udp": true,
|
||||||
"clients": [{
|
"clients": [
|
||||||
|
{
|
||||||
"alterId": 100,
|
"alterId": 100,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"auth": null
|
"auth": null
|
||||||
},
|
},
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
@ -55,7 +59,8 @@
|
|||||||
"inboundDetour": null,
|
"inboundDetour": null,
|
||||||
"routing": {
|
"routing": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [{
|
"rules": [
|
||||||
|
{
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
@ -77,7 +82,8 @@
|
|||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "blocked"
|
"outboundTag": "blocked"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"domainStrategy": null
|
"domainStrategy": null
|
||||||
},
|
},
|
||||||
"strategy": "rules"
|
"strategy": "rules"
|
||||||
|
2
mKcp/config_client.json
Normal file → Executable file
2
mKcp/config_client.json
Normal file → Executable file
@ -3,7 +3,7 @@
|
|||||||
"streamSettings": {
|
"streamSettings": {
|
||||||
"network": "kcp",
|
"network": "kcp",
|
||||||
"kcpSettings": {
|
"kcpSettings": {
|
||||||
"uplinkCapacity": 100,
|
"uplinkCapacity": 15,
|
||||||
"downlinkCapacity": 100,
|
"downlinkCapacity": 100,
|
||||||
"readBufferSize": 2,
|
"readBufferSize": 2,
|
||||||
"mtu": 1350,
|
"mtu": 1350,
|
||||||
|
2
mKcp/config_server.json
Normal file → Executable file
2
mKcp/config_server.json
Normal file → Executable file
@ -20,7 +20,7 @@
|
|||||||
"streamSettings": {
|
"streamSettings": {
|
||||||
"network": "kcp",
|
"network": "kcp",
|
||||||
"kcpSettings": {
|
"kcpSettings": {
|
||||||
"uplinkCapacity": 100,
|
"uplinkCapacity": 15,
|
||||||
"downlinkCapacity": 100,
|
"downlinkCapacity": 100,
|
||||||
"readBufferSize": 2,
|
"readBufferSize": 2,
|
||||||
"mtu": 1350,
|
"mtu": 1350,
|
||||||
|
@ -1,45 +1,43 @@
|
|||||||
{
|
{
|
||||||
"log":{
|
"log": {
|
||||||
"loglevel":"warning"
|
"loglevel": "warning"
|
||||||
},
|
},
|
||||||
"inbound":{
|
"inbound": {
|
||||||
"port":6789,
|
"port": 6789,
|
||||||
"listen":"127.0.0.1",
|
"listen": "127.0.0.1",
|
||||||
"protocol":"socks",
|
"protocol": "socks",
|
||||||
"settings":{
|
"settings": {
|
||||||
"auth":"noauth",
|
"auth": "noauth",
|
||||||
"udp":false,
|
"udp": false,
|
||||||
"ip":"127.0.0.1"
|
"ip": "127.0.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"outbound":{
|
"outbound": {
|
||||||
"protocol":"socks",
|
"protocol": "socks",
|
||||||
"settings":{
|
"settings": {
|
||||||
"servers":[
|
"servers": [
|
||||||
{
|
{
|
||||||
"address":"you server",
|
"address": "you server",
|
||||||
"port": 443,
|
"port": 443,
|
||||||
"users":[
|
"users": [
|
||||||
{
|
{
|
||||||
"user":"hello",
|
"user": "hello",
|
||||||
"pass":"3.1415",
|
"pass": "3.1415",
|
||||||
"level":0
|
"level": 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"streamSettings": {
|
"streamSettings": {
|
||||||
"network": "tcp",
|
"network": "tcp",
|
||||||
"security": "tls"
|
"security": "tls"
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
"policy":{
|
"policy": {
|
||||||
"levels":{
|
"levels": {
|
||||||
"0":{
|
"0": {
|
||||||
"uplinkOnly":0
|
"uplinkOnly": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,60 +1,56 @@
|
|||||||
{
|
{
|
||||||
"log":{
|
"log": {
|
||||||
"access":"/var/log/v2ray/access.log",
|
"access": "/var/log/v2ray/access.log",
|
||||||
"error":"/var/log/v2ray/error.log",
|
"error": "/var/log/v2ray/error.log",
|
||||||
"loglevel":"warning"
|
"loglevel": "warning"
|
||||||
},
|
},
|
||||||
"inbound":{
|
"inbound": {
|
||||||
"port":443,
|
"port": 443,
|
||||||
"protocol":"socks",
|
"protocol": "socks",
|
||||||
"settings":{
|
"settings": {
|
||||||
"auth":"password",
|
"auth": "password",
|
||||||
"accounts":[
|
"accounts": [
|
||||||
{
|
{
|
||||||
"user":"hello",
|
"user": "hello",
|
||||||
"pass":"3.1415"
|
"pass": "3.1415"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"udp":false,
|
"udp": false,
|
||||||
"ip":"127.0.0.1",
|
"ip": "127.0.0.1",
|
||||||
"timeout":0,
|
"timeout": 0,
|
||||||
"userLevel":0
|
"userLevel": 0
|
||||||
},
|
},
|
||||||
"streamSettings":{
|
"streamSettings": {
|
||||||
"network":"tcp",
|
"network": "tcp",
|
||||||
"security":"tls",
|
"security": "tls",
|
||||||
"tlsSettings":{
|
"tlsSettings": {
|
||||||
"certificates":[
|
"certificates": [
|
||||||
{
|
{
|
||||||
"certificateFile":"/etc/v2ray/v2ray.crt",
|
"certificateFile": "/etc/v2ray/v2ray.crt",
|
||||||
"keyFile":"/etc/v2ray/v2ray.key"
|
"keyFile": "/etc/v2ray/v2ray.key"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"outbound":{
|
"outbound": {
|
||||||
"protocol":"freedom",
|
"protocol": "freedom",
|
||||||
"settings":{
|
"settings": {}
|
||||||
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"outboundDetour":[
|
"outboundDetour": [
|
||||||
{
|
{
|
||||||
"protocol":"blackhole",
|
"protocol": "blackhole",
|
||||||
"settings":{
|
"settings": {},
|
||||||
|
"tag": "blocked"
|
||||||
},
|
|
||||||
"tag":"blocked"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"routing":{
|
"routing": {
|
||||||
"strategy":"rules",
|
"strategy": "rules",
|
||||||
"settings":{
|
"settings": {
|
||||||
"rules":[
|
"rules": [
|
||||||
{
|
{
|
||||||
"type":"field",
|
"type": "field",
|
||||||
"ip":[
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
"100.64.0.0/10",
|
"100.64.0.0/10",
|
||||||
@ -71,7 +67,7 @@
|
|||||||
"fc00::/7",
|
"fc00::/7",
|
||||||
"fe80::/10"
|
"fe80::/10"
|
||||||
],
|
],
|
||||||
"outboundTag":"blocked"
|
"outboundTag": "blocked"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -15,31 +15,39 @@
|
|||||||
"outbound": {
|
"outbound": {
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
"settings": {
|
"settings": {
|
||||||
"vnext": [{
|
"vnext": [
|
||||||
|
{
|
||||||
"address": "0.0.0.0",
|
"address": "0.0.0.0",
|
||||||
"port": 1234,
|
"port": 1234,
|
||||||
"users": [{
|
"users": [
|
||||||
|
{
|
||||||
"id": "a90597c1-bab3-4217-ad6f-0838675c8633",
|
"id": "a90597c1-bab3-4217-ad6f-0838675c8633",
|
||||||
"alterId": 10
|
"alterId": 10
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"id": "8856ea72-a67a-4651-98f0-ebb3bf4f07b1",
|
"id": "8856ea72-a67a-4651-98f0-ebb3bf4f07b1",
|
||||||
"level": 1,
|
"level": 1,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"alterId": 12
|
"alterId": 12
|
||||||
}]
|
}
|
||||||
}]
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"outboundDetour": [{
|
"outboundDetour": [
|
||||||
|
{
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"tag": "direct",
|
"tag": "direct",
|
||||||
"settings": {}
|
"settings": {}
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"routing": {
|
"routing": {
|
||||||
"strategy": "rules",
|
"strategy": "rules",
|
||||||
"settings": {
|
"settings": {
|
||||||
"domainStrategy": "IPOnDemand",
|
"domainStrategy": "IPOnDemand",
|
||||||
"rules": [{
|
"rules": [
|
||||||
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
@ -59,7 +67,8 @@
|
|||||||
"fe80::/10"
|
"fe80::/10"
|
||||||
],
|
],
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
}]
|
}
|
||||||
}
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"log" : {
|
"log": {
|
||||||
"access": "/var/log/v2ray/access.log",
|
"access": "/var/log/v2ray/access.log",
|
||||||
"error": "/var/log/v2ray/error.log",
|
"error": "/var/log/v2ray/error.log",
|
||||||
"loglevel": "warning"
|
"loglevel": "warning"
|
||||||
@ -8,15 +8,18 @@
|
|||||||
"port": 1234,
|
"port": 1234,
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
"settings": {
|
"settings": {
|
||||||
"clients": [{
|
"clients": [
|
||||||
|
{
|
||||||
"id": "a90597c1-bab3-4217-ad6f-0838675c8633",
|
"id": "a90597c1-bab3-4217-ad6f-0838675c8633",
|
||||||
"alterId": 10
|
"alterId": 10
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"id": "8856ea72-a67a-4651-98f0-ebb3bf4f07b1",
|
"id": "8856ea72-a67a-4651-98f0-ebb3bf4f07b1",
|
||||||
"level": 1,
|
"level": 1,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"alterId": 12
|
"alterId": 12
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"outbound": {
|
"outbound": {
|
||||||
@ -58,4 +61,4 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
0
websocket+Caddy+TLS(use header)/Caddyfile
Normal file → Executable file
0
websocket+Caddy+TLS(use header)/Caddyfile
Normal file → Executable file
@ -20,15 +20,19 @@
|
|||||||
"concurrency": 8
|
"concurrency": 8
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"vnext": [{
|
"vnext": [
|
||||||
"users": [{
|
{
|
||||||
|
"users": [
|
||||||
|
{
|
||||||
"alterId": 100,
|
"alterId": 100,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"port": 443,
|
"port": 443,
|
||||||
"address": "example.domain"
|
"address": "example.domain"
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"log": {
|
"log": {
|
||||||
@ -36,7 +40,8 @@
|
|||||||
"loglevel": "info",
|
"loglevel": "info",
|
||||||
"error": ""
|
"error": ""
|
||||||
},
|
},
|
||||||
"outboundDetour": [{
|
"outboundDetour": [
|
||||||
|
{
|
||||||
"tag": "direct",
|
"tag": "direct",
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {
|
"settings": {
|
||||||
@ -68,7 +73,8 @@
|
|||||||
"inboundDetour": null,
|
"inboundDetour": null,
|
||||||
"routing": {
|
"routing": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [{
|
"rules": [
|
||||||
|
{
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
@ -90,7 +96,8 @@
|
|||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"domainStrategy": "IPIfNonMatch"
|
"domainStrategy": "IPIfNonMatch"
|
||||||
},
|
},
|
||||||
"strategy": "rules"
|
"strategy": "rules"
|
||||||
|
15
websocket+Caddy+TLS(use header)/config_server.json
Normal file → Executable file
15
websocket+Caddy+TLS(use header)/config_server.json
Normal file → Executable file
@ -11,7 +11,8 @@
|
|||||||
"loglevel": "info",
|
"loglevel": "info",
|
||||||
"error": "/var/log/v2ray/error.log"
|
"error": "/var/log/v2ray/error.log"
|
||||||
},
|
},
|
||||||
"outboundDetour": [{
|
"outboundDetour": [
|
||||||
|
{
|
||||||
"tag": "direct",
|
"tag": "direct",
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": null
|
"settings": null
|
||||||
@ -39,11 +40,13 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"ip": null,
|
"ip": null,
|
||||||
"udp": true,
|
"udp": true,
|
||||||
"clients": [{
|
"clients": [
|
||||||
|
{
|
||||||
"alterId": 100,
|
"alterId": 100,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"auth": null
|
"auth": null
|
||||||
},
|
},
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
@ -53,7 +56,8 @@
|
|||||||
"inboundDetour": null,
|
"inboundDetour": null,
|
||||||
"routing": {
|
"routing": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [{
|
"rules": [
|
||||||
|
{
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
@ -75,7 +79,8 @@
|
|||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "blocked"
|
"outboundTag": "blocked"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"domainStrategy": null
|
"domainStrategy": null
|
||||||
},
|
},
|
||||||
"strategy": "rules"
|
"strategy": "rules"
|
||||||
|
0
websocket+Caddy+TLS(use path)/Caddyfile
Normal file → Executable file
0
websocket+Caddy+TLS(use path)/Caddyfile
Normal file → Executable file
@ -17,15 +17,19 @@
|
|||||||
"concurrency": 8
|
"concurrency": 8
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"vnext": [{
|
"vnext": [
|
||||||
"users": [{
|
{
|
||||||
|
"users": [
|
||||||
|
{
|
||||||
"alterId": 100,
|
"alterId": 100,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"port": 443,
|
"port": 443,
|
||||||
"address": "example.domain"
|
"address": "example.domain"
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"log": {
|
"log": {
|
||||||
@ -33,7 +37,8 @@
|
|||||||
"loglevel": "info",
|
"loglevel": "info",
|
||||||
"error": ""
|
"error": ""
|
||||||
},
|
},
|
||||||
"outboundDetour": [{
|
"outboundDetour": [
|
||||||
|
{
|
||||||
"tag": "direct",
|
"tag": "direct",
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {
|
"settings": {
|
||||||
@ -65,7 +70,8 @@
|
|||||||
"inboundDetour": null,
|
"inboundDetour": null,
|
||||||
"routing": {
|
"routing": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [{
|
"rules": [
|
||||||
|
{
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
@ -87,7 +93,8 @@
|
|||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"domainStrategy": "IPIfNonMatch"
|
"domainStrategy": "IPIfNonMatch"
|
||||||
},
|
},
|
||||||
"strategy": "rules"
|
"strategy": "rules"
|
||||||
|
15
websocket+Caddy+TLS(use path)/config_server.json
Normal file → Executable file
15
websocket+Caddy+TLS(use path)/config_server.json
Normal file → Executable file
@ -11,7 +11,8 @@
|
|||||||
"loglevel": "info",
|
"loglevel": "info",
|
||||||
"error": "/var/log/v2ray/error.log"
|
"error": "/var/log/v2ray/error.log"
|
||||||
},
|
},
|
||||||
"outboundDetour": [{
|
"outboundDetour": [
|
||||||
|
{
|
||||||
"tag": "direct",
|
"tag": "direct",
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": null
|
"settings": null
|
||||||
@ -36,11 +37,13 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"ip": null,
|
"ip": null,
|
||||||
"udp": true,
|
"udp": true,
|
||||||
"clients": [{
|
"clients": [
|
||||||
|
{
|
||||||
"alterId": 100,
|
"alterId": 100,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"auth": null
|
"auth": null
|
||||||
},
|
},
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
@ -50,7 +53,8 @@
|
|||||||
"inboundDetour": null,
|
"inboundDetour": null,
|
||||||
"routing": {
|
"routing": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [{
|
"rules": [
|
||||||
|
{
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
@ -72,7 +76,8 @@
|
|||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "blocked"
|
"outboundTag": "blocked"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"domainStrategy": null
|
"domainStrategy": null
|
||||||
},
|
},
|
||||||
"strategy": "rules"
|
"strategy": "rules"
|
||||||
|
0
websocket+Nginx+TLS/Nginx.config
Normal file → Executable file
0
websocket+Nginx+TLS/Nginx.config
Normal file → Executable file
4
websocket+Nginx+TLS/config_client.json
Normal file → Executable file
4
websocket+Nginx+TLS/config_client.json
Normal file → Executable file
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"outbound": {
|
"outbound": {
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": { },
|
"settings": {},
|
||||||
"tag": "direct"
|
"tag": "direct"
|
||||||
},
|
},
|
||||||
"inboundDetour": [
|
"inboundDetour": [
|
||||||
@ -55,7 +55,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"protocol": "blackhole",
|
"protocol": "blackhole",
|
||||||
"settings": { },
|
"settings": {},
|
||||||
"tag": "block"
|
"tag": "block"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
0
websocket+Nginx+TLS/config_server.json
Normal file → Executable file
0
websocket+Nginx+TLS/config_server.json
Normal file → Executable file
0
websocket+TLS/config_client.json
Normal file → Executable file
0
websocket+TLS/config_client.json
Normal file → Executable file
0
websocket+TLS/config_server.json
Normal file → Executable file
0
websocket+TLS/config_server.json
Normal file → Executable file
21
websocket/config_client.json
Normal file → Executable file
21
websocket/config_client.json
Normal file → Executable file
@ -19,15 +19,19 @@
|
|||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"vnext": [{
|
"vnext": [
|
||||||
"users": [{
|
{
|
||||||
|
"users": [
|
||||||
|
{
|
||||||
"alterId": 100,
|
"alterId": 100,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"port": 1234,
|
"port": 1234,
|
||||||
"address": "Your_IP_Address"
|
"address": "Your_IP_Address"
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"log": {
|
"log": {
|
||||||
@ -35,7 +39,8 @@
|
|||||||
"loglevel": "info",
|
"loglevel": "info",
|
||||||
"error": ""
|
"error": ""
|
||||||
},
|
},
|
||||||
"outboundDetour": [{
|
"outboundDetour": [
|
||||||
|
{
|
||||||
"tag": "direct",
|
"tag": "direct",
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {
|
"settings": {
|
||||||
@ -67,7 +72,8 @@
|
|||||||
"inboundDetour": null,
|
"inboundDetour": null,
|
||||||
"routing": {
|
"routing": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [{
|
"rules": [
|
||||||
|
{
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
@ -89,7 +95,8 @@
|
|||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"domainStrategy": "IPIfNonMatch"
|
"domainStrategy": "IPIfNonMatch"
|
||||||
},
|
},
|
||||||
"strategy": "rules"
|
"strategy": "rules"
|
||||||
|
18
websocket/config_server.json
Normal file → Executable file
18
websocket/config_server.json
Normal file → Executable file
@ -32,23 +32,28 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"ip": null,
|
"ip": null,
|
||||||
"udp": true,
|
"udp": true,
|
||||||
"clients": [{
|
"clients": [
|
||||||
|
{
|
||||||
"alterId": 100,
|
"alterId": 100,
|
||||||
"security": "aes-128-gcm",
|
"security": "aes-128-gcm",
|
||||||
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"auth": null
|
"auth": null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"outboundDetour": [{
|
"outboundDetour": [
|
||||||
|
{
|
||||||
"tag": "blocked",
|
"tag": "blocked",
|
||||||
"protocol": "blackhole",
|
"protocol": "blackhole",
|
||||||
"settings": null
|
"settings": null
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"routing": {
|
"routing": {
|
||||||
"strategy": "rules",
|
"strategy": "rules",
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [{
|
"rules": [
|
||||||
|
{
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
@ -70,7 +75,8 @@
|
|||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "blocked"
|
"outboundTag": "blocked"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"domainStrategy": null
|
"domainStrategy": null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user