fix(mihomo): rules for linkedin

This commit is contained in:
Ryan Yin committed 2026-11-14 12:02:15 +08:00
1 parent 1bef53bfe6
commit 0ee4798518
2 files changed
+6

No files matched your search

@@ -150,6 +150,9 @@ and
`policy.yaml` bypasses proxy only for that observed probe, not game CDNs or broad vendor domains.
Verify future probes in `/connections` and add only confirmed hosts. Reference:
[HoyoPlay API endpoints](https://gist.github.com/DynamiByte/0ad250bbe1930e2736a6d4e6e842bcb2).
- LinkedIn resolves to a Azure China IP and redirect to `linkedin.cn`, so `policy.yaml` pins
`GEOSITE,linkedin` to `PROXY`; a `no-resolve`-less imported ipcidr rule-set shadows it, so such a
host overrides in `sources.yaml`.
- Rule payloads are bare domains: `DOMAIN-SUFFIX,https://qlogo.cn` is invalid.
- On a systemd-resolved host, sing-tun normally points resolved at the TUN DNS with `resolvectl`.
The nixpkgs `DynamicUser` sandbox cannot make those privileged D-Bus changes, so resolved's own
@@ -111,6 +111,9 @@ rules:
- IP-ASN,32590,DIRECT,no-resolve
- DOMAIN,launcher-webstatic.hoyoverse.com,DIRECT
# LinkedIn resolves to a CN IP; GEOIP,CN below would send it DIRECT (302 to linkedin.cn).
- GEOSITE,linkedin,PROXY
# CN consumer services: proxied they fail in ways that look like app bugs --
# WeChat pictures spin, JD and Taobao product images go blank. Much of it is
# served over bare CDN IPs and IPv6, so pin the whole category DIRECT.