Răsfoiți Sursa

refactor: clean up configuration files by removing deprecated "type": "field" in routing rules

kastov 1 săptămână în urmă
părinte
comite
070b65ee55
50 a modificat fișierele cu 245 adăugiri și 280 ștergeri
  1. 23 26
      All-in-One-fallbacks-Nginx/server.jsonc
  2. 0 2
      ReverseProxy/Shadowsocks-2022/bridge.jsonc
  3. 0 1
      ReverseProxy/Shadowsocks-2022/client.jsonc
  4. 0 2
      ReverseProxy/Shadowsocks-2022/portal.jsonc
  5. 0 2
      ReverseProxy/VLESS-TCP-XTLS-WS/bridge.jsonc
  6. 0 1
      ReverseProxy/VLESS-TCP-XTLS-WS/client_tcp.jsonc
  7. 0 1
      ReverseProxy/VLESS-TCP-XTLS-WS/client_ws.jsonc
  8. 0 3
      ReverseProxy/VLESS-TCP-XTLS-WS/portal.jsonc
  9. 0 2
      ReverseProxy/Vmess-TCP/bridge.jsonc
  10. 0 1
      ReverseProxy/Vmess-TCP/client.jsonc
  11. 0 2
      ReverseProxy/Vmess-TCP/portal.jsonc
  12. 0 1
      Shadowsocks-TCP/client.jsonc
  13. 2 3
      Shadowsocks-TCP/server.jsonc
  14. 1 2
      Socks5-TLS/config_client.jsonc
  15. 1 2
      Socks5-TLS/config_server.jsonc
  16. 1 2
      Trojan-gRPC-Caddy2/Nginx/client.jsonc
  17. 1 2
      Trojan-gRPC-Caddy2/Nginx/server.jsonc
  18. 1 2
      VLESS-GRPC/client.jsonc
  19. 1 2
      VLESS-GRPC/server.jsonc
  20. 37 38
      VLESS-HTTP-Caddy/VLESS-H2C-Caddy/client.jsonc
  21. 1 2
      VLESS-HTTP-Caddy/VLESS-H2C-Caddy/server.jsonc
  22. 42 41
      VLESS-HTTP-Caddy/VLESS-H3-Caddy/client.jsonc
  23. 8 7
      VLESS-HTTP-Caddy/VLESS-H3-Caddy/server.jsonc
  24. 42 41
      VLESS-HTTP-Caddy/VLESS-H3-To-H2C-Caddy/client.jsonc
  25. 1 2
      VLESS-HTTP-Caddy/VLESS-H3-To-H2C-Caddy/server.jsonc
  26. 0 1
      VLESS-TCP-TLS-proxy protocol/config_client.jsonc
  27. 1 2
      VLESS-TCP-TLS/config_client.jsonc
  28. 1 3
      VLESS-TCP-XTLS-Vision/config_client.jsonc
  29. 1 2
      VLESS-TCP-XTLS-Vision/config_server.jsonc
  30. 1 2
      VLESS-TCP/config_client.jsonc
  31. 4 3
      VLESS-WSS-Nginx/client.jsonc
  32. 9 10
      VLESS-WSS-Nginx/server.jsonc
  33. 1 4
      VLESS-XHTTP-Reality/minimal-steal_others/client-bypass-cn.jsonc
  34. 15 18
      VLESS-XHTTP-Reality/minimal-steal_others/server-block-cn.jsonc
  35. 3 4
      VLESS-XHTTP3-Nginx/client.jsonc
  36. 1 2
      VLESS-XHTTP3-Nginx/server.jsonc
  37. 19 9
      VLESS-gRPC-REALITY/config_client.jsonc
  38. 16 7
      VLESS-gRPC-REALITY/config_server.jsonc
  39. 1 2
      VMess-HTTP/config_client.jsonc
  40. 1 2
      VMess-HTTP/config_server.jsonc
  41. 1 2
      VMess-HTTP2/config_client.jsonc
  42. 1 2
      VMess-HTTP2/config_server.jsonc
  43. 1 2
      VMess-TCP-TLS/config_client.jsonc
  44. 1 2
      VMess-TCP-TLS/config_server.jsonc
  45. 0 1
      VMess-TCP/config_client.jsonc
  46. 1 2
      VMess-TCP/config_server.jsonc
  47. 1 2
      VMess-Websocket-TLS/config_client.jsonc
  48. 1 2
      VMess-Websocket-TLS/config_server.jsonc
  49. 1 2
      VMess-Websocket/config_client.jsonc
  50. 1 2
      VMess-Websocket/config_server.jsonc

