Skip to main content

Router Proxy Guide (OpenWrt PassWall)

Routers running OpenWrt can provide network-wide proxy services for all connected devices.

Prerequisites

Ensure your router is running a compatible firmware (e.g., immortalwrt, leanwrt) with luci-app-passwall installed.

Step 1: Access Interface

  1. Log in to your router's administration panel (usually 192.168.1.1).
  2. Go to Services -> PassWall.
  3. Go to the Nodes tab.

Step 2: Add Subscription

  1. Click on Subscription Settings.
  2. Click Add, enter a name, and paste your subscription URL.
  3. Scroll down and click Save & Apply.
  4. Click Update All Subscriptions to fetch the server list.

Step 3: Configure Logic

  1. Go back to the Nodes tab.
  2. You will see a list of imported servers. You can test latency by clicking Ping.
  3. Go to the Main Settings tab.
  4. Set TCP Node to the server you want to use.
  5. Set UDP Node to same as TCP node or a specific UDP server.

Step 4: Enable Service

  1. Turn on the Main Switch at the top.
  2. Select Global Routing or Bypass Mainland China depending on your needs.
  3. Click Save & Apply.
  4. Check the Status to see if the connection is successful.
Pro Tip

Use the Smart DNS feature in PassWall to prevent DNS leaking and improve resolution speed.