Why run it on the router
On the router, every device on the LAN works without a client installed, including TVs, game consoles and IoT devices, all handled uniformly. The cost is harder configuration and troubleshooting, and the router's performance becomes the bottleneck.
Options at a glance
| Option | Core | Notes |
|---|---|---|
| OpenClash | Mihomo | Web interface, config follows the Clash ecosystem |
| nikki | Mihomo | Also Mihomo-based, focused on transparent proxying |
| PassWall / PassWall 2 | Xray, sing-box and others | Multiple cores, its own node management |
| ShellCrash | Mihomo, sing-box | Shell scripts, suits many Linux mini devices |
| dae / daed | eBPF (own implementation) | Routes in the kernel layer, needs a recent Linux kernel |
Confirm before deploying
- CPU architecture: the package must match the router.
- Storage: cores and rule sets take space, so watch small flash devices.
- Memory: large rule sets use noticeable memory.
- Firmware version: plugins have requirements on the OpenWrt version and package manager; go by the project notes.
- Kernel version: eBPF options like dae require certain Linux kernel features.
How to choose
- Clash YAML subscription: OpenClash or nikki is the smoothest.
- Want several cores to choose from: the PassWall family.
- Not OpenWrt, or you prefer script management: ShellCrash.
- Comfortable with Linux and chasing performance: look into dae.
A reminder
Router config mistakes can affect the whole household network. Back up before changing anything and keep a way to restore direct connectivity.