mirror of
				https://github.com/v2fly/v2ray-examples.git
				synced 2025-11-04 11:55:38 +08:00 
			
		
		
		
	Update config_client.json
This commit is contained in:
		@@ -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"
 | 
			
		||||
    ]
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user