mirror of
				https://github.com/v2fly/v2ray-examples.git
				synced 2025-11-04 20:05:39 +08:00 
			
		
		
		
	Merge branch 'master' into rewrite
* master: Update TCP/config_server.json
This commit is contained in:
		@@ -1,51 +1,51 @@
 | 
			
		||||
{
 | 
			
		||||
  "log": {
 | 
			
		||||
    "loglevel": "warning"
 | 
			
		||||
  },
 | 
			
		||||
  "routing": {
 | 
			
		||||
    "domainStrategy": "AsIs",
 | 
			
		||||
    "rules": [
 | 
			
		||||
      {
 | 
			
		||||
        "ip": [
 | 
			
		||||
          "geoip:private"
 | 
			
		||||
        ],
 | 
			
		||||
        "outboundTag": "blocked",
 | 
			
		||||
        "port": null,
 | 
			
		||||
        "type": "field"
 | 
			
		||||
      }
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "inbounds": [
 | 
			
		||||
    {
 | 
			
		||||
      "port": 1234,
 | 
			
		||||
      "protocol": "vmess",
 | 
			
		||||
      "settings": {
 | 
			
		||||
        "clients": [
 | 
			
		||||
          {
 | 
			
		||||
            "id": "e2b39869-7e9e-411b-a561-00904419bed9",
 | 
			
		||||
            "alterId": 100,
 | 
			
		||||
            "testsEnabled": "VMessAEAD"
 | 
			
		||||
          }
 | 
			
		||||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "tag": "tcp",
 | 
			
		||||
      "streamSettings": {
 | 
			
		||||
        "network": "tcp"
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "outbounds": [
 | 
			
		||||
    {
 | 
			
		||||
      "protocol": "freedom",
 | 
			
		||||
      "settings": {
 | 
			
		||||
      },
 | 
			
		||||
      "tag": "direct"
 | 
			
		||||
    "log": {
 | 
			
		||||
        "loglevel": "warning"
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "protocol": "blackhole",
 | 
			
		||||
      "settings": {
 | 
			
		||||
      },
 | 
			
		||||
      "tag": "blocked"
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
    "routing": {
 | 
			
		||||
        "domainStrategy": "AsIs",
 | 
			
		||||
        "rules": [
 | 
			
		||||
            {
 | 
			
		||||
                "ip": [
 | 
			
		||||
                    "geoip:private"
 | 
			
		||||
                ],
 | 
			
		||||
                "outboundTag": "blocked",
 | 
			
		||||
                "port": null,
 | 
			
		||||
                "type": "field"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    },
 | 
			
		||||
    "inbounds": [
 | 
			
		||||
        {
 | 
			
		||||
            "port": 1234,
 | 
			
		||||
            "protocol": "vmess",
 | 
			
		||||
            "settings": {
 | 
			
		||||
                "clients": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "id": "",
 | 
			
		||||
                        "alterId": 100,
 | 
			
		||||
                        "testsEnabled": "VMessAEAD"
 | 
			
		||||
                    }
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            "tag": "tcp",
 | 
			
		||||
            "streamSettings": {
 | 
			
		||||
                "network": "tcp"
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    ],
 | 
			
		||||
    "outbounds": [
 | 
			
		||||
        {
 | 
			
		||||
            "protocol": "freedom",
 | 
			
		||||
            "settings": {
 | 
			
		||||
            },
 | 
			
		||||
            "tag": "direct"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "protocol": "blackhole",
 | 
			
		||||
            "settings": {
 | 
			
		||||
            },
 | 
			
		||||
            "tag": "blocked"
 | 
			
		||||
        }
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user