PassWall vs OpenClash on OpenWrt

With a Clash subscription that already has groups and rules, OpenClash is the shorter way: it runs the profile on mihomo as it is and shows connections in a panel. With a handful of vless:// and ss:// links, ready GFW and China lists and a different node per device in mind, PassWall fits better. Both are free, both live in LuCI, and both take over the router's DNS, so keep only one of them running.

Updated

Clash checker: config.yaml mistakes, line by line
On this page

Which one to take

  • A Clash subscription with rules and groups

    TakeOpenClash

    WhyThe rules come with the profile and update with it

  • A pile of single links

    TakePassWall

    WhyThey are pasted as a list; OpenClash needs a converter

  • GFW and China lists without YAML

    TakePassWall

    WhyThey are included and can be updated on a schedule

  • Its own node for each device, from the web page

    TakePassWall

    Why“Access control” sets node, ports and DNS per device

  • You want TUN or a panel with connections

    TakeOpenClash

    WhyTUN and mix modes, MetaCubeXD and Zashboard

  • A server on the router itself

    TakePassWall

    WhyIt has a “Server-Side” page, OpenClash doesn't

Side by side

Versions and prices change. Everything in the table was checked on December 1, 2026 against the sources at the end of the page.

  • What it is

    PassWallLuCI app: a proxy client for the whole network, rules by ready lists
    OpenClashLuCI app that runs mihomo with a Clash profile for the whole network
  • Core

    PassWallThose you install: Xray, sing-box, shadowsocks-rust, SSR, Hysteria, NaïveProxy
    OpenClashmihomo (Clash Meta), downloaded separately; the Smart build by choice
  • Protocols

    PassWallShadowsocks, SSR, VMess, VLESS, Trojan, Hysteria 1/2, TUIC, AnyTLS, NaïveProxy, WireGuard, SSH
    OpenClashShadowsocks, SSR, VMess, VLESS, Trojan, Snell, TUIC, Hysteria 1/2 and others in mihomo
  • What it opens

    PassWallLinks, one per line: “Add the node via the link”; or a form by hand
    OpenClashClash YAML files; single links only through the online converter
  • Subscriptions

    PassWallSeveral: link lists, SSD, Clash YAML; update by day or every N hours
    OpenClashSeveral Clash YAML, on schedule; other formats through Subconverter
  • Getting links out

    PassWall“Build Share URL” and “Generate QRCode” on the node's page
    OpenClash“Download Config” in “Config Manage”: the whole YAML file
  • How it connects

    PassWallTransparent proxy (REDIRECT or TProxy), plus SOCKS and HTTP ports
    OpenClashTransparent proxy, TUN or both; fake-ip or redir-host
  • Rules

    PassWallDirect, proxy, block, GFW and China lists; plus Xray or sing-box shunt rules
    OpenClashClash rules from the profile, rule and proxy providers, groups, overwrite modules
  • Per app

    PassWallBy device: own node, lists, ports and DNS for an IP, MAC, range, interface
    OpenClashBy device: “Black&White” list of IPs or MACs; by interface, port and user
  • Server

    PassWallNodes are yours or a provider's; the “Server-Side” page runs a server on the router
    OpenClashNodes are yours or a provider's; it doesn't set up a server
  • Installation

    PassWallPackage feed from openwrt-passwall-build, or ipk and apk from releases
    OpenClashThe install.sh script, or ipk and apk from releases
  • DNS

    PassWallSplit DNS by ChinaDNS-NG, Dnsmasq or SmartDNS; FakeDNS if turned on
    OpenClashDNS of mihomo; dnsmasq hands requests over, or port 53 is redirected
  • What it needs

    PassWallPackages for OpenWrt up to 22.03, 23.05 to 24.10, from 25.12; needs dnsmasq-full
    OpenClashOpenWrt 18.06 or newer, dnsmasq-full, Ruby; has a small flash mode
  • Interface

    PassWallLuCI in English and Simplified Chinese
    OpenClashLuCI in English and Chinese; MetaCubeXD, Zashboard and Yacd panels
  • Code

    PassWallGPL-3.0
    OpenClashMIT. The mihomo core is a separate project under GPL-3.0
  • Latest version

    PassWall26.12.1-1, December 1, 2026
    OpenClash0.48.002, October 12, 2026
  • State of the project

    PassWallSince January 2026 it lives at Openwrt-Passwall; the old address xiaorouji/openwrt-passwall doesn't open
  • Where to get it

  • Systems

    Both: OpenWrt

  • Price

    Both: Free, servers not included

A finished profile or a set you build

In OpenClash the main file is a Clash profile in YAML. Nodes, groups and rules are inside, usually written by the provider. OpenClash lays its own part on top (ports, DNS, TUN, modules from “Overwrite Settings”) and starts mihomo. To get another rule you edit the profile, write a module or use a custom list. Change the subscription, and the network behaves differently.

PassWall thinks in nodes. You choose a “Proxy Node”, switch on lists in the “Mode” tab (“Direct List”, “Proxy List”, “Block List”, “GFW List”, “China List”) and say what happens to everything else. For finer splitting there is a Shunt node, where Xray or sing-box sorts traffic by geosite and geoip. You install the core you want, and the protocols depend on it.

DNS shows the same difference. PassWall divides requests between a direct and a remote server with ChinaDNS-NG, Dnsmasq or SmartDNS. OpenClash gives names to mihomo, and in fake-ip mode devices receive placeholder addresses. So the same complaint, “the site went the wrong way”, is cured by a list in PassWall and by a rule or a fake-ip filter in OpenClash.

Where things are in the menu

  • Add a subscription

    PassWall“Node Subscribe”

    OpenClash“Config Subscribe”

  • Add one node

    PassWall“Node List”, “Add the node via the link”

    OpenClash“Config Manage”, “Servers Manage”

  • Turn on and choose a node

    PassWall“Basic Settings”: “Main switch”, “Proxy Node”

    OpenClash“Overviews”, and the node in the panel

  • Your domains past or through

    PassWall“Rule List”

    OpenClashRules of the profile or “Overwrite Settings”

  • Leave a device out

    PassWall“Access control”

    OpenClash“Plugin Settings”, “Black&White”

  • Update the core

    PassWall“App Update”

    OpenClash“Plugin Settings”, “Version Update”

Moving subscriptions and nodes

  1. 1

    OpenClash to PassWall

    Copy the address from “Subscribe Address” and add it in “Node Subscribe”. PassWall parses Clash YAML by itself but takes only nodes: groups and rules stay behind.

  2. 2

    PassWall to OpenClash, Clash subscription

    Use the same address in “Config Subscribe”. If the provider answers by User-Agent, pick clash.meta or clash-verge in OpenClash.

  3. 3

    If the subscription is a list of links

    OpenClash won't take that file: it wants YAML with proxies or proxy-providers. Turn on “Subscribe Convert Online”, or enter the address as a proxy-provider in “Servers Manage”.

  4. 4

    One node out of PassWall

    On the node's page “Build Share URL” gives a link and “Generate QRCode” a code. OpenClash won't paste a link directly, so write the node in YAML.

  5. 5

    A profile out of OpenClash

    “Config Manage”, then “Download Config”: the file suits another Clash client. “Download Running Config” gives what came out after the overwrites.

Traps of this pair

  • Don't run them together: both reconfigure dnsmasq and the firewall. OpenClash's guide lists another plugin touching dnsmasq among the causes of “the internet is gone”.
  • “Subscribe Convert Online” sends your links to a third-party server, and OpenClash prints a privacy warning next to that field.
  • Out of the box PassWall proxies a list of common TCP ports, not all, and drops proxied udp 443. If an app with an unusual port fails, look in “Other Settings”.
  • OpenClash downloads its core separately. If the router can't reach GitHub, put a file named clash_meta into /etc/openclash/core/ by hand.
  • In fake-ip mode OpenClash's device lists by IP need DNS redirected by the firewall; lists by MAC don't.
  • The OpenClash release notes advise against IPv6, ask to turn off secure DNS in the browser, and send torrents to redir mode.
  • PassWall doesn't offer the separate NaïveProxy program on MIPS routers.

Sources

How we write and check

Questions

Does PassWall read a Clash subscription?

Yes, it parses the YAML itself without an outside converter. It takes the nodes only; the profile's rules and groups don't come along.

Which core does OpenClash use?

mihomo, the former Clash Meta. A Smart build by the same author can be chosen instead.

Where is PassWall if the xiaorouji page doesn't open?

Since January 2026 the repository is at the Openwrt-Passwall organization, and openwrt-passwall-build makes the packages.

Do they work on OpenWrt 25.12 with apk?

Yes, releases of both contain ipk and apk packages.

How do I see which node a site used?

In OpenClash open a panel, it lists live connections and the rule that matched. In PassWall turn on “Enable Node Log” in “Basic Settings” and read the log.

The same Clash subscription on a computer and a phone

Veli opens base64 and Clash YAML subscriptions on Windows, macOS, Linux, Android and Android TV. Rules for sites and programs are set in the app.