On this page
Which one to take
China directly, the rest through a proxy, no rules of your own
TakePassWall
WhyThe lists are ready and on by default
Rules for Iran or Russia
TakePassWall 2
WhyIt has IR and RU groups and geo databases for both
A Persian or Russian interface
TakePassWall 2
WhyLanguage packages are in the release; PassWall has English and Chinese
The subscription asks for an HWID
TakePassWall 2
Why“Send HWID” is in the subscription settings
Familiar lists of domains and IPs, SmartDNS
TakePassWall
WhyIn PassWall 2 rules of the core take their place
A different node per device
Takeeither
WhyBoth have “Access control”
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 listsPassWall 2LuCI app: a proxy client for the whole network, rules inside the coreCore
PassWallThose you install: Xray, sing-box, shadowsocks-rust, SSR, Hysteria, NaïveProxyPassWall 2Xray, sing-box or both; shadowsocks-rust and SSR if installedSubscriptions
PassWallSeveral: link lists, SSD, Clash YAML; update by day or every N hoursPassWall 2Several: link lists, SSD, Clash YAML; update on schedule; can send HWIDHow it connects
PassWallTransparent proxy (REDIRECT or TProxy), plus SOCKS and HTTP portsPassWall 2Transparent proxy (REDIRECT or TProxy), plus a SOCKS portRules
PassWallDirect, proxy, block, GFW and China lists; plus Xray or sing-box shunt rulesPassWall 2Only Xray or sing-box shunt rules: geosite, geoip, domain, IP, port, sourcePer app
PassWallBy device: own node, lists, ports and DNS for an IP, MAC, range, interfacePassWall 2By device: own node, ports and DNS for an IP, MAC, range, interfaceInstallation
PassWallPackage feed from openwrt-passwall-build, or ipk and apk from releasesPassWall 2Package feed, or ipk and apk from releasesDNS
PassWallSplit DNS by ChinaDNS-NG, Dnsmasq or SmartDNS; FakeDNS if turned onPassWall 2DNS of the core: direct and remote (TCP, UDP, DoH), FakeDNS if turned onWhat it needs
PassWallPackages for OpenWrt up to 22.03, 23.05 to 24.10, from 25.12; needs dnsmasq-fullPassWall 2OpenWrt 21.02 or newer, at least 256 MB of RAMInterface
PassWallLuCI in English and Simplified ChinesePassWall 2LuCI in English, Chinese, Persian and RussianState of the project
PassWallSince January 2026 it lives at Openwrt-Passwall; the old address xiaorouji/openwrt-passwall doesn't openPassWall 2Since January 2026 it lives at Openwrt-Passwall; the old address xiaorouji/openwrt-passwall2 doesn't openWhere to get it
Systems
Both: OpenWrt
Protocols
Both: Shadowsocks, SSR, VMess, VLESS, Trojan, Hysteria 1/2, TUIC, AnyTLS, NaïveProxy, WireGuard, SSH
What it opens
Both: Links, one per line: “Add the node via the link”; or a form by hand
Getting links out
Both: “Build Share URL” and “Generate QRCode” on the node's page
Server
Both: Nodes are yours or a provider's; the “Server-Side” page runs a server on the router
Code
Both: GPL-3.0
Price
Both: Free, servers not included
Latest version
Both: 26.12.1-1, December 1, 2026
Who decides where traffic goes
In PassWall the decision comes before the core. ChinaDNS-NG, Dnsmasq or SmartDNS checks the name, the addresses land in nftables or ipset sets, and the firewall sends the packet to the proxy or straight out. Traffic that goes directly never reaches Xray. The “Mode” tab shows all of it: the lists and two default modes, one for TCP and one for UDP.
In PassWall 2 the node decides. The default one is rulenode, of the Shunt type: inside Xray or sing-box, rules in order compare geosite, geoip, domain, IP, port and source and hand the connection to a node of their own. There can be many rules, each with its exit, and DNS is handled by the same core. Direct domains can still skip the core: that is the “Direct DNS result write to IPSet” option. PassWall has Shunt nodes too, as an addition to its lists rather than the base.
Requirements follow from that. The PassWall 2 README asks for OpenWrt 21.02 and at least 256 MB of RAM. PassWall names no such numbers but brings dnsmasq-full and ChinaDNS-NG with it.
What differs right after installation
TCP ports through the proxy
PassWallCommon ones: 22, 80, 443, 993, 8443 and others
PassWall 2All, 1-65535
Proxied QUIC (
udp 443)PassWallBlocked
PassWall 2Not blocked
Node
PassWallNone chosen
PassWall 2
rulenode, with the stubexamplenodein itMarked for updates
PassWallgfwlist, chnlist, chnroute lists
PassWall 2geosite and geoip databases
Subscription User-Agent
PassWall
passwallPassWall 2
v2rayN/9.99Settings file
PassWall
/etc/config/passwallPassWall 2
/etc/config/passwall2
Switching without a shared import
There is no “take settings from the other one” button. Each page has its own backup, and it may not fit even another version of the same program, as the pages themselves warn.
- 1
Subscriptions
Copy the addresses from “Node Subscribe” in PassWall and add them in “Node Subscribe” of PassWall 2. If the provider looks at User-Agent, set the same one.
- 2
Single nodes
Open a node in PassWall and press “Build Share URL”. In PassWall 2 go to “Node List” and “Add the node via the link”, one per line. The same buttons work the other way.
- 3
Lists
“Direct List” and “Proxy List” become rules: domains with
domain:orfull:, addresses as IP and CIDR. The ready GFW and China lists turn intogeosite:andgeoip:. - 4
Devices
Fill “Access control” in again. The fields look alike, but PassWall's lists aren't among them.
- 5
Remove the stub
In PassWall 2 put a real node into
rulenodein place ofexamplenode, or the proxy goes to the example address. - 6
Turn the old one off
Clear “Main switch” in PassWall before PassWall 2 starts, so that two sets of rules don't argue.
Where people stumble
- Older articles say PassWall has separate TCP and UDP nodes. Now there is one “Proxy Node”, and only the default mode is set separately.
- The xiaorouji addresses answer 404. Since January 2026 both repositories are at Openwrt-Passwall, and the Makefile carries the new name.
- On OpenWrt 25.12 a package from a release is installed with
--allow-untrusted, without a signature check. The openwrt-passwall-build feed with its key avoids that. - PassWall 2 is nearly empty without geo databases, so check that
v2ray-geositeandv2ray-geoipare installed. - The package doesn't pull a core in: install Xray or sing-box from the feed or on the “App Update” page.
- podkop gets along with neither: its package declares a conflict with both.
- PassWall 2 ships rules for China, Iran and Russia at once; turn off the groups you don't need.
Sources
- PassWall: default config
- PassWall 2: default config
- Openwrt-Passwall/openwrt-passwall: README
- PassWall: package Makefile
- PassWall: basic settings page
- PassWall: access control page
- PassWall: subscription parser
- openwrt-passwall-build: README
- Openwrt-Passwall/openwrt-passwall2: README
- PassWall 2: package Makefile
- PassWall 2: basic settings page
- PassWall 2: shunt rule page
- PassWall 2: subscription settings
- PassWall 2: subscription parser