Skip to main content
Back to Tutorials
CONNECTION GUIDE06 / 06
Router setup icon

Router Setup Tutorial

This tutorial will guide you through setting up and using the proxy service on your router. With router-level configuration, all devices connected to the router can automatically enjoy acceleration.

Check Router Compatibility

Our router proxy service supports multiple mainstream router firmware options, including:

  • OpenWrt / LEDE (recommended for best performance and features)
  • DD-WRT
  • Asuswrt-Merlin
  • Some stock firmware (e.g., high-end ASUS routers)
Note: This tutorial applies to x86 soft routers. It is not suitable for traditional hardware routers.

Install OpenClash on OpenWrt

The following steps use OpenWrt as an example. Other firmware may be similar but with different details:

Paid Content

Unlock the full tutorial after subscribing

Buy Now(将在新窗口打开) (opens in a new window)

Method 1: Using the Web UI

  1. Log in to the OpenWrt Web admin interface
  2. Click "System" -> "Software"
  3. Click "Update lists"
  4. Search for "openclash" in the filter box
  5. Find the OpenClash package and click "Install"
  6. After installation, go to "Services" -> "OpenClash" to open the configuration page

Method 2: Using SSH

If you prefer the command line, connect to your router via SSH and run:

opkg update
opkg install openclash

Method 3: Manual Installation

If your router can't access the internet or you can't install from software sources, you can download and install manually:

  1. Download an OpenClash package (.ipk) that matches your router architecture fromGitHub(将在新窗口打开) (opens in a new window)
  2. Upload the downloaded file to your router
  3. Connect to the router via SSH, then run:opkg install /path/to/openclash_xxx.ipk

Sign Up or Log In

Before configuring OpenClash, you need to log in to your account to access your subscription. If you don't have an account yet, click the button below to sign up:

Sign-up includes the following steps:

  1. Enter your email address and password
  2. Accept the Terms of Service and Privacy Policy
  3. Click "Create Account" to complete sign-up

If you already have an account, just enter your email address and password to log in.

Purchase a Plan

After logging in, you need to purchase a subscription plan that suits you:

  1. Click "Subscription" in the left menu
  2. Select "Purchase Subscription"
  3. Choose a plan and complete payment

After purchase, your account will immediately receive the corresponding data allowance and validity period.

Configure OpenClash

Paid Content

Unlock the full tutorial after subscribing

Buy Now(将在新窗口打开) (opens in a new window)

After your subscription is activated, configure the OpenClash connection settings:

  1. In the Web UI, navigate to "Services" -> "OpenClash"
  2. Add your subscription URL in the "Config Subscription" tab
  3. Click "Update config" to fetch the latest configuration
  4. Select a configuration profile and apply it
  5. Go to the "Status" tab and click "Start OpenClash"

Once configured, the OpenClash service will start automatically. All devices connected through the router will enjoy acceleration.

FAQ

Q01What if the router can't access the internet after installation?

If the router can't access the internet normally after installing OpenClash, try the following:

  1. Temporarily stop the OpenClash service:
  2. Check the router logs:
  3. Make sure your account information is correct and you have sufficient data
  4. Try selecting a different server node
  5. If none of the above works, restore a recent backup or reset the router
Q02How do I update OpenClash on the router?

When a new version is available, you can update it in the following ways:

  1. Web UI: Go to "System" → "Software", click "Update lists", then search for and update openclash
  2. Command line:
Q03What if I run out of data?

If your subscription data runs out, you have a few options:

  • Log in to the website to purchase more data
  • Wait for next month's data reset (for monthly plans)
  • Temporarily disable acceleration and enable it only when needed to save data