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


{
  "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": "YOUR-SERVER",
            "port": 443,

            "users": [
              {
                "id": "YOUR-UUID",
                "encryption": "none"
              }
            ]
          }
        ]
      },

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

        "xhttpSettings": {
          "path": "/xray",
          "mode": "packet-up"
        },

        "realitySettings": {
          "serverName": "YOUR-REAL-SNI",
          "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"
      }
    ]
  }
}