Skip to content

Instantly share code, notes, and snippets.

@ancientGlider
Created June 8, 2026 14:48
Show Gist options
  • Select an option

  • Save ancientGlider/5f18c515a60488f59ef2203f1734e93d to your computer and use it in GitHub Desktop.

Select an option

Save ancientGlider/5f18c515a60488f59ef2203f1734e93d to your computer and use it in GitHub Desktop.
HAPP test v3 — VLESS-only with chika0801 DNS-intercept pattern
[
{
"remarks": "Planet VPN — VLESS-only chika0801 pattern (v3)",
"log": {
"loglevel": "warning"
},
"dns": {
"servers": [
"https://1.1.1.1/dns-query"
],
"hosts": {
"cloudflare-dns.com": ["1.1.1.1"],
"one.one.one.one": ["1.1.1.1"]
},
"queryStrategy": "UseIPv4"
},
"inbounds": [
{
"tag": "socks-in",
"listen": "127.0.0.1",
"port": 10808,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true
},
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls", "quic"],
"routeOnly": true
}
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "195.66.87.45",
"port": 443,
"users": [
{
"id": "7122d062-b661-4734-8f83-fe919171a4dd",
"encryption": "none",
"flow": "xtls-rprx-vision"
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"fingerprint": "chrome",
"serverName": "www.microsoft.com",
"publicKey": "aTISLtHmZNxo7DB4BJUcEfcKprmWT3hj61IMFfxOOFU",
"shortId": "deadbeef",
"spiderX": "/"
}
}
},
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"domainStrategy": "ForceIPv4"
}
},
{
"tag": "block",
"protocol": "blackhole"
},
{
"tag": "dns-out",
"protocol": "dns",
"settings": {
"nonIPQuery": "drop"
},
"proxySettings": {
"tag": "proxy"
}
}
],
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"port": "53",
"outboundTag": "dns-out"
},
{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "direct"
},
{
"type": "field",
"network": "tcp,udp",
"outboundTag": "proxy"
}
]
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment