dsh-proxy-router: DSH direct-connection priority and proxy fallback routing
dsh-proxy-router is a DSH networking tool plugin maintained by Lequait: after importing a proxy subscription, mihomo provides a local mixed port; smartFetch prioritizes direct URL connections, automatically falls back to proxied routing on failure, and remembers routing decisions per host. Compared to the global HTTP_PROXY approach, it supports per-host routing and leaves direct connections unaffected when no healthy proxy nodes are available. The article covers installation commands, optional cordis configuration, the various proxy_router actions, and subscription and security boundaries. Version 0.2.1, MIT license.
Read Moredsh-proxy-router: A Local Traffic-Splitting Proxy Plugin
The `dsh-proxy-router` plugin for DSH (DeepSeek Harness) resolves the issue where all traffic is routed through the proxy when using `export https_proxy`. It uses a local routing proxy to split traffic based on a rules table: only matched firewall-blocked domains are sent through the upstream proxy, while all other traffic connects directly. The plugin supports Web-based visual configuration, hot reloading, and local rule editing, and binds to the loopback address by default for security. After installation, it must be manually enabled on the settings page, making it suitable for scenarios that require fine-grained control over proxy traffic.
Read More