Jelajahi Sumber

Update config_server.json

Clarence Gui 5 tahun lalu
induk
melakukan
08c55ea4bb
1 mengubah file dengan 47 tambahan dan 78 penghapusan
  1. 47 78
      VMess-Websocket/config_server.json

+ 47 - 78
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"
+    },
+    "routing": {
+        "domainStrategy": "AsIs",
+        "rules": [
+            {
+                "type": "field",
+                "ip": [
+                    "geoip:private"
+                ],
+                "outboundTag": "block"
+            }
+        ]
     },
-    "listen": null,
-    "protocol": "vmess",
-    "port": 1234,
-    "settings": {
-      "ip": null,
-      "udp": true,
-      "clients": [
+    "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": [
+        {
+            "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
-    }
-  },
-  "dns": null
-}
+    ]
+}