By domain
The common approach: in the routing rules, point domains you want direct at direct and the rest at proxy. Good for "handle a few specific sites differently".
By process
Switch to the sing-box core and enable TUN, and the routing rules support process-name matching. For example route chrome.exe through the proxy and thunder.exe direct — just enter the process name.
Notes
- Process routing is reliable only under TUN; the system-proxy mode can't reach apps that ignore proxies.
- Rules match top-down — put exceptions first, general rules last.