mirror of
				https://github.com/v2fly/v2ray-examples.git
				synced 2025-11-04 03:45:39 +08:00 
			
		
		
		
	VLESS-H2C/H2-Caddy2 client.json
This commit is contained in:
		
							
								
								
									
										68
									
								
								VLESS+H2C+Caddy2/client.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										68
									
								
								VLESS+H2C+Caddy2/client.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,68 @@
 | 
			
		||||
{
 | 
			
		||||
  "log":{},
 | 
			
		||||
  "inbounds":[
 | 
			
		||||
    {
 | 
			
		||||
      "port":"1080",
 | 
			
		||||
      "protocol":"socks",
 | 
			
		||||
      "settings":{
 | 
			
		||||
        "auth":"noauth",
 | 
			
		||||
        "udp":true
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "port":"1081",
 | 
			
		||||
      "protocol":"http",
 | 
			
		||||
      "settings":{}
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "outbounds":[
 | 
			
		||||
    {
 | 
			
		||||
      "protocol":"vless",
 | 
			
		||||
      "settings":{
 | 
			
		||||
        "vnext":[
 | 
			
		||||
          {
 | 
			
		||||
            "address":"xx.com",
 | 
			
		||||
            "port":443,
 | 
			
		||||
            "users":[
 | 
			
		||||
              {
 | 
			
		||||
                "id":""
 | 
			
		||||
              }
 | 
			
		||||
            ]
 | 
			
		||||
          }
 | 
			
		||||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "streamSettings":{
 | 
			
		||||
        "network":"h2",
 | 
			
		||||
        "security":"tls",
 | 
			
		||||
        "httpSettings":{
 | 
			
		||||
          "host":[
 | 
			
		||||
            "xx.com"
 | 
			
		||||
          ],
 | 
			
		||||
          "path":"/path"
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "tag":"direct",
 | 
			
		||||
      "protocol":"freedom",
 | 
			
		||||
      "settings":{}
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "tag":"blocked",
 | 
			
		||||
      "protocol":"blackhole",
 | 
			
		||||
      "settings":{}
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "routing":{
 | 
			
		||||
    "domainStrategy":"IPOnDemand",
 | 
			
		||||
    "rules":[
 | 
			
		||||
      {
 | 
			
		||||
        "type":"field",
 | 
			
		||||
        "ip":[
 | 
			
		||||
          "geoip:private"
 | 
			
		||||
        ],
 | 
			
		||||
        "outboundTag":"direct"
 | 
			
		||||
      }
 | 
			
		||||
    ]
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user