Guest User

xray

a guest
Oct 6th, 2026
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.42 KB | None | 0 0
  1. {
  2.   "log": {
  3.     "access": "/var/log/x-ui/access.log",
  4.     "dnsLog": false,
  5.     "error": "/var/log/x-ui/error.log",
  6.     "loglevel": "warning",
  7.     "maskAddress": ""
  8.   },
  9.   "routing": {
  10.     "rules": [
  11.       {
  12.         "type": "field",
  13.         "inboundTag": [
  14.           "api"
  15.         ],
  16.         "outboundTag": "api"
  17.       },
  18.       {
  19.         "type": "field",
  20.         "ip": [
  21.           "geoip:private"
  22.         ],
  23.         "outboundTag": "blocked"
  24.       },
  25.       {
  26.         "type": "field",
  27.         "protocol": [
  28.           "bittorrent"
  29.         ],
  30.         "outboundTag": "blocked"
  31.       }
  32.     ],
  33.     "domainStrategy": "AsIs"
  34.   },
  35.   "inbounds": [
  36.     {
  37.       "listen": "127.0.0.1",
  38.       "port": 62789,
  39.       "protocol": "tunnel",
  40.       "settings": {
  41.         "rewriteAddress": "127.0.0.1"
  42.       },
  43.       "tag": "api"
  44.     },
  45.     {
  46.       "listen": "0.0.0.0",
  47.       "port": 443,
  48.       "protocol": "vless",
  49.       "settings": {
  50.         "clients": [
  51.           {
  52.             "email": "client1",
  53.             "id": "..."
  54.           },
  55.           {
  56.             "email": "client2",
  57.             "id": "..."
  58.           }
  59.         ],
  60.         "decryption": "..."
  61.       },
  62.       "streamSettings": {
  63.         "network": "xhttp",
  64.         "realitySettings": {
  65.           "limitFallbackDownload": {
  66.             "afterBytes": 0,
  67.             "burstBytesPerSec": 0,
  68.             "bytesPerSec": 0
  69.           },
  70.           "limitFallbackUpload": {
  71.             "afterBytes": 0,
  72.             "burstBytesPerSec": 0,
  73.             "bytesPerSec": 0
  74.           },
  75.           "maxClientVer": "",
  76.           "maxTimediff": 0,
  77.           "minClientVer": "1.0.0",
  78.           "mldsa65Seed": "...",
  79.           "privateKey": "...",
  80.           "serverNames": [
  81.             "МОЙ_ДОМЕН"
  82.           ],
  83.           "shortIds": [...],
  84.           "show": false,
  85.           "target": "127.0.0.1:8443",
  86.           "xver": 0
  87.         },
  88.         "security": "reality",
  89.         "xhttpSettings": {
  90.           "host": "",
  91.           "mode": "auto",
  92.           "path": "/",
  93.           "scMaxBufferedPosts": 30,
  94.           "scStreamUpServerSecs": "20-80",
  95.           "seqKey": "X-Data",
  96.           "xPaddingBytes": "100-1000"
  97.         }
  98.       },
  99.       "tag": "in-443-tcp",
  100.       "sniffing": {
  101.         "enabled": true,
  102.         "destOverride": [
  103.           "http",
  104.           "tls",
  105.           "quic",
  106.           "fakedns"
  107.         ]
  108.       }
  109.     }
  110.   ],
  111.   "outbounds": [
  112.     {
  113.       "tag": "direct",
  114.       "protocol": "freedom",
  115.       "settings": {
  116.         "finalRules": [
  117.           {
  118.             "action": "block",
  119.             "ip": [
  120.               "geoip:private"
  121.             ]
  122.           },
  123.           {
  124.             "action": "allow"
  125.           }
  126.         ]
  127.       }
  128.     },
  129.     {
  130.       "tag": "blocked",
  131.       "protocol": "blackhole",
  132.       "settings": {}
  133.     }
  134.   ],
  135.   "policy": {
  136.     "levels": {
  137.       "0": {
  138.         "statsUserDownlink": true,
  139.         "statsUserOnline": true,
  140.         "statsUserUplink": true
  141.       }
  142.     },
  143.     "system": {
  144.       "statsInboundDownlink": true,
  145.       "statsInboundUplink": true,
  146.       "statsOutboundDownlink": false,
  147.       "statsOutboundUplink": false
  148.     }
  149.   },
  150.   "api": {
  151.     "services": [
  152.       "HandlerService",
  153.       "LoggerService",
  154.       "StatsService",
  155.       "RoutingService"
  156.     ],
  157.     "tag": "api"
  158.   },
  159.   "stats": {},
  160.   "metrics": {
  161.     "listen": "127.0.0.1:11111",
  162.     "tag": "metrics_out"
  163.   }
  164. }
Add Comment
Please, Sign In to add comment