Skip to content

Instantly share code, notes, and snippets.

@airled
Last active November 11, 2025 04:38
Show Gist options
  • Select an option

  • Save airled/afc1c9dc860fd5fa1da067c912c7df8e to your computer and use it in GitHub Desktop.

Select an option

Save airled/afc1c9dc860fd5fa1da067c912c7df8e to your computer and use it in GitHub Desktop.
Minimal xray client config
{
"inbounds": [
{
"port": 1080,
"protocol": "socks",
"settings": {
"udp": true
}
}
],
"outbounds": [
{
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "",
"port": 443,
"users": [
{
"id": "{xray uuid}",
"flow": "xtls-rprx-vision",
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"fingerprint": "chrome",
"serverName": "www.cloudflare.com",
"publicKey": "{xray x25519}",
"shortId": "abcdef",
"spiderX": "/"
}
}
}
],
"log": {
"loglevel": "warning"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment