One SSID, Everything Proxied: Routing an OpenWrt Subnet into mihomo
A separate subnet on OpenWrt, bound to its own SSID, with source-based policy routing that sends the entire subnet to a mihomo TUN gateway sitting on a different subnet. Clients configure nothing: join the SSID and traffic is proxied, switch back to the main WiFi and it is direct again. There is one well-hidden trap at the end — ImmortalWRT’s DNS redirect. The gateway itself is built in the previous post: Running mihomo as a LAN gateway with Docker macvlan. ...