Tor — not supported by mihomo
mihomo does not implement a Tor outbound.
Workaround
For Tor routing, use:
- Tor — sing-box — full child-process Tor management.
For mihomo, run the system Tor daemon (most distros ship a tor package) and point a SOCKS5 outbound at its built-in SOCKS port (127.0.0.1:9050 by default):
yaml
proxies:
- name: tor
type: socks5
server: 127.0.0.1
port: 9050
udp: falseThen reference the proxy from your rules:
yaml
rules:
- DOMAIN-SUFFIX,onion,tor
- GEOIP,DENYLIST,tor