From 967b60975b870fc79d33d36ffd0636aff269f9b4 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:31:28 +0800 Subject: [PATCH 01/23] Update config_client.json --- VMess-TCP/config_client.json | 102 ++++++++++++++++++++--------------- 1 file changed, 60 insertions(+), 42 deletions(-) diff --git a/VMess-TCP/config_client.json b/VMess-TCP/config_client.json index 31195e2..8650123 100644 --- a/VMess-TCP/config_client.json +++ b/VMess-TCP/config_client.json @@ -1,45 +1,63 @@ { - "log": { - "loglevel": "warning" - }, - "routing": { - "domainStrategy": "AsIs", - "rules": [ - { - "ip": [ - "geoip:private" - ], - "outboundTag": "direct", - "port": null, - "type": "field" - } - ] - }, - "inbounds": [ - { - "port": 1234, - "protocol": "vmess", - "settings": { - "clients": [ - { - "id": "e2b39869-7e9e-411b-a561-00904419bed9", - "alterId": 100, - "testsEnabled": "VMessAEAD" - } + "log": { + "loglevel": "warning" + }, + "routing": { + "domainStratedy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "tag": "direct" + } ] - }, - "tag": "tcp", - "streamSettings": { - "network": "tcp" - } - } - ], - "outbounds": [ - { - "protocol": "freedom", - "settings": { - }, - "tag": "direct" - } - ] + }, + "inbounds": [ + { + "listen": "127.0.0.1", + "port": "1080", + "protocol": "socks", + "settings": { + "auth": "noauth", + "udp": "true", + "ip": "127.0.0.1" + } + }, + { + "listen": "127.0.0.1", + "port": "1081", + "protocol": "http" + } + ], + "outbounds": [ + { + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "", + "port": 1234, + "user": [ + { + "id": "", + "alterId": 4, + "security": "auto", + "testEnabled": "VMessAEAD" + } + ] + } + ] + }, + "streamSettings": { + "network": "tcp" + }, + "tag": "proxy" + }, + { + "protocol": "freedom", + "tag": "direct" + } + ] } From 720efb19334978e6bb38e0e76dd9fd6c3265c593 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:32:21 +0800 Subject: [PATCH 02/23] Update config_server.json --- VMess-TCP/config_server.json | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/VMess-TCP/config_server.json b/VMess-TCP/config_server.json index 7c1a152..cb71d06 100644 --- a/VMess-TCP/config_server.json +++ b/VMess-TCP/config_server.json @@ -6,29 +6,28 @@ "domainStrategy": "AsIs", "rules": [ { + "type": "field", "ip": [ "geoip:private" ], - "outboundTag": "blocked", - "port": null, - "type": "field" + "outboundTag": "block" } ] }, "inbounds": [ { + "listen": "0.0.0.0", "port": 1234, "protocol": "vmess", "settings": { "clients": [ { "id": "", - "alterId": 100, - "testsEnabled": "VMessAEAD" + "alterId": 4 } - ] + ], + "disableInsecureEncryption": true }, - "tag": "tcp", "streamSettings": { "network": "tcp" } @@ -37,15 +36,11 @@ "outbounds": [ { "protocol": "freedom", - "settings": { - }, "tag": "direct" }, { "protocol": "blackhole", - "settings": { - }, - "tag": "blocked" + "tag": "block" } ] } From 66b1c349b6d3237cb00c196d82f6eb3d8bd66d39 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:33:33 +0800 Subject: [PATCH 03/23] Update config_client.json --- VMess-TCP-TLS/config_client.json | 151 ++++++++++++------------------- 1 file changed, 56 insertions(+), 95 deletions(-) diff --git a/VMess-TCP-TLS/config_client.json b/VMess-TCP-TLS/config_client.json index 957a3fd..7c6b734 100644 --- a/VMess-TCP-TLS/config_client.json +++ b/VMess-TCP-TLS/config_client.json @@ -1,106 +1,67 @@ { - "dns": { - "servers": [ - "8.8.8.8", - "8.8.4.4", - "localhost" + "log": { + "loglevel": "warning" + }, + "routing": { + "domainStratedy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "tag": "direct" + } ] }, - "inbound": { - "listen": "0.0.0.0", - "port": 1080, - "protocol": "socks", - "settings": { - "auth": "noauth", - "clients": null, - "ip": "127.0.0.1", - "udp": true - }, - "streamSettings": null - }, - "inboundDetour": null, - "log": { - "access": "/var/log/v2ray/access.log", - "error": "/var/log/v2ray/error.log", - "loglevel": "info" - }, - "outbound": { - "mux": { - "enabled": true - }, - "protocol": "vmess", - "settings": { - "vnext": [ - { - "address": "example.domain", - "port": 443, - "users": [ - { - "alterId": 64, - "id": "0cdf8a45-303d-4fed-9780-29aa7f54175e", - "security": "none" - } - ] - } - ] - }, - "streamSettings": { - "kcpSettings": null, - "network": "tcp", - "security": "tls", - "tcpSettings": null, - "tlsSettings": {}, - "wsSettings": null - }, - "tag": "agentout" - }, - "outboundDetour": [ + "inbounds": [ { - "protocol": "freedom", + "listen": "127.0.0.1", + "port": "1080", + "protocol": "socks", "settings": { - "response": null - }, - "tag": "direct" + "auth": "noauth", + "udp": "true", + "ip": "127.0.0.1" + } }, { - "protocol": "blackhole", - "settings": { - "response": { - "type": "http" - } - }, - "tag": "blockout" + "listen": "127.0.0.1", + "port": "1081", + "protocol": "http" } ], - "routing": { - "settings": { - "domainStrategy": "IPIfNonMatch", - "rules": [ - { - "domain": null, - "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" - ], - "outboundTag": "direct", - "port": null, - "type": "field" + "outbounds": [ + { + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "", + "port": 1234, + "user": [ + { + "id": "", + "alterId": 4, + "security": "none" + } + ] + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "serverName": "example.domain", + "allowInsecure": false } - ] + }, + "tag": "proxy" }, - "strategy": "rules" - } -} \ No newline at end of file + { + "protocol": "freedom", + "tag": "direct" + } + ] +} From 1391a1d4908f46bb72ca1ced9c11f5a33617da0c Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:34:07 +0800 Subject: [PATCH 04/23] Update config_client.json --- VMess-TCP-TLS/config_client.json | 58 +++++++++++++------------------- 1 file changed, 23 insertions(+), 35 deletions(-) diff --git a/VMess-TCP-TLS/config_client.json b/VMess-TCP-TLS/config_client.json index 7c6b734..5c7390f 100644 --- a/VMess-TCP-TLS/config_client.json +++ b/VMess-TCP-TLS/config_client.json @@ -3,65 +3,53 @@ "loglevel": "warning" }, "routing": { - "domainStratedy": "AsIs", + "domainStrategy": "AsIs", "rules": [ { "type": "field", "ip": [ "geoip:private" ], - "tag": "direct" + "outboundTag": "block" } ] }, "inbounds": [ { - "listen": "127.0.0.1", - "port": "1080", - "protocol": "socks", - "settings": { - "auth": "noauth", - "udp": "true", - "ip": "127.0.0.1" - } - }, - { - "listen": "127.0.0.1", - "port": "1081", - "protocol": "http" - } - ], - "outbounds": [ - { + "listen": "0.0.0.0", + "port": 1234, "protocol": "vmess", "settings": { - "vnext": [ + "clients": [ { - "address": "", - "port": 1234, - "user": [ - { - "id": "", - "alterId": 4, - "security": "none" - } - ] + "id": "", + "alterId": 4 } - ] + ], + "disableInsecureEncryption": false }, "streamSettings": { "network": "tcp", "security": "tls", "tlsSettings": { - "serverName": "example.domain", - "allowInsecure": false + "certificates": [ + { + "certificateFile": "/path/to/certificate.crt", + "keyFile": "/path/to/key.key" + } + ] } - }, - "tag": "proxy" - }, + } + } + ], + "outbounds": [ { "protocol": "freedom", "tag": "direct" + }, + { + "protocol": "blackhole", + "tag": "block" } ] } From df4db1eae2c448ea9794ec50843e121507cab8d4 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:35:19 +0800 Subject: [PATCH 05/23] Update config_client.json --- VMess-TCP-TLS/config_client.json | 58 +++++++++++++++++++------------- 1 file changed, 35 insertions(+), 23 deletions(-) diff --git a/VMess-TCP-TLS/config_client.json b/VMess-TCP-TLS/config_client.json index 5c7390f..7c6b734 100644 --- a/VMess-TCP-TLS/config_client.json +++ b/VMess-TCP-TLS/config_client.json @@ -3,53 +3,65 @@ "loglevel": "warning" }, "routing": { - "domainStrategy": "AsIs", + "domainStratedy": "AsIs", "rules": [ { "type": "field", "ip": [ "geoip:private" ], - "outboundTag": "block" + "tag": "direct" } ] }, "inbounds": [ { - "listen": "0.0.0.0", - "port": 1234, + "listen": "127.0.0.1", + "port": "1080", + "protocol": "socks", + "settings": { + "auth": "noauth", + "udp": "true", + "ip": "127.0.0.1" + } + }, + { + "listen": "127.0.0.1", + "port": "1081", + "protocol": "http" + } + ], + "outbounds": [ + { "protocol": "vmess", "settings": { - "clients": [ + "vnext": [ { - "id": "", - "alterId": 4 + "address": "", + "port": 1234, + "user": [ + { + "id": "", + "alterId": 4, + "security": "none" + } + ] } - ], - "disableInsecureEncryption": false + ] }, "streamSettings": { "network": "tcp", "security": "tls", "tlsSettings": { - "certificates": [ - { - "certificateFile": "/path/to/certificate.crt", - "keyFile": "/path/to/key.key" - } - ] + "serverName": "example.domain", + "allowInsecure": false } - } - } - ], - "outbounds": [ + }, + "tag": "proxy" + }, { "protocol": "freedom", "tag": "direct" - }, - { - "protocol": "blackhole", - "tag": "block" } ] } From 23282ec6858a655cfb844861e6844d8841f2cfa6 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:35:55 +0800 Subject: [PATCH 06/23] Update config_server.json --- VMess-TCP-TLS/config_server.json | 125 ++++++++++++------------------- 1 file changed, 47 insertions(+), 78 deletions(-) diff --git a/VMess-TCP-TLS/config_server.json b/VMess-TCP-TLS/config_server.json index 673edf3..5c7390f 100644 --- a/VMess-TCP-TLS/config_server.json +++ b/VMess-TCP-TLS/config_server.json @@ -1,86 +1,55 @@ { - "dns": null, - "inbound": { - "listen": null, - "port": 443, - "protocol": "vmess", - "settings": { - "auth": null, - "clients": [ - { - "alterId": 64, - "id": "e2b39869-7e9e-411b-a561-00904419bed9", - "security": "none" - } - ], - "ip": null, - "udp": true - }, - "streamSettings": { - "kcpSettings": null, - "network": "tcp", - "security": "tls", - "tcpSettings": null, - "tlsSettings": { - "certificates": [ - { - "certificateFile": "/path/to/example.domain/fullchain.cer", - "keyFile": "/path/to/example.domain.key" - } - ] - }, - "wsSettings": null - } - }, - "inboundDetour": null, "log": { - "access": "/var/log/v2ray/access.log", - "error": "/var/log/v2ray/error.log", - "loglevel": "info" + "loglevel": "warning" }, - "outbound": { - "mux": null, - "protocol": "freedom", - "settings": null, - "streamSettings": null, - "tag": null + "routing": { + "domainStrategy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "outboundTag": "block" + } + ] }, - "outboundDetour": [ + "inbounds": [ { - "protocol": "blackhole", - "settings": null, - "tag": "blocked" + "listen": "0.0.0.0", + "port": 1234, + "protocol": "vmess", + "settings": { + "clients": [ + { + "id": "", + "alterId": 4 + } + ], + "disableInsecureEncryption": false + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "certificates": [ + { + "certificateFile": "/path/to/certificate.crt", + "keyFile": "/path/to/key.key" + } + ] + } + } } ], - "routing": { - "settings": { - "domainStrategy": null, - "rules": [ - { - "domain": null, - "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" - ], - "outboundTag": "blocked", - "port": null, - "type": "field" - } - ] + "outbounds": [ + { + "protocol": "freedom", + "tag": "direct" }, - "strategy": "rules" - } -} \ No newline at end of file + { + "protocol": "blackhole", + "tag": "block" + } + ] +} From ddd550f7c142999434455d938fecdd30136e10dc Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:36:53 +0800 Subject: [PATCH 07/23] Update config_client.json --- VMess-Websocket/config_client.json | 164 +++++++++++------------------ 1 file changed, 61 insertions(+), 103 deletions(-) diff --git a/VMess-Websocket/config_client.json b/VMess-Websocket/config_client.json index c522154..e35cf3b 100644 --- a/VMess-Websocket/config_client.json +++ b/VMess-Websocket/config_client.json @@ -1,111 +1,69 @@ { - "outbound": { - "streamSettings": { - "network": "ws", - "kcpSettings": null, - "wsSettings": { - "headers": { - "host": "example.domain" - }, - "path": "" - }, - "tcpSettings": null, - "tlsSettings": {}, - "security": "" + "log": { + "loglevel": "warning" }, - "tag": "agentout", - "protocol": "vmess", - "mux": { - "enabled": true - }, - "settings": { - "vnext": [ - { - "users": [ + "routing": { + "domainStratedy": "AsIs", + "rules": [ { - "alterId": 100, - "security": "aes-128-gcm", - "id": "e2b39869-7e9e-411b-a561-00904419bed9" + "type": "field", + "ip": [ + "geoip:private" + ], + "tag": "direct" } - ], - "port": 1234, - "address": "Your_IP_Address" - } - ] - } - }, - "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": [ + "inbounds": [ { - "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" + "listen": "127.0.0.1", + "port": "1080", + "protocol": "socks", + "settings": { + "auth": "noauth", + "udp": "true", + "ip": "127.0.0.1" + } + }, + { + "listen": "127.0.0.1", + "port": "1081", + "protocol": "http" + } + ], + "outbounds": [ + { + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "", + "port": 1234, + "user": [ + { + "id": "", + "alterId": 4, + "security": "auto", + "testEnabled": "VMessAEAD" + } + ] + } + ] + }, + "streamSettings": { + "network": "ws", + "wsSettings": { + "path": "", + "headers": { + "Host": "" + } + } + }, + "tag": "proxy" + }, + { + "protocol": "freedom", + "tag": "direct" } - ], - "domainStrategy": "IPIfNonMatch" - }, - "strategy": "rules" - }, - "dns": { - "servers": [ - "8.8.8.8", - "8.8.4.4", - "localhost" ] - } -} \ No newline at end of file +} From 08c55ea4bb5c31ebed14f6c9af88e5da52cca93f Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:37:37 +0800 Subject: [PATCH 08/23] Update config_server.json --- VMess-Websocket/config_server.json | 125 +++++++++++------------------ 1 file changed, 47 insertions(+), 78 deletions(-) diff --git a/VMess-Websocket/config_server.json b/VMess-Websocket/config_server.json index 62e96a7..3b088ad 100644 --- a/VMess-Websocket/config_server.json +++ b/VMess-Websocket/config_server.json @@ -1,84 +1,53 @@ { - "outbound": { - "streamSettings": null, - "tag": null, - "protocol": "freedom", - "mux": null, - "settings": null - }, - "log": { - "access": "/var/log/v2ray/access.log", - "loglevel": "info", - "error": "/var/log/v2ray/error.log" - }, - "inboundDetour": null, - "inbound": { - "streamSettings": { - "network": "ws", - "kcpSettings": null, - "wsSettings": { - "headers": { - "host": "example.domain" - }, - "path": "" - }, - "tcpSettings": null, - "tlsSettings": {}, - "security": "" + "log": { + "loglevel": "warning" }, - "listen": null, - "protocol": "vmess", - "port": 1234, - "settings": { - "ip": null, - "udp": true, - "clients": [ + "routing": { + "domainStrategy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "outboundTag": "block" + } + ] + }, + "inbounds": [ { - "alterId": 100, - "security": "aes-128-gcm", - "id": "e2b39869-7e9e-411b-a561-00904419bed9" + "listen": "0.0.0.0", + "port": 1234, + "protocol": "vmess", + "settings": { + "clients": [ + { + "id": "", + "alterId": 4 + } + ], + "disableInsecureEncryption": true + }, + "streamSettings": { + "network": "ws", + "wsSettings": { + "path": "", + "headers": { + "Host": "" + } + }, + "security": "none" + } } - ], - "auth": null - } - }, - "outboundDetour": [ - { - "tag": "blocked", - "protocol": "blackhole", - "settings": null - } - ], - "routing": { - "strategy": "rules", - "settings": { - "rules": [ + ], + "outbounds": [ { - "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" + "protocol": "freedom", + "tag": "direct" + }, + { + "protocol": "blackhole", + "tag": "block" } - ], - "domainStrategy": null - } - }, - "dns": null -} \ No newline at end of file + ] +} From 74de6626e759717933f45a1dfb15929e28a4eb8d Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:38:40 +0800 Subject: [PATCH 09/23] Update config_client.json --- VMess-Websocket-TLS/config_client.json | 180 ++++++++++--------------- 1 file changed, 71 insertions(+), 109 deletions(-) diff --git a/VMess-Websocket-TLS/config_client.json b/VMess-Websocket-TLS/config_client.json index 0e33473..d6eb43e 100644 --- a/VMess-Websocket-TLS/config_client.json +++ b/VMess-Websocket-TLS/config_client.json @@ -1,111 +1,73 @@ { - "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" - ] - } + "log": { + "loglevel": "warning" + }, + "routing": { + "domainStratedy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "tag": "direct" + } + ] + }, + "inbounds": [ + { + "listen": "127.0.0.1", + "port": "1080", + "protocol": "socks", + "settings": { + "auth": "noauth", + "udp": "true", + "ip": "127.0.0.1" + } + }, + { + "listen": "127.0.0.1", + "port": "1081", + "protocol": "http" + } + ], + "outbounds": [ + { + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "", + "port": 1234, + "user": [ + { + "id": "", + "alterId": 4, + "security": "none" + } + ] + } + ] + }, + "streamSettings": { + "network": "ws", + "wsSettings": { + "path": "", + "headers": { + "Host": "example.domain" + } + }, + "security": "tls", + "tlsSettings": { + "serverName": "example.domain", + "allowInsecure": false + } + }, + "tag": "proxy" + }, + { + "protocol": "freedom", + "tag": "direct" + } + ] } From 85c8546de7f909d9ca309ddf6fac7e3e8490c95e Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:39:16 +0800 Subject: [PATCH 10/23] Update config_server.json --- VMess-Websocket-TLS/config_server.json | 136 ++++++++++--------------- 1 file changed, 53 insertions(+), 83 deletions(-) diff --git a/VMess-Websocket-TLS/config_server.json b/VMess-Websocket-TLS/config_server.json index d1692f4..9816222 100644 --- a/VMess-Websocket-TLS/config_server.json +++ b/VMess-Websocket-TLS/config_server.json @@ -1,91 +1,61 @@ { - "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" + "loglevel": "warning" }, - "inboundDetour": null, - "inbound": { - "streamSettings": { - "network": "ws", - "kcpSettings": null, - "wsSettings": { - "headers": { - "host": "example.domain" - }, - "path": "" - }, - "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 - } + "routing": { + "domainStrategy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "outboundTag": "block" + } + ] }, - "outboundDetour": [ + "inbounds": [ { - "tag": "blocked", - "protocol": "blackhole", - "settings": null + "listen": "0.0.0.0", + "port": 1234, + "protocol": "vmess", + "settings": { + "clients": [ + { + "id": "", + "alterId": 4 + } + ], + "disableInsecureEncryption": false + }, + "streamSettings": { + "network": "ws", + "wsSettings": { + "path": "", + "headers": { + "Host": "example.domain" + } + }, + "security": "tls", + "tlsSettings": { + "certificates": [ + { + "certificateFile": "/path/to/certificate.crt", + "keyFile": "/path/to/key.key" + } + ] + } + } } ], - "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 + "outbounds": [ + { + "protocol": "freedom", + "tag": "direct" + }, + { + "protocol": "blackhole", + "tag": "block" } - }, - "dns": null -} \ No newline at end of file + ] +} From 21aacaf2ad708d0a5c467aaf2ebda711ae2ba752 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:40:03 +0800 Subject: [PATCH 11/23] Update config_client.json --- VMess-HTTP2/config_client.json | 158 +++++++++++++-------------------- 1 file changed, 60 insertions(+), 98 deletions(-) diff --git a/VMess-HTTP2/config_client.json b/VMess-HTTP2/config_client.json index e4e7ed5..3b060c1 100644 --- a/VMess-HTTP2/config_client.json +++ b/VMess-HTTP2/config_client.json @@ -1,111 +1,73 @@ { - "outbound": { - "streamSettings": { - "network": "h2", - "kcpSettings": null, - "httpSettings": { - "host": [ - "example.domain" - ], - "path": "/test" - }, - "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": "" + "loglevel": "warning" }, - "outboundDetour": [ + "routing": { + "domainStratedy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "tag": "direct" + } + ] + }, + "inbounds": [ { - "tag": "direct", - "protocol": "freedom", + "listen": "127.0.0.1", + "port": "1080", + "protocol": "socks", "settings": { - "response": null + "auth": "noauth", + "udp": "true", + "ip": "127.0.0.1" } }, { - "tag": "blockout", - "protocol": "blackhole", - "settings": { - "response": { - "type": "http" - } - } + "listen": "127.0.0.1", + "port": "1081", + "protocol": "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" + "outbounds": [ + { + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "", + "port": 1234, + "user": [ + { + "id": "", + "alterId": 4, + "security": "none" + } + ] + } + ] + }, + "streamSettings": { + "network": "http", + "httpSettings": { + "host": [ + "example.domain" ], - "domain": null, - "type": "field", - "port": null, - "outboundTag": "direct" + "path": "" + }, + "security": "tls", + "tlsSettings": { + "serverName": "example.domain", + "allowInsecure": false } - ], - "domainStrategy": "IPIfNonMatch" + }, + "tag": "proxy" }, - "strategy": "rules" - }, - "dns": { - "servers": [ - "8.8.8.8", - "8.8.4.4", - "localhost" - ] - } -} \ No newline at end of file + { + "protocol": "freedom", + "tag": "direct" + } + ] +} From eca65ac65d86ec395e08b66185a3153387f24d92 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:40:36 +0800 Subject: [PATCH 12/23] Update config_server.json --- VMess-HTTP2/config_server.json | 134 +++++++++++++-------------------- 1 file changed, 52 insertions(+), 82 deletions(-) diff --git a/VMess-HTTP2/config_server.json b/VMess-HTTP2/config_server.json index bb8ecf1..a6dafd7 100644 --- a/VMess-HTTP2/config_server.json +++ b/VMess-HTTP2/config_server.json @@ -1,91 +1,61 @@ { - "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" + "loglevel": "warning" }, - "inboundDetour": null, - "inbound": { - "streamSettings": { - "network": "h2", - "kcpSettings": null, - "httpSettings": { - "host": [ - "example.domain" + "routing": { + "domainStrategy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" ], - "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 - } + "outboundTag": "block" + } + ] }, - "outboundDetour": [ + "inbounds": [ { - "tag": "blocked", - "protocol": "blackhole", - "settings": null + "listen": "0.0.0.0", + "port": 1234, + "protocol": "vmess", + "settings": { + "clients": [ + { + "id": "", + "alterId": 4 + } + ], + "disableInsecureEncryption": false + }, + "streamSettings": { + "network": "http", + "httpSettings": { + "host": [ + "example.domain" + ], + "path": "" + }, + "security": "tls", + "tlsSettings": { + "certificates": [ + { + "certificateFile": "/path/to/certificate.crt", + "keyFile": "/path/to/key.key" + } + ] + } + } } ], - "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 + "outbounds": [ + { + "protocol": "freedom", + "tag": "direct" + }, + { + "protocol": "blackhole", + "tag": "block" } - }, - "dns": null -} \ No newline at end of file + ] +} From 5acbd93f5a98156cd73f315d4457e566be630f79 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:41:25 +0800 Subject: [PATCH 13/23] Update config_client.json --- VMess-HTTP/config_client.json | 227 +++++++++++++--------------------- 1 file changed, 86 insertions(+), 141 deletions(-) diff --git a/VMess-HTTP/config_client.json b/VMess-HTTP/config_client.json index 27f3791..e46a388 100644 --- a/VMess-HTTP/config_client.json +++ b/VMess-HTTP/config_client.json @@ -1,149 +1,94 @@ { - "outbound": { - "streamSettings": { - "network": "tcp", - "kcpSettings": null, - "wsSettings": null, - "tcpSettings": { - "header": { - "type": "http", - "request": { - "path": [ - "/" - ], - "version": "1.1", - "method": "GET", - "headers": { - "Host": "cloudflare.com", - "User-Agent": [ - "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36", - "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache", - "Accept-Encoding": [ - "gzip, deflate" - ] - } - }, - "response": { - "status": "200", - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Connection": [ - "keep-alive" - ], - "Content-Type": [ - "application/octet-stream", - "video/mpeg" - ], - "Pragma": "no-cache" - }, - "reason": "OK", - "version": "1.1" - } - } - }, - "tlsSettings": {}, - "security": "" + "log": { + "loglevel": "warning" }, - "tag": "agentout", - "protocol": "vmess", - "mux": { - "enabled": true - }, - "settings": { - "vnext": [ - { - "users": [ + "routing": { + "domainStratedy": "AsIs", + "rules": [ { - "alterId": 100, - "security": "aes-128-gcm", - "id": "e2b39869-7e9e-411b-a561-00904419bed9" + "type": "field", + "ip": [ + "geoip:private" + ], + "tag": "direct" } - ], - "port": 1234, - "address": "Your_IP_Address" - } - ] - } - }, - "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": [ + "inbounds": [ { - "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" + "listen": "127.0.0.1", + "port": "1080", + "protocol": "socks", + "settings": { + "auth": "noauth", + "udp": "true", + "ip": "127.0.0.1" + } + }, + { + "listen": "127.0.0.1", + "port": "1081", + "protocol": "http" + } + ], + "outbounds": [ + { + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "", + "port": 1234, + "user": [ + { + "id": "", + "alterId": 4, + "security": "auto", + "testEnabled": "VMessAEAD" + } + ] + } + ] + }, + "streamSettings": { + "network": "tcp", + "tcpSettings": { + "header": { + "type": "http", + "request": { + "version": "1.1", + "method": "GET", + "path": [ + "/" + ], + "headers": { + "Host": [ + "www.bing.com", + "www.cloudflare.com", + "www.amazon.com" + ], + "User-Agent": [ + "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 Edg/84.0.522.49", + "Mozilla/5.0 (iPhone; CPU iPhone OS 13_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/84.0.4147.71 Mobile/15E148 Safari/604.1" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Connection": [ + "keep-alive" + ], + "Pragma": "no-cache" + } + } + } + }, + "security": "none" + }, + "tag": "proxy" + }, + { + "protocol": "freedom", + "tag": "direct" } - ], - "domainStrategy": "IPIfNonMatch" - }, - "strategy": "rules" - }, - "dns": { - "servers": [ - "8.8.8.8", - "8.8.4.4", - "localhost" ] - } -} \ No newline at end of file +} From e97438a9d075cf6e6e1836c5025fd22637ac14f3 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:42:24 +0800 Subject: [PATCH 14/23] Update config_server.json --- VMess-HTTP/config_server.json | 181 +++++++++++++--------------------- 1 file changed, 66 insertions(+), 115 deletions(-) diff --git a/VMess-HTTP/config_server.json b/VMess-HTTP/config_server.json index dfa20fd..b51c56f 100644 --- a/VMess-HTTP/config_server.json +++ b/VMess-HTTP/config_server.json @@ -1,122 +1,73 @@ { - "outbound": { - "streamSettings": null, - "tag": null, - "protocol": "freedom", - "mux": null, - "settings": null - }, - "log": { - "access": "/var/log/v2ray/access.log", - "loglevel": "info", - "error": "/var/log/v2ray/error.log" - }, - "outboundDetour": [ - { - "tag": "blocked", - "protocol": "blackhole", - "settings": null - } - ], - "inbound": { - "streamSettings": { - "network": "tcp", - "kcpSettings": null, - "wsSettings": null, - "tcpSettings": { - "header": { - "request": { - "path": [ - "/" - ], - "version": "1.1", - "method": "GET", - "headers": { - "Host": "cloudflare.com", - "Connection": [ - "keep-alive" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Pragma": "no-cache", - "User-Agent": [ - "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36", - "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" - ] + "log": { + "loglevel": "warning" + }, + "routing": { + "domainStrategy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "outboundTag": "block" } - }, - "type": "http", - "response": { - "status": "200", - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Connection": [ - "keep-alive" - ], - "Content-Type": [ - "application/octet-stream", - "video/mpeg" - ], - "Pragma": "no-cache" + ] + }, + "inbounds": [ + { + "listen": "0.0.0.0", + "port": 1234, + "protocol": "vmess", + "settings": { + "clients": [ + { + "id": "", + "alterId": 4 + } + ], + "disableInsecureEncryption": true }, - "reason": "OK", - "version": "1.1" - } + "streamSettings": { + "network": "tcp", + "tcpSettings": { + "header": { + "type": "http", + "response": { + "version": "1.1", + "status": "200", + "reason": "OK", + "headers": { + "Content-Type": [ + "application/octet-stream", + "video/mpeg", + "application/x-msdownload", + "text/html", + "application/x-shockwave-flash" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Connection": [ + "keep-alive" + ], + "Pragma": "no-cache" + } + } + } + }, + "security": "none" + } } - }, - "tlsSettings": {}, - "security": "" - }, - "settings": { - "ip": null, - "udp": true, - "clients": [ + ], + "outbounds": [ { - "alterId": 100, - "security": "aes-128-gcm", - "id": "e2b39869-7e9e-411b-a561-00904419bed9" - } - ], - "auth": null - }, - "protocol": "vmess", - "port": 1234, - "listen": null - }, - "inboundDetour": null, - "routing": { - "settings": { - "rules": [ + "protocol": "freedom", + "tag": "direct" + }, { - "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" + "protocol": "blackhole", + "tag": "block" } - ], - "domainStrategy": null - }, - "strategy": "rules" - }, - "dns": null -} \ No newline at end of file + ] +} From f586460bd98c76a3e1a1185d4f9299a489c3914b Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:43:29 +0800 Subject: [PATCH 15/23] Update config_client.json --- Socks5-TLS/config_client.json | 87 +++++++++++++++++++++++------------ 1 file changed, 58 insertions(+), 29 deletions(-) diff --git a/Socks5-TLS/config_client.json b/Socks5-TLS/config_client.json index d0d84e6..e97a43c 100644 --- a/Socks5-TLS/config_client.json +++ b/Socks5-TLS/config_client.json @@ -2,36 +2,65 @@ "log": { "loglevel": "warning" }, - "inbound": { - "port": 6789, - "listen": "127.0.0.1", - "protocol": "socks", - "settings": { - "auth": "noauth", - "udp": false, - "ip": "127.0.0.1" - } + "routing": { + "domainStratedy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "tag": "direct" + } + ] }, - "outbound": { - "protocol": "socks", - "settings": { - "servers": [ - { - "address": "you server", - "port": 443, - "users": [ - { - "user": "hello", - "pass": "3.1415", - "level": 0 - } - ] - } - ] + "inbounds": [ + { + "listen": "127.0.0.1", + "port": "1080", + "protocol": "socks", + "settings": { + "auth": "noauth", + "udp": "true", + "ip": "127.0.0.1" + } }, - "streamSettings": { - "network": "tcp", - "security": "tls" + { + "listen": "127.0.0.1", + "port": "1081", + "protocol": "http" } - } + ], + "outbounds": [ + { + "protocol": "socks", + "settings": { + "server": [ + { + "address": "", + "port": 1234, + "users": [ + { + "user": "", + "pass": "" + } + ] + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "serverName": "example.domain", + "allowInsecure": false + } + }, + "tag": "proxy" + }, + { + "protocol": "freedom", + "tag": "direct" + } + ] } From 3180f27c665243641ad7528057572242286d46b2 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:44:14 +0800 Subject: [PATCH 16/23] Update config_server.json --- Socks5-TLS/config_server.json | 110 ++++++++++++++-------------------- 1 file changed, 46 insertions(+), 64 deletions(-) diff --git a/Socks5-TLS/config_server.json b/Socks5-TLS/config_server.json index 4dc7a0e..b5a9227 100644 --- a/Socks5-TLS/config_server.json +++ b/Socks5-TLS/config_server.json @@ -1,75 +1,57 @@ { "log": { - "access": "/var/log/v2ray/access.log", - "error": "/var/log/v2ray/error.log", "loglevel": "warning" }, - "inbound": { - "port": 443, - "protocol": "socks", - "settings": { - "auth": "password", - "accounts": [ - { - "user": "hello", - "pass": "3.1415" - } - ], - "udp": false, - "ip": "127.0.0.1", - "timeout": 0, - "userLevel": 0 - }, - "streamSettings": { - "network": "tcp", - "security": "tls", - "tlsSettings": { - "certificates": [ + "routing": { + "domainStrategy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "outboundTag": "block" + } + ] + }, + "inbounds": [ + { + "listen": "0.0.0.0", + "port": 1234, + "protocol": "socks", + "settings": { + "auth": "password", + "accounts": [ { - "certificateFile": "/etc/v2ray/v2ray.crt", - "keyFile": "/etc/v2ray/v2ray.key" + "user": "", + "pass": "" } - ] + ], + "udp": true, + "ip": "127.0.0.1" + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "certificates": [ + { + "certificateFile": "/path/to/certificate.crt", + "keyFile": "/path/to/key.key" + } + ] + } } } - }, - "outbound": { - "protocol": "freedom", - "settings": {} - }, - "outboundDetour": [ + ], + "outbounds": [ + { + "protocol": "freedom", + "tag": "direct" + }, { "protocol": "blackhole", - "settings": {}, - "tag": "blocked" + "tag": "block" } - ], - "routing": { - "strategy": "rules", - "settings": { - "rules": [ - { - "type": "field", - "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" - ], - "outboundTag": "blocked" - } - ] - } - } -} \ No newline at end of file + ] +} From 353afa0f6aae93e449ffad31f7611a7338878bba Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 22:53:26 +0800 Subject: [PATCH 17/23] Update config_client.json --- VMess-TCP/config_client.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VMess-TCP/config_client.json b/VMess-TCP/config_client.json index 8650123..9eb1c41 100644 --- a/VMess-TCP/config_client.json +++ b/VMess-TCP/config_client.json @@ -21,7 +21,7 @@ "protocol": "socks", "settings": { "auth": "noauth", - "udp": "true", + "udp": true, "ip": "127.0.0.1" } }, @@ -44,7 +44,7 @@ "id": "", "alterId": 4, "security": "auto", - "testEnabled": "VMessAEAD" + "testsEnabled": "VMessAEAD" } ] } From 00145a727ff2abb8751fcb8b028fbee9c0c95c8a Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 23:02:34 +0800 Subject: [PATCH 18/23] Update config_client.json --- VMess-TCP-TLS/config_client.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VMess-TCP-TLS/config_client.json b/VMess-TCP-TLS/config_client.json index 7c6b734..7189e32 100644 --- a/VMess-TCP-TLS/config_client.json +++ b/VMess-TCP-TLS/config_client.json @@ -21,7 +21,7 @@ "protocol": "socks", "settings": { "auth": "noauth", - "udp": "true", + "udp": true, "ip": "127.0.0.1" } }, From 82a16ad9b2cd4f149188ecb80beb42dc589ac8fe Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 23:03:36 +0800 Subject: [PATCH 19/23] Update config_client.json --- VMess-Websocket/config_client.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VMess-Websocket/config_client.json b/VMess-Websocket/config_client.json index e35cf3b..33bf0f1 100644 --- a/VMess-Websocket/config_client.json +++ b/VMess-Websocket/config_client.json @@ -21,7 +21,7 @@ "protocol": "socks", "settings": { "auth": "noauth", - "udp": "true", + "udp": true, "ip": "127.0.0.1" } }, @@ -44,7 +44,7 @@ "id": "", "alterId": 4, "security": "auto", - "testEnabled": "VMessAEAD" + "testsEnabled": "VMessAEAD" } ] } From 1351ab332b22db7933ac507a4d63f7618123bc22 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 23:04:30 +0800 Subject: [PATCH 20/23] Update config_client.json --- VMess-Websocket-TLS/config_client.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VMess-Websocket-TLS/config_client.json b/VMess-Websocket-TLS/config_client.json index d6eb43e..a30799d 100644 --- a/VMess-Websocket-TLS/config_client.json +++ b/VMess-Websocket-TLS/config_client.json @@ -21,7 +21,7 @@ "protocol": "socks", "settings": { "auth": "noauth", - "udp": "true", + "udp": true, "ip": "127.0.0.1" } }, From a33ca0fdd8931966bbda89dd29fffc4b3f09c169 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 23:05:34 +0800 Subject: [PATCH 21/23] Update config_client.json --- VMess-HTTP2/config_client.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VMess-HTTP2/config_client.json b/VMess-HTTP2/config_client.json index 3b060c1..4938251 100644 --- a/VMess-HTTP2/config_client.json +++ b/VMess-HTTP2/config_client.json @@ -21,7 +21,7 @@ "protocol": "socks", "settings": { "auth": "noauth", - "udp": "true", + "udp": true, "ip": "127.0.0.1" } }, From b0d41477b22cf313001493563bcdb9bd9fe6c528 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 23:06:33 +0800 Subject: [PATCH 22/23] Update config_client.json --- VMess-HTTP/config_client.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VMess-HTTP/config_client.json b/VMess-HTTP/config_client.json index e46a388..48637a2 100644 --- a/VMess-HTTP/config_client.json +++ b/VMess-HTTP/config_client.json @@ -21,7 +21,7 @@ "protocol": "socks", "settings": { "auth": "noauth", - "udp": "true", + "udp": true, "ip": "127.0.0.1" } }, @@ -44,7 +44,7 @@ "id": "", "alterId": 4, "security": "auto", - "testEnabled": "VMessAEAD" + "testsEnabled": "VMessAEAD" } ] } From 425ea8ce5d41b12eddf342b1043366bbf86e72bc Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 23:07:26 +0800 Subject: [PATCH 23/23] Update config_client.json --- Socks5-TLS/config_client.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Socks5-TLS/config_client.json b/Socks5-TLS/config_client.json index e97a43c..058ed07 100644 --- a/Socks5-TLS/config_client.json +++ b/Socks5-TLS/config_client.json @@ -21,7 +21,7 @@ "protocol": "socks", "settings": { "auth": "noauth", - "udp": "true", + "udp": true, "ip": "127.0.0.1" } },