Skip to content

Instantly share code, notes, and snippets.

@petercunha
Last active February 27, 2026 22:45
Show Gist options
  • Select an option

  • Save petercunha/beeecffb6fb8f662f84a09811a0c08e5 to your computer and use it in GitHub Desktop.

Select an option

Save petercunha/beeecffb6fb8f662f84a09811a0c08e5 to your computer and use it in GitHub Desktop.
{
"log": {
"level": "info"
},
"inbounds": [
{
"type": "tun",
"tag": "tun-in",
"interface_name": "utun8",
"address": [
"172.19.0.1/30"
],
"auto_route": true,
"strict_route": true,
"stack": "system",
"sniff": true
}
],
"outbounds": [
{
"type": "vless",
"tag": "vless-out",
"server": "",
"server_port": 443,
"uuid": "5975f9e-6caf-4bd7-8ecd-9a457b56960e",
"flow": "xtls-rprx-vision",
"tls": {
"enabled": true,
"server_name": "www.microsoft.com",
"utls": {
"enabled": true,
"fingerprint": "chrome"
},
"reality": {
"enabled": true,
"public_key": "SkcwA2UIXAUAEbm1A1XRVDNIYTXixyLOqmY",
"short_id": "c3d4"
}
}
},
{
"type": "direct",
"tag": "direct"
}
],
"route": {
"auto_detect_interface": true,
"rules": [
{
"protocol": "dns",
"action": "hijack-dns"
}
]
},
"dns": {
"servers": [
{
"address": "https://1.1.1.1/dns-query",
"tag": "remote",
"address_resolver": "local",
"detour": "vless-out"
},
{
"address": "local",
"tag": "local",
"detour": "direct"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment