PassWall 2 OpenWrt Router Tutorial: Install the Plugin, Import a Proxy Subscription, and Connect Every Device | Airport Chinese (Screenshots Included)

October 16, 2026
Install PassWall 2 on OpenWrt, import a proxy-provider subscription, test nodes, configure split routing, and troubleshoot connectivity across your home network.

Preparation

  • An OpenWrt router, preferably running the latest system version
  • A valid proxy service subscription URL that supports Clash, Surge, or V2Ray formats
  • Access to GitHub or the official website to download the installation packages

Advanced Settings

PassWall 2 is a LuCI plugin installed on OpenWrt. Once installed, the router sends traffic that requires a proxy through the selected node, so connected phones, TVs, and other devices do not need any additional software. You can assign either Xray or sing-box as the core for each protocol. The project is hosted under the Openwrt-Passwall organization on GitHub and has more than 3,600 stars. When I verified this article on September 14, 2026, the latest version, 26.9.12-2, had been released the previous day.

It does the same job as OpenClash, but the approach is very different. OpenClash transfers the policy groups from a proxy service subscription directly to the router, with an interface and workflow similar to Clash on a computer. PassWall 2 normally lets you select one node for all traffic. For split routing, you switch to its built-in split-routing node and let Xray or sing-box rules route the traffic. OpenClash will feel more familiar if you are used to the Clash dashboard. If you simply want to select a node on the router and be done, PassWall 2 is easier to manage.

This guide assumes that you already have a router running OpenWrt, can sign in to LuCI, and have purchased a proxy service with access to its subscription URL. The result is straightforward: any device on your LAN can connect to the router’s Wi-Fi and directly open websites that would normally be inaccessible.

Preparation

First, confirm three things.

Firmware version. The official README requires OpenWrt 21.02 or later, LuCI 17.01 or later, and at least 256 MB of memory. Older, small MIPS routers often do not have enough flash storage for both the Xray and sing-box cores. I do not recommend forcing the installation on this type of device.

CPU architecture. In LuCI, go to Status (状态) → Overview (概览). In the System (系统) section, look for the Architecture (架构) row. Common values include x86_64, aarch64_cortex-a53, and mipsel_24kc. You must select the dependency package that matches this value; otherwise, opkg will immediately report an architecture mismatch.

Subscription URL. Sign in to your proxy provider’s dashboard and copy it. The next section includes screenshots showing where to find it. If you do not have a proxy service yet, there is a recommendations page at the end of this article.

Also determine whether this is your main router or a bypass router. Devices connected to a main router’s Wi-Fi will automatically use it. With a bypass router, you must manually point each device’s gateway and DNS settings to the bypass router’s address. Otherwise, the router may appear to work correctly while websites remain inaccessible on your devices.

Step 1: Install the PassWall 2 Plugin

First, check the Services (服务) menu in the LuCI sidebar. Many third-party firmware builds already include PassWall 2. If you see it in the menu, skip directly to Step 2. The router shown in the screenshot is configured this way.

If it is not installed, go to the Openwrt-Passwall/openwrt-passwall2 Releases page on GitHub and download three files: the main plugin package luci-app-passwall2_版本号_all.ipk, the Chinese language pack luci-i18n-passwall2-zh-cn_版本号_all.ipk, and the architecture-specific dependency package packages_ipk_架构名.zip. If your newer firmware uses the apk package manager, download the corresponding .apk files and the package beginning with packages_apk_. If you are not sure which package manager your router uses, connect to it over SSH and enter opkg. If the command responds, the router uses opkg.

Upload all three files to the router’s /tmp directory. LuCI has an Upload Package (上传软件包) button under System (系统) → Software (软件包), but it can upload only one ipk file at a time. You will still need scp or WinSCP to transfer the dependency zip file. To connect over SSH, enter ssh root@路由器地址 in your computer’s terminal. Windows PowerShell includes this command by default, and the password is the same as your LuCI login password. After transferring the files, connect through SSH, extract the zip file, install the dependencies and core packages, and then install the main plugin and language pack.

