sing-box
sing-box copied to clipboard
咨询:通过代理后,Chrome没有使用http3/quic协议访问网站
当我直连访问支持http3的网站时,Chrome使用HTTP3/QUIC协议,但当通过代理访问同一个网站时,Chrome就不是用HTTP3/QUIC协议了。 请问一下,这是为什么?
- Arch Linux
- Chrome 141.0.7390.122(正式版本) (64 位)
- Sing-box v1.12.11
- 配置如下:
{
"log": {
"level": "trace",
"timestamp": false
},
"experimental": {
"cache_file": {
"enabled": true,
"store_fakeip": true,
"store_rdrc": true
},
"clash_api": {
"external_controller": "127.0.0.1:9090",
"access_control_allow_origin": [
"http://127.0.0.1"
],
"external_ui": "metacubexd",
"external_ui_download_url": "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip",
"default_mode": "rule"
}
},
"dns": {
"independent_cache": true,
"strategy": "ipv4_only",
"servers": [
{
"tag": "direct_nameserver",
"type": "https",
"server": "223.5.5.5"
},
{
"tag": "proxy_nameserver",
"type": "https",
"server": "1.1.1.1",
"detour": "Proxy-G1"
},
{
"tag": "fakeip_nameserver",
"type": "fakeip",
"inet4_range": "198.18.0.0/15"
}
],
"rules": [
{
"clash_mode": "direct",
"server": "direct_nameserver"
},
{
"clash_mode": "global",
"server": "proxy_nameserver"
},
{
"rule_set": "domain_DIRECT",
"server": "direct_nameserver"
},
{
"rule_set": [
"domain_G1",
"domain_G1_podcasts",
"domain_G2",
"domain_G2_google",
"domain_G2_openai"
],
"query_type": [
"A"
],
"server": "fakeip_nameserver"
},
{
"rule_set": [
"domain_G1",
"domain_G1_podcasts",
"domain_G2",
"domain_G2_google",
"domain_G2_openai"
],
"query_type": [
"HTTPS"
],
"action": "predefined",
"rcode": "NOERROR"
},
{
"rule_set": [
"category-ads-all"
],
"action": "predefined",
"rcode": "NOERROR"
},
{
"type": "logical",
"mode": "and",
"rules": [
{
"rule_set": [
"gfw"
],
"invert": true
},
{
"rule_set": [
"connectivity-check",
"private",
"apple",
"microsoft",
"steam@cn",
"category-games@cn",
"ChinaMax"
]
}
],
"server": "direct_nameserver"
},
{
"query_type": [
"A"
],
"server": "fakeip_nameserver"
},
{
"query_type": [
"HTTPS"
],
"action": "predefined",
"rcode": "NOERROR"
}
],
"final": "proxy_nameserver"
},
"inbounds": [
{
"tag": "dns_server",
"type": "direct",
"listen": "::",
"listen_port": 53,
"network": "udp"
},
{
"tag": "tun",
"type": "tun",
"stack": "mixed",
"address": [
"172.16.0.1/30"
],
"auto_route": true,
"strict_route": true,
"route_address": [
"198.18.0.0/15"
]
},
{
"tag": "mixed_proxy",
"listen": "::",
"listen_port": 10809,
"type": "mixed"
}
],
"outbounds": [
...
],
"route": {
"default_domain_resolver": {
"server": "direct_nameserver"
},
"auto_detect_interface": true,
"rules": [
{
"action": "sniff"
},
{
"protocol": "dns",
"action": "hijack-dns"
},
{
"ip_is_private": true,
"outbound": "DIRECT"
},
{
"clash_mode": "direct",
"outbound": "DIRECT"
},
{
"clash_mode": "global",
"outbound": "proxy"
},
{
"rule_set": [
"domain_DIRECT"
],
"outbound": "DIRECT"
},
{
"rule_set": [
"domain_G1",
"domain_G1_podcasts"
],
"outbound": "Proxy-G1"
},
{
"rule_set": [
"domain_G2",
"domain_G2_google",
"domain_G2_openai"
],
"outbound": "Proxy-G2"
},
{
"rule_set": [
"category-ads-all"
],
"action": "reject"
},
{
"rule_set": "gfw",
"outbound": "Proxy-G1"
},
{
"rule_set": [
"connectivity-check",
"private",
"apple",
"microsoft",
"steam@cn",
"category-games@cn",
"ChinaMax",
"geoip_cn"
],
"outbound": "DIRECT"
}
],
"final": "Proxy-G1",
"rule_set": [
{
"tag": "category-ads-all",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/lyc8503/sing-box-rules/rule-set-geosite/geosite-category-ads-all.srs"
},
{
"tag": "connectivity-check",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/connectivity-check.srs"
},
{
"tag": "private",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/private.srs"
},
{
"tag": "apple-cn",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/apple-cn.srs"
},
{
"tag": "apple@cn",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/[email protected]"
},
{
"tag": "apple",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/apple.srs"
},
{
"tag": "microsoft",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/microsoft.srs"
},
{
"tag": "google",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/google.srs"
},
{
"tag": "steam@cn",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/[email protected]"
},
{
"tag": "category-games@cn",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/[email protected]"
},
{
"tag": "gfw",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/gfw.srs"
},
{
"tag": "ChinaMax",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/cn.srs"
},
{
"tag": "geoip_private",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/private.srs"
},
{
"tag": "geoip_cn",
"type": "remote",
"format": "binary",
"download_detour": "Proxy-G1",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/cn.srs"
},
{
"tag": "domain_DIRECT",
"type": "inline",
"rules": [
{
"domain_suffix": [
"ntp.org",
"archlinux.org"
]
}
]
},
{
"tag": "domain_G1",
"type": "inline",
"rules": [
{
"domain_suffix": [
"t.co",
"ft.com"
]
}
]
},
{
"tag": "domain_G1_podcasts",
"type": "inline",
"rules": [
{
"domain_suffix": [
"podcasts.apple.com"
]
}
]
},
{
"tag": "domain_G2",
"type": "inline",
"rules": [
{
"domain_suffix": [
"claude.ai"
]
}
]
},
{
"tag": "domain_G2_google",
"type": "inline",
"rules": [
{
"domain": [
"www.google.com"
],
"domain_suffix": [
"gemini.google.com"
]
}
]
},
{
"tag": "domain_G2_openai",
"type": "inline",
"rules": [
{
"domain_suffix": [
"chatgpt.com",
"openai.com"
]
}
]
}
]
}
}
你这检查了吗?
是的,设置成"Enabled"。
你没遇到我这个现象?
是的,设置成"Enabled"。
你没遇到我这个现象?
你用的是tproxy, 我用的是tun。
能分享一下你的配置(去掉敏感信息)?
你用的是tproxy, 我用的是tun。
能分享一下你的配置(去掉敏感信息)?
https://github.com/qichiyuhub/rule/blob/main/config/singbox/1.12.x/momo.json 我用的配置来源
感谢。我试试
开代理还用 HTTP3,是嫌自己上网速度不够慢吗