Browse Source

Update TCP/config_client.json

EpLiar 5 years ago
parent
commit
fe8c0250f5
1 changed files with 88 additions and 95 deletions
  1. 88 95
      TCP/config_client.json

+ 88 - 95
TCP/config_client.json

@@ -1,106 +1,99 @@
 {
-  "outbound": {
-    "streamSettings": {
-      "network": "tcp",
-      "kcpSettings": null,
-      "wsSettings": null,
-      "tcpSettings": null,
-      "tlsSettings": {},
-      "security": ""
-    },
-    "tag": "agentout",
-    "protocol": "vmess",
-    "mux": {
-      "enabled": true
-    },
-    "settings": {
-      "vnext": [
-        {
-          "users": [
-            {
-              "alterId": 100,
-              "security": "aes-128-gcm",
-              "id": "e2b39869-7e9e-411b-a561-00904419bed9"
-            }
-          ],
-          "port": 1234,
-          "address": "Your_IP_Address"
-        }
-      ]
-    }
-  },
   "log": {
-    "access": "",
-    "loglevel": "info",
-    "error": ""
+    "loglevel": "warning"
   },
-  "outboundDetour": [
+  "dns": {
+    "servers": [
+      "8.8.8.8",
+      "8.8.4.4",
+      "localhost"
+    ]
+  },
+  "routing": {
+    "domainStrategy": "IPIfNonMatch",
+    "rules": [
+      {
+        "ip": [
+          "geoip:cn",
+          "geoip:private"
+        ],
+        "outboundTag": "direct",
+        "port": null,
+        "type": "field"
+      }
+    ]
+  },
+  "policy": {},
+  "inbounds": [
     {
-      "tag": "direct",
-      "protocol": "freedom",
+      "port": "1080",
+      "protocol": "socks",
       "settings": {
-        "response": null
-      }
+        "auth": "noauth",
+        "udp": true
+      },
+      "tag": "socks"
+    }
+  ],
+  "outbounds": [
+    {
+      "sendThrough": "0.0.0.0",
+      "protocol": "vmess",
+      "settings": {
+        "vnext": [
+          {
+            "users": [
+              {
+                "alterId": 100,
+                "security": "aes-128-gcm",
+                "id": "e2b39869-7e9e-411b-a561-00904419bed9",
+                "testsEnabled": "VMessAEAD"
+              }
+            ],
+            "port": 1234,
+            "address": "Your_IP_Address"
+          }
+        ]
+      },
+      "tag": "proxy",
+      "streamSettings": {
+        "network": "tcp",
+        "tcpSettings": {
+          "header": {
+            "request": {
+              "headers": {
+              },
+              "method": "GET",
+              "path": [
+              ],
+              "version": "1.1"
+            },
+            "response": {
+              "headers": {
+              },
+              "reason": "OK",
+              "status": "200",
+              "version": "1.1"
+            },
+            "type": "none"
+          }
+        },
+        "tlsSettings": {},
+        "security": "auto"
+      },
+      "proxySettings": {
+        "tag": "proxy"
+      },
+      "mux": {}
     },
     {
-      "tag": "blockout",
-      "protocol": "blackhole",
+      "protocol": "freedom",
       "settings": {
-        "response": {
-          "type": "http"
-        }
-      }
+      },
+      "tag": "direct"
     }
   ],
-  "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"
-    ]
-  }
+  "transport": {},
+  "stats": {},
+  "reverse": {}
 }