mirror of https://github.com/XTLS/Xray-examples
				
				
				
			
		
			
				
	
	
		
			46 lines
		
	
	
		
			929 B
		
	
	
	
		
			JSON
		
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			929 B
		
	
	
	
		
			JSON
		
	
	
{
 | 
						|
    "log": {
 | 
						|
        "loglevel": "warning"
 | 
						|
    },
 | 
						|
    "routing": {
 | 
						|
        "domainStrategy": "AsIs",
 | 
						|
        "rules": [
 | 
						|
            {
 | 
						|
                "type": "field",
 | 
						|
                "ip": [
 | 
						|
                    "geoip:private"
 | 
						|
                ],
 | 
						|
                "outboundTag": "block"
 | 
						|
            }
 | 
						|
        ]
 | 
						|
    },
 | 
						|
    "inbounds": [
 | 
						|
        {
 | 
						|
            "listen": "0.0.0.0",
 | 
						|
            "port": 1234,
 | 
						|
            "protocol": "vmess",
 | 
						|
            "settings": {
 | 
						|
                "clients": [
 | 
						|
                    {
 | 
						|
                        "id": ""
 | 
						|
                    }
 | 
						|
                ]
 | 
						|
            },
 | 
						|
            "streamSettings": {
 | 
						|
                "network": "ws",
 | 
						|
                "security": "none"
 | 
						|
            }
 | 
						|
        }
 | 
						|
    ],
 | 
						|
    "outbounds": [
 | 
						|
        {
 | 
						|
            "protocol": "freedom",
 | 
						|
            "tag": "direct"
 | 
						|
        },
 | 
						|
        {
 | 
						|
            "protocol": "blackhole",
 | 
						|
            "tag": "block"
 | 
						|
        }
 | 
						|
    ]
 | 
						|
}
 |