Advertisement
Guest User

xray config

a guest
Mar 7th, 2025
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.18 KB | None | 0 0
  1. {
  2.     "log": {
  3.         "loglevel": "warning"
  4.     },
  5.     "routing": {
  6.         "domainStrategy": "IPIfNonMatch",
  7.         "rules": [
  8.             {
  9.                 "type": "field",
  10.                 "domain": [
  11.                     "geosite:category-ads-all"
  12.                 ],
  13.                 "outboundTag": "block"
  14.             },
  15.             {
  16.                 "type": "field",
  17.                 "ip": [
  18.                     "geoip:cn"
  19.                 ],
  20.                 "outboundTag": "block"
  21.             }
  22.         ]
  23.     },
  24.     "inbounds": [
  25.         {
  26.             "listen": "0.0.0.0",
  27.             "port": 443,
  28.             "protocol": "vless",
  29.             "settings": {
  30.                 "clients": [
  31.                     {
  32.                         "id": "8b874f49-1489-4e77-b68c-22b17bb64295",
  33.                         "flow": "xtls-rprx-vision"
  34.                     }
  35.                 ],
  36.                 "decryption": "none"
  37.             },
  38.             "streamSettings": {
  39.                 "network": "tcp",
  40.                 "security": "reality",
  41.                 "realitySettings": {
  42.                     "show": false,
  43.                     "dest": "www.microsoft.com:443",
  44.                     "xver": 0,
  45.                     "serverNames": [
  46.                         "www.microsoft.com"
  47.                     ],
  48.                     "privateKey": "QCF_8gFNABCD9nMcuUBelmD_7AYVahqpfUs7c4mkI30",
  49.                     "minClientVer": "",
  50.                     "maxClientVer": "",
  51.                     "maxTimeDiff": 0,
  52.                     "shortIds": [
  53.                         "b1"
  54.                     ]
  55.                 }
  56.             },
  57.             "sniffing": {
  58.                 "enabled": true,
  59.                 "destOverride": [
  60.                     "http",
  61.                     "tls"
  62.                 ]
  63.             }
  64.         }
  65.     ],
  66.     "outbounds": [
  67.         {
  68.             "protocol": "freedom",
  69.             "tag": "direct"
  70.         },
  71.         {
  72.             "protocol": "blackhole",
  73.             "tag": "block"
  74.         }
  75.     ],
  76.     "policy": {
  77.         "levels": {
  78.             "0": {
  79.                 "handshake": 3,
  80.                 "connIdle": 180
  81.             }
  82.         }
  83.     }
  84. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement