mirror of
				https://github.com/v2fly/v2ray-examples.git
				synced 2025-11-04 11:55:38 +08:00 
			
		
		
		
	Update TCP/config_server.json
This commit is contained in:
		@@ -1,79 +1,57 @@
 | 
			
		||||
{
 | 
			
		||||
  "outbound": {
 | 
			
		||||
    "streamSettings": null,
 | 
			
		||||
    "tag": null,
 | 
			
		||||
    "protocol": "freedom",
 | 
			
		||||
    "mux": null,
 | 
			
		||||
    "settings": null
 | 
			
		||||
  },
 | 
			
		||||
  "log": {
 | 
			
		||||
    "access": "/var/log/v2ray/access.log",
 | 
			
		||||
    "loglevel": "info",
 | 
			
		||||
    "error": "/var/log/v2ray/error.log"
 | 
			
		||||
    "loglevel": "warning"
 | 
			
		||||
  },
 | 
			
		||||
  "inboundDetour": null,
 | 
			
		||||
  "inbound": {
 | 
			
		||||
    "streamSettings": {
 | 
			
		||||
      "network": "tcp",
 | 
			
		||||
      "kcpSettings": null,
 | 
			
		||||
      "wsSettings": null,
 | 
			
		||||
      "tcpSettings": null,
 | 
			
		||||
      "tlsSettings": {},
 | 
			
		||||
      "security": ""
 | 
			
		||||
    },
 | 
			
		||||
    "listen": null,
 | 
			
		||||
    "protocol": "vmess",
 | 
			
		||||
    "port": 1234,
 | 
			
		||||
    "settings": {
 | 
			
		||||
      "ip": null,
 | 
			
		||||
      "udp": true,
 | 
			
		||||
      "clients": [
 | 
			
		||||
        {
 | 
			
		||||
          "alterId": 100,
 | 
			
		||||
          "security": "aes-128-gcm",
 | 
			
		||||
          "id": "e2b39869-7e9e-411b-a561-00904419bed9"
 | 
			
		||||
        }
 | 
			
		||||
      ],
 | 
			
		||||
      "auth": null
 | 
			
		||||
    }
 | 
			
		||||
  "dns": {
 | 
			
		||||
    "servers": [
 | 
			
		||||
      "8.8.8.8",
 | 
			
		||||
      "8.8.4.4",
 | 
			
		||||
      "localhost"
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "outboundDetour": [
 | 
			
		||||
  "routing": {
 | 
			
		||||
    "domainStrategy": "IPIfNonMatch",
 | 
			
		||||
    "rules": [
 | 
			
		||||
      {
 | 
			
		||||
        "ip": [
 | 
			
		||||
          "geoip:private"
 | 
			
		||||
        ],
 | 
			
		||||
        "outboundTag": "direct",
 | 
			
		||||
        "port": null,
 | 
			
		||||
        "type": "field"
 | 
			
		||||
      }
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "policy": {},
 | 
			
		||||
  "inbounds": [
 | 
			
		||||
    {
 | 
			
		||||
      "tag": "blocked",
 | 
			
		||||
      "protocol": "blackhole",
 | 
			
		||||
      "settings": null
 | 
			
		||||
      "port": 1234,
 | 
			
		||||
      "protocol": "vmess",
 | 
			
		||||
      "settings": {
 | 
			
		||||
        "clients": [
 | 
			
		||||
          {
 | 
			
		||||
            "id": "e2b39869-7e9e-411b-a561-00904419bed9",
 | 
			
		||||
            "alterId": 100,
 | 
			
		||||
            "testsEnabled": "VMessAEAD"
 | 
			
		||||
          }
 | 
			
		||||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "tag": "tcp",
 | 
			
		||||
      "streamSettings": {
 | 
			
		||||
        "network": "tcp",
 | 
			
		||||
        "tcpSettings": {}
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "routing": {
 | 
			
		||||
    "strategy": "rules",
 | 
			
		||||
    "settings": {
 | 
			
		||||
      "rules": [
 | 
			
		||||
        {
 | 
			
		||||
          "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": "blocked"
 | 
			
		||||
        }
 | 
			
		||||
      ],
 | 
			
		||||
      "domainStrategy": null
 | 
			
		||||
  "outbounds": [
 | 
			
		||||
    {
 | 
			
		||||
      "protocol": "freedom",
 | 
			
		||||
      "settings": {
 | 
			
		||||
      },
 | 
			
		||||
      "tag": "direct"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "dns": null
 | 
			
		||||
  ],
 | 
			
		||||
  "transport": {},
 | 
			
		||||
  "stats": {},
 | 
			
		||||
  "reverse": {}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user