+ 23 - 26
All-in-One-fallbacks-Nginx/server.jsonc

@@ -42,7 +42,8 @@
       "protocol": "vless",
       "settings": {
         "clients": [
-          {  "email": "general@vless-tcp-xtls", //Change to your own email
+          {
+            "email": "general@vless-tcp-xtls", //Change to your own email
             "id": "90e4903e-66a4-45f7-abda-fd5d5ed7f797", //Change to your own email
             "flow": "xtls-rprx-vision",
             "level": 0
@@ -175,10 +176,10 @@
       "protocol": "vless",
       "settings": {
         "clients": [
-          { "email":"general@vless-ws", //Change to your own email
+          {
+            "email": "general@vless-ws", //Change to your own email
             "id": "90e4903e-66a4-45f7-abda-fd5d5ed7f797", //Change to your own UUID
             "level": 0
-
           }
         ],
         "decryption": "none"
@@ -205,7 +206,7 @@
       "settings": {
         "clients": [
           {
-            "email": "general@vmess-ws", 
+            "email": "general@vmess-ws",
             "id": "90e4903e-66a4-45f7-abda-fd5d5ed7f797",
             "level": 0
           }
@@ -233,7 +234,7 @@
       "settings": {
         "clients": [
           {
-            "email":"general@trojan-ws",
+            "email": "general@trojan-ws",
             "password": "desdemona99",
             "level": 0
           }
@@ -261,7 +262,7 @@
       "port": 4001,
       "protocol": "shadowsocks",
       "settings": {
-        "email":"general@shadowsocks-ws",
+        "email": "general@shadowsocks-ws",
         "method": "chacha20-ietf-poly1305",
         "password": "desdemona99",
         "level": 0
@@ -290,7 +291,7 @@
       "settings": {
         "clients": [
           {
-            "email":"general@trojan-tcp",
+            "email": "general@trojan-tcp",
             "password": "desdemona99",
             "level": 0
           }
@@ -324,9 +325,9 @@
       "settings": {
         "clients": [
           {
-            "email":"general@vless-tcp",
+            "email": "general@vless-tcp",
             "id": "90e4903e-66a4-45f7-abda-fd5d5ed7f797",
-            "level": 0 
+            "level": 0
           }
         ],
         "decryption": "none"
@@ -360,7 +361,7 @@
       "settings": {
         "clients": [
           {
-            "email":"general@vmess-tcp",
+            "email": "general@vmess-tcp",
             "id": "90e4903e-66a4-45f7-abda-fd5d5ed7f797",
             "level": 0
           }
@@ -401,7 +402,7 @@
         "method": "chacha20-ietf-poly1305",
         "password": "desdemona99",
         "email": "general@shadowsocks-tcp",
-        "level":0
+        "level": 0
       },
       "streamSettings": {
         "network": "tcp",
@@ -435,10 +436,10 @@
       "protocol": "trojan",
       "settings": {
         "clients": [
-          {            
+          {
             "email": "general@trojan-grpc",
             "password": "desdemona99",
-            "level":0
+            "level": 0
           }
         ]
       },
@@ -458,7 +459,7 @@
       "settings": {
         "clients": [
           {
-            "email":"general@vless-grpc",
+            "email": "general@vless-grpc",
             "id": "90e4903e-66a4-45f7-abda-fd5d5ed7f797",
             "level": 0
           }
@@ -481,7 +482,7 @@
       "settings": {
         "clients": [
           {
-            "email":"general@vmess-grpc",
+            "email": "general@vmess-grpc",
             "id": "90e4903e-66a4-45f7-abda-fd5d5ed7f797", //Change to your own UUID
             "level": 0
           }
@@ -527,8 +528,8 @@
       "protocol": "trojan",
       "settings": {
         "clients": [
-          {             
-            "email":"general@trojan-h2",
+          {
+            "email": "general@trojan-h2",
             "password": "desdemona99",
             "level": 0
           }
@@ -548,7 +549,7 @@
       "settings": {
         "clients": [
           {
-            "email":"general@vless-h2",  //Change to your own email
+            "email": "general@vless-h2", //Change to your own email
             "id": "90e4903e-66a4-45f7-abda-fd5d5ed7f797", //Change to your own UUID
             "level": 0
           }
@@ -575,8 +576,8 @@
       "protocol": "vmess",
       "settings": {
         "clients": [
-          { 
-            "email":"general@vmess-h2",
+          {
+            "email": "general@vmess-h2",
             "id": "90e4903e-66a4-45f7-abda-fd5d5ed7f797",
             "level": 0
           }
@@ -704,26 +705,22 @@
         "inboundTag": [
           "api"
         ],
-        "outboundTag": "api",
-        "type": "field"
+        "outboundTag": "api"
       },
       // {
       //   // DNS Cache rule
-      //   "type": "field",
       //   "port": 53,
       //   "network": "tcp,udp",
       //   "outboundTag": "DNS-Internal"
       // },
       {
-        "type": "field",
         "outboundTag": "blocked",
         "ip": [
           "geoip:private"
         ]
       },
       {
-        "type": "field", // Block BitTorrent protocol
-        "outboundTag": "blocked",
+        "outboundTag": "blocked", // Block BitTorrent protocol
         "protocol": [
           "bittorrent"
         ]

+ 0 - 2
ReverseProxy/Shadowsocks-2022/bridge.jsonc

@@ -37,7 +37,6 @@
   "routing": {
     "rules": [
       {
-        "type": "field",
         "inboundTag": [
           "bridge"
         ],
@@ -47,7 +46,6 @@
         "outboundTag": "interconn"
       },
       {
-        "type": "field",
         "inboundTag": [
           "bridge"
         ],

+ 0 - 1
ReverseProxy/Shadowsocks-2022/client.jsonc

@@ -6,7 +6,6 @@
     "domainStrategy": "IPIfNonMatch",
     "rules": [
       {
-        "type": "field",
         "port": "0-65535",
         "outboundTag": "proxy"
       }

+ 0 - 2
ReverseProxy/Shadowsocks-2022/portal.jsonc

@@ -35,14 +35,12 @@
   "routing": {
     "rules": [
       {
-        "type": "field",
         "inboundTag": [
           "external"
         ],
         "outboundTag": "portal"
       },
       {
-        "type": "field",
         "inboundTag": [
           "interconn"
         ],

+ 0 - 2
ReverseProxy/VLESS-TCP-XTLS-WS/bridge.jsonc

@@ -49,7 +49,6 @@
   "routing": {
     "rules": [
       {
-        "type": "field",
         "inboundTag": [
           "bridge"
         ],
@@ -59,7 +58,6 @@
         "outboundTag": "interconn"
       },
       {
-        "type": "field",
         "inboundTag": [
           "bridge"
         ],

+ 0 - 1
ReverseProxy/VLESS-TCP-XTLS-WS/client_tcp.jsonc

@@ -6,7 +6,6 @@
     "domainStrategy": "IPIfNonMatch",
     "rules": [
       {
-        "type": "field",
         "port": "0-65535",
         "outboundTag": "proxy"
       }

+ 0 - 1
ReverseProxy/VLESS-TCP-XTLS-WS/client_ws.jsonc

@@ -6,7 +6,6 @@
     "domainStrategy": "IPIfNonMatch",
     "rules": [
       {
-        "type": "field",
         "port": "0-65535",
         "outboundTag": "proxy"
       }

+ 0 - 3
ReverseProxy/VLESS-TCP-XTLS-WS/portal.jsonc

@@ -115,7 +115,6 @@
   "routing": {
     "rules": [
       {
-        "type": "field",
         "inboundTag": [
           "external",
           "externalws"
@@ -128,7 +127,6 @@
         "outboundTag": "portal"
       },
       {
-        "type": "field",
         "inboundTag": [
           "interconn"
         ],
@@ -137,7 +135,6 @@
       },
       // 以下路由只会在第一条路由没被匹配到的情况下使用,因此无需额外处理
       {
-        "type": "field",
         "port": "0-65535",
         "outboundTag": "direct"
       }

+ 0 - 2
ReverseProxy/Vmess-TCP/bridge.jsonc

@@ -40,7 +40,6 @@
   "routing": {
     "rules": [
       {
-        "type": "field",
         "inboundTag": [
           "bridge"
         ],
@@ -50,7 +49,6 @@
         "outboundTag": "interconn"
       },
       {
-        "type": "field",
         "inboundTag": [
           "bridge"
         ],

+ 0 - 1
ReverseProxy/Vmess-TCP/client.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "IPIfNonMatch",
         "rules": [
             {
-                "type": "field",
                 "port": "0-65535",
                 "outboundTag": "proxy"
             }

+ 0 - 2
ReverseProxy/Vmess-TCP/portal.jsonc

@@ -45,14 +45,12 @@
   "routing": {
     "rules": [
       {
-        "type": "field",
         "inboundTag": [
           "external"
         ],
         "outboundTag": "portal"
       },
       {
-        "type": "field",
         "inboundTag": [
           "interconn"
         ],

+ 0 - 1
Shadowsocks-TCP/client.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],

+ 2 - 3
Shadowsocks-TCP/server.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -22,7 +21,7 @@
             "settings": {
                 "method": "chacha20-ietf-poly1305",
                 "password": "{{ password }}"
-        },
+            },
             "streamSettings": {
                 "network": "tcp"
             }
@@ -38,4 +37,4 @@
             "tag": "block"
         }
     ]
-}
+}

+ 1 - 2
Socks5-TLS/config_client.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -63,4 +62,4 @@
             "tag": "direct"
         }
     ]
-}
+}

+ 1 - 2
Socks5-TLS/config_server.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -54,4 +53,4 @@
             "tag": "block"
         }
     ]
-}
+}

+ 1 - 2
Trojan-gRPC-Caddy2/Nginx/client.jsonc

@@ -53,7 +53,6 @@
     "domainStrategy": "IPOnDemand",
     "rules": [
       {
-        "type": "field",
         "ip": [
           "geoip:private"
         ],
@@ -61,4 +60,4 @@
       }
     ]
   }
-}
+}

+ 1 - 2
Trojan-gRPC-Caddy2/Nginx/server.jsonc

@@ -37,7 +37,6 @@
     "domainStrategy": "AsIs",
     "rules": [
       {
-        "type": "field",
         "ip": [
           "geoip:private"
         ],
@@ -45,4 +44,4 @@
       }
     ]
   }
-}
+}

+ 1 - 2
VLESS-GRPC/client.jsonc

@@ -59,7 +59,6 @@
     "domainStrategy": "IPOnDemand",
     "rules": [
       {
-        "type": "field",
         "ip": [
           "geoip:private"
         ],
@@ -67,4 +66,4 @@
       }
     ]
   }
-}
+}

+ 1 - 2
VLESS-GRPC/server.jsonc

@@ -38,7 +38,6 @@
     "domainStrategy": "AsIs",
     "rules": [
       {
-        "type": "field",
         "ip": [
           "geoip:private"
         ],
@@ -46,4 +45,4 @@
       }
     ]
   }
-}
+}

+ 37 - 38
VLESS-HTTP-Caddy/VLESS-H2C-Caddy/client.jsonc

@@ -1,69 +1,68 @@
 {
-  "log":{},
-  "inbounds":[
+  "log": {},
+  "inbounds": [
     {
-      "port":"1080",
-      "protocol":"socks",
-      "settings":{
-        "auth":"noauth",
-        "udp":true
+      "port": "1080",
+      "protocol": "socks",
+      "settings": {
+        "auth": "noauth",
+        "udp": true
       }
     },
     {
-      "port":"1081",
-      "protocol":"http",
-      "settings":{}
+      "port": "1081",
+      "protocol": "http",
+      "settings": {}
     }
   ],
-  "outbounds":[
+  "outbounds": [
     {
-      "protocol":"vless",
-      "settings":{
-        "vnext":[
+      "protocol": "vless",
+      "settings": {
+        "vnext": [
           {
-            "address":"xx.com",
-            "port":443,
-            "users":[
+            "address": "xx.com",
+            "port": 443,
+            "users": [
               {
-                "id":"",
-                "encryption":"none"
+                "id": "",
+                "encryption": "none"
               }
             ]
           }
         ]
       },
-      "streamSettings":{
-        "network":"h2",
-        "security":"tls",
-        "httpSettings":{
-          "host":[
+      "streamSettings": {
+        "network": "h2",
+        "security": "tls",
+        "httpSettings": {
+          "host": [
             "xx.com"
           ],
-          "path":"/path"
+          "path": "/path"
         }
       }
     },
     {
-      "tag":"direct",
-      "protocol":"freedom",
-      "settings":{}
+      "tag": "direct",
+      "protocol": "freedom",
+      "settings": {}
     },
     {
-      "tag":"blocked",
-      "protocol":"blackhole",
-      "settings":{}
+      "tag": "blocked",
+      "protocol": "blackhole",
+      "settings": {}
     }
   ],
-  "routing":{
-    "domainStrategy":"IPOnDemand",
-    "rules":[
+  "routing": {
+    "domainStrategy": "IPOnDemand",
+    "rules": [
       {
-        "type":"field",
-        "ip":[
+        "ip": [
           "geoip:private"
         ],
-        "outboundTag":"direct"
+        "outboundTag": "direct"
       }
     ]
   }
-}
+}

+ 1 - 2
VLESS-HTTP-Caddy/VLESS-H2C-Caddy/server.jsonc

@@ -44,7 +44,6 @@
     "domainStrategy": "AsIs",
     "rules": [
       {
-        "type": "field",
         "ip": [
           "geoip:private"
         ],
@@ -52,4 +51,4 @@
       }
     ]
   }
-}
+}

+ 42 - 41
VLESS-HTTP-Caddy/VLESS-H3-Caddy/client.jsonc

@@ -1,73 +1,74 @@
 {
-  "log":{},
-  "inbounds":[
+  "log": {},
+  "inbounds": [
     {
-      "port":"1080",
-      "protocol":"socks",
-      "settings":{
-        "auth":"noauth",
-        "udp":true
+      "port": "1080",
+      "protocol": "socks",
+      "settings": {
+        "auth": "noauth",
+        "udp": true
       }
     },
     {
-      "port":"1081",
-      "protocol":"http",
-      "settings":{}
+      "port": "1081",
+      "protocol": "http",
+      "settings": {}
     }
   ],
-  "outbounds":[
+  "outbounds": [
     {
-      "protocol":"vless",
-      "settings":{
-        "vnext":[
+      "protocol": "vless",
+      "settings": {
+        "vnext": [
           {
-            "address":"xx.com",
-            "port":443,
-            "users":[
+            "address": "xx.com",
+            "port": 443,
+            "users": [
               {
-                "id":"",
-                "encryption":"none"
+                "id": "",
+                "encryption": "none"
               }
             ]
           }
         ]
       },
-      "streamSettings":{
-        "network":"http",
-        "security":"tls",
-        "httpSettings":{
-          "host":[
+      "streamSettings": {
+        "network": "http",
+        "security": "tls",
+        "httpSettings": {
+          "host": [
             "xx.com"
           ],
-          "path":"/path"
+          "path": "/path"
         }
       },
-      "tlsSettings":{
-        "alpn":["h3"],
-        "serverName":"xx.com"
+      "tlsSettings": {
+        "alpn": [
+          "h3"
+        ],
+        "serverName": "xx.com"
       }
     },
     {
-      "tag":"direct",
-      "protocol":"freedom",
-      "settings":{}
+      "tag": "direct",
+      "protocol": "freedom",
+      "settings": {}
     },
     {
-      "tag":"blocked",
-      "protocol":"blackhole",
-      "settings":{}
+      "tag": "blocked",
+      "protocol": "blackhole",
+      "settings": {}
     }
   ],
-  "routing":{
-    "domainStrategy":"IPOnDemand",
-    "rules":[
+  "routing": {
+    "domainStrategy": "IPOnDemand",
+    "rules": [
       {
-        "type":"field",
-        "ip":[
+        "ip": [
           "geoip:private"
         ],
-        "outboundTag":"direct"
+        "outboundTag": "direct"
       }
     ]
   }
-}
+}

+ 8 - 7
VLESS-HTTP-Caddy/VLESS-H3-Caddy/server.jsonc

@@ -28,12 +28,14 @@
         "tlsSettings": {
           // "rejectUnknownSni": true,
           "minVersion": "1.3",
-          "alpn": ["h3"],
+          "alpn": [
+            "h3"
+          ],
           "certificates": [
-              {
-                  "certificateFile": "CA.crt", // 换成你的证书,绝对路径
-                  "keyFile": "priv.key" // 换成你的私钥,绝对路径
-              }
+            {
+              "certificateFile": "CA.crt", // 换成你的证书,绝对路径
+              "keyFile": "priv.key" // 换成你的私钥,绝对路径
+            }
           ]
         }
       }
@@ -55,7 +57,6 @@
     "domainStrategy": "AsIs",
     "rules": [
       {
-        "type": "field",
         "ip": [
           "geoip:private"
         ],
@@ -63,4 +64,4 @@
       }
     ]
   }
-}
+}

+ 42 - 41
VLESS-HTTP-Caddy/VLESS-H3-To-H2C-Caddy/client.jsonc

@@ -1,73 +1,74 @@
 {
-  "log":{},
-  "inbounds":[
+  "log": {},
+  "inbounds": [
     {
-      "port":"1080",
-      "protocol":"socks",
-      "settings":{
-        "auth":"noauth",
-        "udp":true
+      "port": "1080",
+      "protocol": "socks",
+      "settings": {
+        "auth": "noauth",
+        "udp": true
       }
     },
     {
-      "port":"1081",
-      "protocol":"http",
-      "settings":{}
+      "port": "1081",
+      "protocol": "http",
+      "settings": {}
     }
   ],
-  "outbounds":[
+  "outbounds": [
     {
-      "protocol":"vless",
-      "settings":{
-        "vnext":[
+      "protocol": "vless",
+      "settings": {
+        "vnext": [
           {
-            "address":"xx.com",
-            "port":443,
-            "users":[
+            "address": "xx.com",
+            "port": 443,
+            "users": [
               {
-                "id":"",
-                "encryption":"none"
+                "id": "",
+                "encryption": "none"
               }
             ]
           }
         ]
       },
-      "streamSettings":{
-        "network":"http",
-        "security":"tls",
-        "httpSettings":{
-          "host":[
+      "streamSettings": {
+        "network": "http",
+        "security": "tls",
+        "httpSettings": {
+          "host": [
             "xx.com"
           ],
-          "path":"/path"
+          "path": "/path"
         },
-        "tlsSettings":{
-          "alpn":["h3"],
-          "serverName":"xx.com"
+        "tlsSettings": {
+          "alpn": [
+            "h3"
+          ],
+          "serverName": "xx.com"
         }
       }
     },
     {
-      "tag":"direct",
-      "protocol":"freedom",
-      "settings":{}
+      "tag": "direct",
+      "protocol": "freedom",
+      "settings": {}
     },
     {
-      "tag":"blocked",
-      "protocol":"blackhole",
-      "settings":{}
+      "tag": "blocked",
+      "protocol": "blackhole",
+      "settings": {}
     }
   ],
-  "routing":{
-    "domainStrategy":"IPOnDemand",
-    "rules":[
+  "routing": {
+    "domainStrategy": "IPOnDemand",
+    "rules": [
       {
-        "type":"field",
-        "ip":[
+        "ip": [
           "geoip:private"
         ],
-        "outboundTag":"direct"
+        "outboundTag": "direct"
       }
     ]
   }
-}
+}

+ 1 - 2
VLESS-HTTP-Caddy/VLESS-H3-To-H2C-Caddy/server.jsonc

@@ -44,7 +44,6 @@
     "domainStrategy": "AsIs",
     "rules": [
       {
-        "type": "field",
         "ip": [
           "geoip:private"
         ],
@@ -52,4 +51,4 @@
       }
     ]
   }
-}
+}

+ 0 - 1
VLESS-TCP-TLS-proxy protocol/config_client.jsonc

@@ -61,7 +61,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],

+ 1 - 2
VLESS-TCP-TLS/config_client.jsonc

@@ -61,7 +61,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -69,4 +68,4 @@
             }
         ]
     }
-}
+}

+ 1 - 3
VLESS-TCP-XTLS-Vision/config_client.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "IPIfNonMatch",
         "rules": [
             {
-                "type": "field",
                 "domain": [
                     "geosite:cn",
                     "geosite:private"
@@ -14,7 +13,6 @@
                 "outboundTag": "direct"
             },
             {
-                "type": "field",
                 "ip": [
                     "geoip:cn",
                     "geoip:private"
@@ -90,4 +88,4 @@
             "tag": "block"
         }
     ]
-}
+}

+ 1 - 2
VLESS-TCP-XTLS-Vision/config_server.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "IPIfNonMatch",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:cn"
                 ],
@@ -81,4 +80,4 @@
             }
         }
     }
-}
+}

+ 1 - 2
VLESS-TCP/config_client.jsonc

@@ -51,7 +51,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -59,4 +58,4 @@
             }
         ]
     }
-}
+}

+ 4 - 3
VLESS-WSS-Nginx/client.jsonc

@@ -60,10 +60,11 @@
     "domainStrategy": "IPOnDemand",
     "rules": [
       {
-        "type": "field",
-        "ip": ["geoip:private"],
+        "ip": [
+          "geoip:private"
+        ],
         "outboundTag": "direct"
       }
     ]
   }
-}
+}

+ 9 - 10
VLESS-WSS-Nginx/server.jsonc

@@ -5,7 +5,7 @@
   "inbounds": [
     {
       "listen": "127.0.0.1",
-      "port": 1234 ,
+      "port": 1234,
       "protocol": "vless",
       "settings": {
         "clients": [
@@ -21,13 +21,13 @@
           "path": "/Path2WS" // 填写你的 path
         }
       },
-			"sniffing": {
-				"enabled": true,
-				"destOverride": [
-					"http",
-					"tls"
-				]
-			}
+      "sniffing": {
+        "enabled": true,
+        "destOverride": [
+          "http",
+          "tls"
+        ]
+      }
     }
   ],
   "outbounds": [
@@ -46,7 +46,6 @@
     "domainStrategy": "IPIfNonMatch",
     "rules": [
       {
-        "type": "field",
         "ip": [
           "geoip:cn",
           "geoip:private"
@@ -55,4 +54,4 @@
       }
     ]
   }
-}
+}

+ 1 - 4
VLESS-XHTTP-Reality/minimal-steal_others/client-bypass-cn.jsonc

@@ -8,14 +8,12 @@
                 "outboundTag": "direct"
             },
             {
-                "type": "field",
                 "ip": [
                     "geoip:cn"
                 ],
                 "outboundTag": "direct"
             },
             {
-                "type": "field",
                 "domain": [
                     "geosite:cn"
                 ],
@@ -72,6 +70,5 @@
             "protocol": "blackhole",
             "tag": "block"
         }
-
     ]
-}
+}

+ 15 - 18
VLESS-XHTTP-Reality/minimal-steal_others/server-block-cn.jsonc

@@ -2,20 +2,18 @@
     "routing": {
         "domainStrategy": "IPIfNonMatch",
         "rules": [
-           {
-               "type": "field",
-               "ip": [
-                   "geoip:cn"
-               ],
-               "outboundTag": "block"
-           },
-           {
-               "type": "field",
-               "domain": [
-                   "geosite:cn"
-               ],
-               "outboundTag": "block"
-           }
+            {
+                "ip": [
+                    "geoip:cn"
+                ],
+                "outboundTag": "block"
+            },
+            {
+                "domain": [
+                    "geosite:cn"
+                ],
+                "outboundTag": "block"
+            }
         ]
     },
     "inbounds": [
@@ -43,8 +41,8 @@
                     // 目标网站最低标准:国外网站,支持 TLSv1.3 与 H2,域名非跳转用(主域名可能被用于跳转到 www)。详见 https://github.com/XTLS/REALITY
                     "target": "example.com:443",
                     "serverNames": [
-                    // 客户端可用的 serverName 列表,暂不支持 * 通配符
-                    // 执行 xray tls ping 目标网站网址,填 "Allowed domains" 的值
+                        // 客户端可用的 serverName 列表,暂不支持 * 通配符
+                        // 执行 xray tls ping 目标网站网址,填 "Allowed domains" 的值
                     ],
                     "privateKey": "", // 执行 xray x25519 生成,填 "Private key" 的值
                     "shortIds": [ // 客户端可用的 shortId 列表,可用于区分不同的客户端
@@ -74,6 +72,5 @@
             "protocol": "blackhole",
             "tag": "block"
         }
-
     ]
-}
+}

+ 3 - 4
VLESS-XHTTP3-Nginx/client.jsonc

@@ -20,8 +20,8 @@
             "port": 443,
             "users": [
               {
-                  "id": "", //填写你的 UUID
-                  "encryption": "none"
+                "id": "", //填写你的 UUID
+                "encryption": "none"
               }
             ]
           }
@@ -75,7 +75,6 @@
     "domainStrategy": "IPOnDemand",
     "rules": [
       {
-        "type": "field",
         "ip": [
           "geoip:private"
         ],
@@ -83,4 +82,4 @@
       }
     ]
   }
-}
+}

+ 1 - 2
VLESS-XHTTP3-Nginx/server.jsonc

@@ -39,7 +39,6 @@
     "domainStrategy": "AsIs",
     "rules": [
       {
-        "type": "field",
         "ip": [
           "geoip:private"
         ],
@@ -47,4 +46,4 @@
       }
     ]
   }
-}
+}

+ 19 - 9
VLESS-gRPC-REALITY/config_client.jsonc

@@ -12,7 +12,10 @@
             "protocol": "socks",
             "sniffing": {
                 "enabled": true,
-                "destOverride": ["http", "tls"],
+                "destOverride": [
+                    "http",
+                    "tls"
+                ],
                 "routeOnly": false
             },
             "settings": {
@@ -28,7 +31,10 @@
             "protocol": "http",
             "sniffing": {
                 "enabled": true,
-                "destOverride": ["http", "tls"],
+                "destOverride": [
+                    "http",
+                    "tls"
+                ],
                 "routeOnly": false
             },
             "settings": {
@@ -104,25 +110,29 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
-                "inboundTag": ["api"],
+                "inboundTag": [
+                    "api"
+                ],
                 "outboundTag": "api",
                 "enabled": true
             },
             {
                 "id": "5708766234462982042",
-                "type": "field",
                 "outboundTag": "direct",
-                "ip": ["127.0.0.1", "192.168.1.1"],
+                "ip": [
+                    "127.0.0.1",
+                    "192.168.1.1"
+                ],
                 "enabled": true
             },
             {
                 "id": "4875564606963903266",
-                "type": "field",
                 "outboundTag": "proxy",
-                "domain": ["dns.digitalsize.net"],
+                "domain": [
+                    "dns.digitalsize.net"
+                ],
                 "enabled": true
             }
         ]
     }
-}
+}

+ 16 - 7
VLESS-gRPC-REALITY/config_server.jsonc

@@ -6,14 +6,14 @@
         "domainStrategy": "IPIfNonMatch",
         "rules": [
             {
-                "type": "field",
                 "port": "80",
                 "network": "udp",
                 "outboundTag": "block"
             },
             {
-                "type": "field",
-                "ip": ["geoip:private"],
+                "ip": [
+                    "geoip:private"
+                ],
                 "outboundTag": "block"
             }
         ]
@@ -39,9 +39,14 @@
                     "show": false,
                     "dest": "www.yahoo.com:443",
                     "xver": 0,
-                    "serverNames": ["www.yahoo.com", "news.yahoo.com"],
+                    "serverNames": [
+                        "www.yahoo.com",
+                        "news.yahoo.com"
+                    ],
                     "privateKey": "kOsBHSgxhAfCeQIQyJvupiXTmQrMmsqi6y6Wc5OQZXc",
-                    "shortIds": ["d49d578f280fd83a"]
+                    "shortIds": [
+                        "d49d578f280fd83a"
+                    ]
                 },
                 "grpcSettings": {
                     "serviceName": ""
@@ -49,7 +54,11 @@
             },
             "sniffing": {
                 "enabled": true,
-                "destOverride": ["http", "tls", "quic"]
+                "destOverride": [
+                    "http",
+                    "tls",
+                    "quic"
+                ]
             }
         }
     ],
@@ -71,4 +80,4 @@
             }
         }
     }
-}
+}

+ 1 - 2
VMess-HTTP/config_client.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -88,4 +87,4 @@
             "tag": "direct"
         }
     ]
-}
+}

+ 1 - 2
VMess-HTTP/config_server.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -68,4 +67,4 @@
             "tag": "block"
         }
     ]