cd /tmp
opkg update
opkg install unzip
mkdir pw2 && unzip packages_ipk_x86_64.zip -d pw2
opkg install pw2/*.ipk
opkg install luci-app-passwall2_*.ipk luci-i18n-passwall2-zh-cn_*.ipk

Replace x86_64 with the architecture name shown on the Overview (概览) page. If opkg install pw2/*.ipk reports an incorrect dependency order, run the same command again. It will usually succeed on the second attempt.

On systems that use apk, replace the two opkg installation lines with the README command apk add --allow-untrusted 文件名.apk. Installing every package in the zip file is the easiest approach. On devices with limited flash storage, install at least one of xray-core or sing-box, along with geoview, v2ray-geoip, v2ray-geosite, and tcping. These are mandatory plugin dependencies, and the main package cannot be installed without them.

After installation, refresh the page. PassWall 2 (PassWall 2) should now appear under Services (服务). If it does not, sign out and sign back in. If it is still missing, run /etc/init.d/rpcd restart as instructed in the README. Open PassWall 2 to see its main interface, with a row of tabs at the top, followed by the Core status and three connection test cards.

The screenshot shows my system after split routing has been configured. The Node (节点) field is set to the main split-routing node named Xray Split Routing (Xray 分流), with a series of rules beneath it. The Node (节点) field will be empty immediately after installation, so ignore split routing for now.

Step 2: Add a Proxy Service Subscription

First, open your proxy provider’s dashboard and copy the subscription URL. Provider dashboards differ, but there are commonly

Troubleshooting Common Issues

two layouts. One layout has a row of buttons in the Quick Import (便捷导入) section, with separate formats for different clients. For PassWall 2, prioritize a general-purpose format such as Copy V2Ray Subscription Link (复制 V2Ray 订阅链接). If that option is unavailable, Copy Clash Subscription (复制 Clash 订阅) will also work.

The other layout has only a One-click Subscription (一键订阅) option. Open its menu and select Copy Subscription URL (复制订阅地址).

PassWall 2 supports both formats. I reviewed the current subscribe.lua file in the repository on September 14, 2026. It first attempts to parse the subscription as Clash YAML. If it recognizes the proxies section, it imports the entries as Clash nodes. If not, it decodes the content as base64 and reads ss, vmess, vless, trojan, and hysteria2 share links line by line. Older versions may not recognize the Clash format, so I still recommend trying the general-purpose format first.

Return to LuCI, go to Services (服务) → PassWall 2 (PassWall 2), and select the Node Subscription (节点订阅) tab at the top. The upper section contains global settings. By default, the Discard List (丢弃列表) includes Expiration Time (过期时间), Remaining Traffic (剩余流量), QQ Group (QQ群), and Official Website (官网). Informational entries inserted into the subscription by the provider will be filtered out if their names contain these terms. Farther down, you can choose which core each protocol uses; leave these settings at their defaults. Scroll to the bottom of the page. If the subscription list says No Configurations Yet (尚无任何配置), click Add (添加).

You only need to complete two fields on the subscription editing page. Enter any name under Subscription Remarks (订阅备注), then paste the URL you just copied into Subscription URL (订阅网址). Allow Insecure Connections (允许不安全连接) skips certificate verification. You do not need to enable it for a normal https URL; return and enable it only if the log reports a certificate error. Leave the filtering mode and the core for each protocol set to Use Global Configuration (使用全局配置). I recommend enabling Automatically Update Subscription (开启自动更新订阅). The default schedule is midnight every day, so the router will automatically pick up provider node changes by the following morning. Leave User Agent (用户代理) unchanged. Click Save & Apply (保存并应用) in the lower-right corner.

There is one easily missed step here. Saving only records the URL; it does not fetch the nodes. Return to the Node Subscription (节点订阅) tab and click Manually Update All Subscriptions (手动订阅全部), or click Manually Update Subscription (手动订阅) at the end of your subscription’s row. This is what the red message “Please enter the subscription URL, save and apply, and then update the subscription manually” (请输入订阅网址保存应用后再手动订阅) means. After a few seconds, switch to Node List (节点列表). The page will show how many nodes were retrieved from the subscription.

Step 3: Select a Node, Enable PassWall 2, and Verify the Connection

The Node List (节点列表) contains all nodes from your proxy service. Automatic Latency Detection (自动检测延迟) uses TCP Ping by default, and the TCPing column beside each node displays the latency to its server in milliseconds. Nodes with latency in the tens of milliseconds are generally located closer to you. The list may also contain entries with names such as Plan Expiration (套餐到期) or Remaining Traffic (剩余流量). These are informational entries inserted by the provider and can be ignored. Choose a low-latency node and click Use (使用) on the right side of its row.

Return to Basic Settings (基本设置). The Node (节点) field should now display the node you just selected. Make sure Main Switch (主开关) is enabled and leave Router Local Proxy (路由器本机代理) enabled at its default setting. Newer versions also have a Client Proxy (客户端代理) option in this area, which controls whether LAN devices use the proxy. This must be enabled. Click Save & Apply (保存并应用), wait a few seconds, and the Core card at the top should change to Running (运行中). If the Google Connection (谷歌连接) and GitHub Connection (GitHub 连接) cards display latency values, the router itself can now access the internet through the node.

A working router does not necessarily mean its connected devices are working, so always perform a final test from a LAN device. Connect your phone to the router’s Wi-Fi, disable any proxy app on the phone, and open a website that is normally inaccessible, such as YouTube. If videos load, the setup is working. Next, open a website hosted in mainland China. It may load a little more slowly than usual because you are currently using a single node, and PassWall 2 sends all traffic through that node in this mode. As a result, traffic to Chinese websites takes an unnecessary detour. This configuration is sufficient for verification, but you should switch to split routing for long-term use, as explained in the next section.

You should also run a DNS leak test. DNS handling through a router-based transparent proxy differs from that of a desktop client. On PassWall 2’s DNS (DNS) tab, you can change the Remote DNS Protocol (远程 DNS 协议) to DoH, and there is also a FakeDNS switch. The troubleshooting article linked at the end explains how to run the test and which settings to change if a leak is detected.

Everyday Usage Tips

Update Subscriptions

If automatic updates are enabled, no manual action is required. The router will retrieve the subscription every day at midnight. If your provider announces a node change or a large number of nodes in the list suddenly time out, open the Node Subscription (节点订阅) tab and click Manually Update All Subscriptions (手动订阅全部).

Switch Nodes

In the Node List (节点列表), click Use (使用) on the row of the node you want to switch to. Alternatively, select another Node (节点) from the drop-down menu under Basic Settings (基本设置). In either case, you must click Save & Apply (保存并应用) before the change takes effect. The Test (测试) link in the list lets you test an individual node. The URL Test (URL 测试) actually accesses a website through the node, so it is a better indication of real-world usability than TCPing.

Split-Routing Mode

After completing verification, I recommend switching to a split-routing node. The first row in the Node List (节点列表) is Xray Split Routing (Xray 分流). Click Use (使用), then return to Basic Settings (基本设置). A series of rules will expand beneath the Node (节点) field, as shown in the screenshot from Step 1. Select a destination for each rule: Direct Connection (直连), Disabled (关闭), Default (默认), or a specific node. My setup points Proxy to a stable node and leaves China set to Direct Connection (直连). Unless you have specific requirements for services such as Netflix or OpenAI, select Disabled (关闭) or Default (默认). Scroll farther down to find the Default Node (默认节点) setting. Traffic that does not match any rule uses this node, so point it to the same node as well. Rule names vary slightly between versions. In the version shown in the screenshot, the rule is called China; use the name displayed in your version.

After enabling split routing, check the cards at the top again. The Baidu Connection (百度连接) latency should drop noticeably because traffic to Chinese websites now uses a direct connection. If you want a particular device to bypass the proxy entirely, use the Access Control (访问控制) tab to exclude it by IP or MAC address.

The Node List Is Still Empty After a Manual Subscription Update

First, check the subscription-related entries on the View Log (查看日志) tab. A 404 or parsing error usually indicates a subscription format problem. Return to your provider’s dashboard, choose another format, and try again. A connection timeout usually means the subscription domain itself is blocked on your network while the router does not yet have a usable node. First, under “

Screenshots (from the public tutorial on jichangtuijiancn.co; UI may differ by app version)

The top of the PassWall 2 main interface contains tabs such as Basic Settings (基本设置), Node List (节点列表), and Node Subscription (节点订阅), followed by the Core status and three connection-latency cards

Fig. 1: The top of the PassWall 2 main interface contains tabs such as Basic Settings (基本设置), Node List (节点列表), and Node Subscription (节点订阅), followed by the Core status and three connection-latency cards

The Quick Import (便捷导入) section of the proxy provider’s dashboard displays a row of subscription-copy buttons organized by client; clicking one copies the subscription URL to the clipboard

Fig. 2: The Quick Import (便捷导入) section of the proxy provider’s dashboard displays a row of subscription-copy buttons organized by client; clicking one copies the subscription URL to the clipboard

On another type of proxy provider dashboard, clicking One-click Subscription (一键订阅) opens a menu; select Copy Subscription URL (复制订阅地址) to obtain a general-purpose subscription link

Fig. 3: On another type of proxy provider dashboard, clicking One-click Subscription (一键订阅) opens a menu; select Copy Subscription URL (复制订阅地址) to obtain a general-purpose subscription link

The upper section of PassWall 2’s Node Subscription (节点订阅) tab contains filtering keywords and core settings for each protocol; the subscription list at the bottom is empty, so click Add (添加) to create a subscription

Fig. 4: The upper section of PassWall 2’s Node Subscription (节点订阅) tab contains filtering keywords and core settings for each protocol; the subscription list at the bottom is empty, so click Add (添加) to create a subscription

On the subscription editing page, enter the Subscription Remarks (订阅备注) and Subscription URL (订阅网址), enable Automatically Update Subscription (开启自动更新订阅), and click Save & Apply (保存并应用) in the lower-right corner

Fig. 5: On the subscription editing page, enter the Subscription Remarks (订阅备注) and Subscription URL (订阅网址), enable Automatically Update Subscription (开启自动更新订阅), and click Save & Apply (保存并应用) in the lower-right corner

The Node List (节点列表) tab displays every node retrieved from the subscription and its TCPing latency; click Use (使用) on the row of the node you want

Fig. 6: The Node List (节点列表) tab displays every node retrieved from the subscription and its TCPing latency; click Use (使用) on the row of the node you want

The Node (节点) field on the Basic Settings (基本设置) page shows the selected node and Main Switch (主开关) is enabled; after clicking Save & Apply (保存并应用), the Core card changes to Running (运行中), and the Google and GitHub connection tests display latency values

Fig. 7: The Node (节点) field on the Basic Settings (基本设置) page shows the selected node and Main Switch (主开关) is enabled; after clicking Save & Apply (保存并应用), the Core card changes to Running (运行中), and the Google and GitHub connection tests display latency values

Related Resources

  1. 检测IP纯净度:ippure.com
  2. 免费节点:downloadnth、freesocks、openrung
  3. 专线搭建方案:2026中国大陆专线建设方案
  4. 美国静态住宅IP的VPN推荐:thank.my.id
  5. 带静态住宅的机场:https://JTMRHF.快车.com(复制粘贴到浏览器打开)或者 https://jtmrhf.xn--66tw07h.com
  6. 带静态住宅IP的VPS(独立站+线路搭建):lisahost
  7. 极速VPN:vpn07

Related Posts

Public
Dec 4, 2026

Where do after-hours B2B inquiries get stuck for a small US sales team?

After-hours inquiries usually stall in a personal inbox, a shared thread with no night owner, an auto-reply with no next step, a CRM record that is not in an off-hours queue, or a timezone handoff that was never named.

Public
Dec 2, 2026

How can a sales team keep buyer research and CRM records connected?

Keep research in the same CRM account the follow-up owner will open: sources and open questions, the live thread, a named owner, and a write-back of what any AI workflow found or said. A side spreadsheet is not a connection.

Public
Nov 30, 2026

What is a qualified handoff from an AI SDR to a closer?

A qualified handoff is not a sent reply or a row in a report. It is a package a closer can continue without re-asking the buyer: the same-channel thread, qualification against a shared bar, a named owner in the CRM, what the AI already said, and a concrete next step.

Public
Nov 26, 2026

Who should connect inbound inquiries to sales follow-up: shared inbox, CRM, or an AI SDR?

Use a shared inbox for visibility, keep the CRM as the system of record, and let an AI SDR workflow with human gates own the connection: catch the inquiry on the same channel, qualify it, write a named owner into the CRM, and hand off the thread. Seeing the message is not the same as connecting it to follow-up.

Public
Nov 24, 2026

Apollo vs an AI SDR: who owns the list, and who owns the follow-up?

Use Apollo when the bottleneck is the list. Use an AI SDR with human gates when names already exist but follow-up still breaks across email, WhatsApp, time zones, and after-hours. Paying for Apollo does not automatically close that second gap.

Public
Nov 10, 2026

Why Clay Isn't Your Whole Sales Workflow: Where Each Layer Fits

Clay alone does not replace an AI sales workflow because it is a data, enrichment, and orchestration layer—not the workflow and reply layer that turns a list into a timely, approved, contextual outbound motion.

Public
Nov 3, 2026

What to Test During an AI SDR Trial Before Paying

A 7-day checklist for small US B2B teams selling internationally: test reply quality, human handoff, and after-hours coverage, not lead volume, before you pay for an AI SDR.

Public
Nov 2, 2026

What Is an AI SDR Workflow? A Plain Guide for Small Cross-Border B2B Teams

An AI SDR workflow turns inbound and outbound leads into qualified conversations: intake, first reply, screening, human review, then handoff—built for small US B2B teams selling across time zones.

Public
Oct 23, 2026

Why AI SDR Cold Outreach Loses Approval Context (And How to Keep It)

Cold outreach stalls when the AI SDR cannot see who approved the message, what the buyer already said, or which reply is safe. Keep approval, thread context, and human gates in one workflow before you scale volume.

Public
Oct 23, 2026

How to Keep WhatsApp + Human Review in an AI SDR Workflow

Pause AI on one WhatsApp thread, let a human reply from the same number, write the decision back, then resume. Here is a review checklist, a handoff flow, and the rules that keep buyers from repeating themselves.