fix: prefer IPv4 for Osaka Reality handshake

This commit is contained in:
Codex
2026-09-02 00:23:23 -07:00
parent 2fe6976d18
commit 1b65bba73a
@@ -13,6 +13,14 @@
}
}
],
"dns": {
"servers": [
{
"type": "local",
"tag": "local"
}
]
},
"inbounds": [
{
"type": "trojan",
@@ -94,7 +102,11 @@
"enabled": true,
"handshake": {
"server": "${REALITY_SERVER_NAME}",
"server_port": 443
"server_port": 443,
"domain_resolver": {
"server": "local",
"strategy": "prefer_ipv4"
}
},
"private_key": "${REALITY_PRIVATE_KEY}",
"short_id": [