浏览代码

Create 'mkcp 动态端口/config_server.json'

EpLiar 5 年之前
父节点
当前提交
2a7c51e91c
共有 1 个文件被更改,包括 78 次插入0 次删除
  1. 78 0
      mkcp 动态端口/config_server.json

+ 78 - 0
mkcp 动态端口/config_server.json

@@ -0,0 +1,78 @@
+{
+  "log": {
+    "loglevel": "warning"
+  },
+  "dns": {
+    "servers": [
+      "8.8.8.8",
+      "8.8.4.4",
+      "localhost"
+    ]
+  },
+  "routing": {
+    "domainStrategy": "IPIfNonMatch",
+    "rules": [
+      {
+        "ip": [
+          "geoip:private"
+        ],
+        "outboundTag": "direct",
+        "port": null,
+        "type": "field"
+      }
+    ]
+  },
+  "policy": {},
+  "inbounds": [
+    {
+      "port": 1234,
+      "protocol": "vmess",
+      "settings": {
+        "clients": [
+          {
+            "id": "e2b39869-7e9e-411b-a561-00904419bed9",
+            "alterId": 100,
+            "testsEnabled": "VMessAEAD"
+          }
+        ]
+      },
+      "tag": "kcp-in",
+      "streamSettings": {
+        "network": "kcp",
+        "tcpSettings": {}
+      },
+      "detour": {
+        "to": "Dynamic"
+      }
+    },
+    {
+      "protocol": "vmess",
+      "port": "10000-59999",
+      "tag": "Dynamic",
+      "settings": {
+        "default": {
+          "alterId": 100
+        }
+      },
+      "allocate": {
+        "strategy": "random",
+        "concurrency": 50,
+        "refresh": 2
+      },
+      "streamSettings": {
+        "network": "kcp"
+      }
+    }
+  ],
+  "outbounds": [
+    {
+      "protocol": "freedom",
+      "settings": {
+      },
+      "tag": "direct"
+    }
+  ],
+  "transport": {},
+  "stats": {},
+  "reverse": {}
+}