Initial commit: sing-box Reality + Hysteria2 deploy for 66.hyf2.cc

Ubuntu deployment at /opt/jiedian with pre-filled env for 47.76.87.111.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-16 08:21:49 +08:00
commit cd0639d55c
16 changed files with 1080 additions and 0 deletions
+106
View File
@@ -0,0 +1,106 @@
{
"log": {
"level": "info"
},
"dns": {
"servers": [
{
"tag": "remote",
"address": "tls://8.8.8.8",
"detour": "proxy"
},
{
"tag": "local",
"address": "223.5.5.5",
"detour": "direct"
}
],
"rules": [
{
"outbound": "any",
"server": "local"
}
],
"final": "remote"
},
"inbounds": [
{
"type": "mixed",
"tag": "mixed-in",
"listen": "127.0.0.1",
"listen_port": 7890
},
{
"type": "tun",
"tag": "tun-in",
"interface_name": "sing-tun",
"address": ["172.19.0.1/30"],
"mtu": 9000,
"auto_route": true,
"strict_route": true,
"stack": "mixed"
}
],
"outbounds": [
{
"type": "selector",
"tag": "proxy",
"outbounds": ["reality", "hysteria2", "direct"]
},
{
"type": "vless",
"tag": "reality",
"server": "${VPS_IP}",
"server_port": 443,
"uuid": "${UUID}",
"flow": "xtls-rprx-vision",
"tls": {
"enabled": true,
"server_name": "${REALITY_SERVER_NAME}",
"utls": {
"enabled": true,
"fingerprint": "chrome"
},
"reality": {
"enabled": true,
"public_key": "${REALITY_PUBLIC_KEY}",
"short_id": "${REALITY_SHORT_ID}"
}
}
},
{
"type": "hysteria2",
"tag": "hysteria2",
"server": "${DOMAIN}",
"server_port": 8443,
"password": "${HY2_PASSWORD}",
"tls": {
"enabled": true,
"server_name": "${DOMAIN}",
"alpn": ["h3"]
}
},
{
"type": "direct",
"tag": "direct"
},
{
"type": "dns",
"tag": "dns-out"
}
],
"route": {
"rules": [
{
"protocol": "dns",
"outbound": "dns-out"
},
{
"ip_is_private": true,
"outbound": "direct"
}
],
"final": "proxy",
"auto_detect_interface": true
}
}