explaingit

vernesong/openclash

📈 Trending25,842HTMLAudience · ops devopsComplexity · 3/5ActiveLicenseSetup · hard

TLDR

A router plugin that runs a proxy client on OpenWrt, letting every connected device use encrypted tunneling without individual setup.

Mindmap

mindmap
  root((repo))
    What it does
      Proxy on router
      Auto device routing
      Visual rule config
    Protocols supported
      Shadowsocks
      Vmess
      Trojan
    Use cases
      Selective website routing
      Network-wide proxy
      Router-level filtering
    Tech stack
      OpenWrt
      Mihomo
      LuCI interface
    Setup requirements
      OpenWrt router
      Web browser access
      Proxy protocol support

Things people build with this

USE CASE 1

Route specific websites through a proxy server while keeping other traffic direct.

USE CASE 2

Set up network-wide encrypted tunneling for all devices on your home or office network.

USE CASE 3

Manage proxy rules visually through a web interface instead of editing configuration files.

Tech stack

OpenWrtMihomoLuCIHTMLShadowsocksVmessTrojan

Getting it running

Difficulty · hard Time to first run · 1day+

Requires OpenWrt device with compatible hardware, flashing custom firmware, and configuring proxy protocols; no quick local demo possible.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

OpenClash is a plugin that runs the Mihomo (Clash) proxy client on OpenWrt, an open-source operating system designed for routers and embedded network devices. In plain terms, it lets you install a network proxy tool directly on your router, so every device connected to that router automatically benefits from the proxy without needing individual configuration. The proxy client supports several popular proxy protocols including Shadowsocks, ShadowsocksR, Vmess, Trojan, and Snell, these are encrypted tunneling methods commonly used to route internet traffic through a remote server. OpenClash adds a web-based management interface (via LuCI, OpenWrt's standard graphical interface) so you can configure routing rules visually rather than editing configuration files by hand. You can set flexible rules to decide which traffic goes through the proxy and which connects directly. You would use OpenClash if you have a router running OpenWrt and want to apply proxy routing rules at the network level, for example, selectively routing certain websites through a proxy server. The README is primarily in Chinese. It is licensed under MIT and its proxy core is based on the Mihomo project by MetaCubeX.

Copy-paste prompts

Prompt 1
How do I install OpenClash on my OpenWrt router and configure it to route traffic through a Shadowsocks proxy?
Prompt 2
Show me how to set up routing rules in OpenClash so that only certain domains go through the proxy.
Prompt 3
What proxy protocols does OpenClash support and how do I add a new proxy server to the configuration?
Prompt 4
How do I access the OpenClash web interface and what settings should I configure first?
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.