-}
+}

+ 1 - 2
VMess-HTTP2/config_client.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -62,4 +61,4 @@
             "tag": "direct"
         }
     ]
-}
+}

+ 1 - 2
VMess-HTTP2/config_server.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -50,4 +49,4 @@
             "tag": "block"
         }
     ]
-}
+}

+ 1 - 2
VMess-TCP-TLS/config_client.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -59,4 +58,4 @@
             "tag": "direct"
         }
     ]
-}
+}

+ 1 - 2
VMess-TCP-TLS/config_server.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -50,4 +49,4 @@
             "tag": "block"
         }
     ]
-}
+}

+ 0 - 1
VMess-TCP/config_client.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],

+ 1 - 2
VMess-TCP/config_server.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -41,4 +40,4 @@
             "tag": "block"
         }
     ]
-}
+}

+ 1 - 2
VMess-Websocket-TLS/config_client.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -62,4 +61,4 @@
             "tag": "direct"
         }
     ]
-}
+}

+ 1 - 2
VMess-Websocket-TLS/config_server.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -50,4 +49,4 @@
             "tag": "block"
         }
     ]
-}
+}

+ 1 - 2
VMess-Websocket/config_client.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -57,4 +56,4 @@
             "tag": "direct"
         }
     ]
-}
+}

+ 1 - 2
VMess-Websocket/config_server.jsonc

@@ -6,7 +6,6 @@
         "domainStrategy": "AsIs",
         "rules": [
             {
-                "type": "field",
                 "ip": [
                     "geoip:private"
                 ],
@@ -42,4 +41,4 @@
             "tag": "block"
         }
     ]
-}
+}