Загрузка данных


{
  "log": {
    "loglevel": "warning"
  },

  "inbounds": [
    {
      "listen": "127.0.0.1",
      "port": 1080,
      "protocol": "socks",

      "settings": {
        "udp": true
      }
    },

    {
      "listen": "127.0.0.1",
      "port": 1081,
      "protocol": "http"
    }
  ],

  "outbounds": [
    {
      "tag": "proxy",
      "protocol": "vless",

      "settings": {
        "vnext": [
          {
            "address": "203.0.113.10",
            "port": 443,

            "users": [
              {
                "id": "YOUR-UUID",
                "encryption": "none",
                "flow": "xtls-rprx-vision"
              }
            ]
          }
        ]
      },

      "streamSettings": {
        "network": "xhttp",
        "security": "reality",

        "xhttpSettings": {
          "path": "/xray"
        },

        "realitySettings": {
          "serverName": "www.example.com",
          "fingerprint": "chrome",

          "password": "YOUR-REALITY-PUBLIC-KEY",

          "shortId": "YOUR-SHORT-ID",

          "spiderX": "/"
        }
      }
    },

    {
      "tag": "direct",
      "protocol": "freedom"
    },

    {
      "tag": "block",
      "protocol": "blackhole"
    }
  ],

  "routing": {
    "domainStrategy": "AsIs",

    "rules": [
      {
        "type": "field",
        "ip": [
          "geoip:private"
        ],
        "outboundTag": "direct"
      }
    ]
  }
}