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:
		@@ -2,36 +2,65 @@
 | 
			
		||||
    "log": {
 | 
			
		||||
        "loglevel": "warning"
 | 
			
		||||
    },
 | 
			
		||||
    "inbound": {
 | 
			
		||||
        "port": 6789,
 | 
			
		||||
        "listen": "127.0.0.1",
 | 
			
		||||
        "protocol": "socks",
 | 
			
		||||
        "settings": {
 | 
			
		||||
            "auth": "noauth",
 | 
			
		||||
            "udp": false,
 | 
			
		||||
            "ip": "127.0.0.1"
 | 
			
		||||
        }
 | 
			
		||||
    "routing": {
 | 
			
		||||
        "domainStratedy": "AsIs",
 | 
			
		||||
        "rules": [
 | 
			
		||||
            {
 | 
			
		||||
                "type": "field",
 | 
			
		||||
                "ip": [
 | 
			
		||||
                    "geoip:private"
 | 
			
		||||
                ],
 | 
			
		||||
                "tag": "direct"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    },
 | 
			
		||||
    "outbound": {
 | 
			
		||||
        "protocol": "socks",
 | 
			
		||||
        "settings": {
 | 
			
		||||
            "servers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "address": "you server",
 | 
			
		||||
                    "port": 443,
 | 
			
		||||
                    "users": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "user": "hello",
 | 
			
		||||
                            "pass": "3.1415",
 | 
			
		||||
                            "level": 0
 | 
			
		||||
                        }
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
    "inbounds": [
 | 
			
		||||
        {
 | 
			
		||||
            "listen": "127.0.0.1",
 | 
			
		||||
            "port": "1080",
 | 
			
		||||
            "protocol": "socks",
 | 
			
		||||
            "settings": {
 | 
			
		||||
                "auth": "noauth",
 | 
			
		||||
                "udp": "true",
 | 
			
		||||
                "ip": "127.0.0.1"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "streamSettings": {
 | 
			
		||||
            "network": "tcp",
 | 
			
		||||
            "security": "tls"
 | 
			
		||||
        {
 | 
			
		||||
            "listen": "127.0.0.1",
 | 
			
		||||
            "port": "1081",
 | 
			
		||||
            "protocol": "http"
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    ],
 | 
			
		||||
    "outbounds": [
 | 
			
		||||
        {
 | 
			
		||||
            "protocol": "socks",
 | 
			
		||||
            "settings": {
 | 
			
		||||
                "server": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "address": "",
 | 
			
		||||
                        "port": 1234,
 | 
			
		||||
                        "users": [
 | 
			
		||||
                            {
 | 
			
		||||
                                "user": "",
 | 
			
		||||
                                "pass": ""
 | 
			
		||||
                            }
 | 
			
		||||
                        ]
 | 
			
		||||
                    }
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            "streamSettings": {
 | 
			
		||||
                "network": "tcp",
 | 
			
		||||
                "security": "tls",
 | 
			
		||||
                "tlsSettings": {
 | 
			
		||||
                    "serverName": "example.domain",
 | 
			
		||||
                    "allowInsecure": false
 | 
			
		||||
                }
 | 
			
		||||
            },
 | 
			
		||||
            "tag": "proxy"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "protocol": "freedom",
 | 
			
		||||
            "tag": "direct"
 | 
			
		||||
        }
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user