# Passwall

{% hint style="info" %}
Many third-party modded OpenWRT designed for the Chinese market are pre-installed with Passwall.&#x20;

To see if your router will be installed with Passwall, please contact your router provider before buying it.
{% endhint %}

{% hint style="warning" %}
We only provide instructions on how to setup Passwall with WannaFlix. We do not provide instructions on how to install Passwall on your router if it isn't already installed.
{% endhint %}

## Add your API link

1. Login to your client area dashboard
2. Go to Setup for Router > OpenWRT Passwall
3. Click "Copy the API"
4. Login to your router and open your Passwall app

![](https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lc04095R6CkPoB8xaCl%2F-MRpxebsVtObHW5rQfwa%2F-MRpxvdA63BqrGePJPKY%2Fimage_1gpnm4i.png?alt=media\&token=3024b945-a5df-481b-b51f-d589372fe388)

5\. Go to the Subscribe/节点订阅 tab

6\. Click Add/添加 and paste the API in the URL box

7\. Tick the box to enable the API&#x20;

8\. Click Save & Activate/保存&应用

![](https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lc04095R6CkPoB8xaCl%2F-MRpy3UrWEZE1qZGgcGe%2F-MRpy7tvvRfx2LLS6b9T%2Fimage_51nknf.png?alt=media\&token=5df6164f-20cd-4c43-9c35-161cf0732547)

9\. Click Manually update server list/手动订阅 to pull the servers from the API

![](https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lc04095R6CkPoB8xaCl%2F-MRpy3UrWEZE1qZGgcGe%2F-MRpyCy-b8p_v_sJRLJv%2Fimage_d3w3xz.png?alt=media\&token=ae17d5da-0001-42f1-bd14-9cfd7f2424b3)

#### Automatically update the server list everyday

1. Tick Enable automatic update/开启自动更新订阅
2. Click Save & Activate/保存&应用

![](https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lc04095R6CkPoB8xaCl%2F-MRpy3UrWEZE1qZGgcGe%2F-MRpyEqK1AFyQtPYXfWP%2Fimage_1bvrp2e.png?alt=media\&token=5991e884-1aeb-451e-bde0-f50cfd2d4e65)

## Connect

1. Go to the Basic Config/基本设置 tab (it's the first one)
2. Tick the "Enable" option
3. Select the server from the drop down menu&#x20;
4. For UDP and Socks option, set it to connect to the same one as the TCP server

![](https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lc04095R6CkPoB8xaCl%2F-MRpyLbfKaF5XjQ-Sv1q%2F-MRpySemQpSIMDSEPsku%2Fimage_1ku4a2u.png?alt=media\&token=ab6459a7-f7ff-47eb-85ff-92fd336b6401)

5\. Leave the rest of the options as they are

6\. Click Save & Activate/保存&应用

![](https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lc04095R6CkPoB8xaCl%2F-MRpyLbfKaF5XjQ-Sv1q%2F-MRpyVfM-8agd5ZxLTq2%2Fimage_9wbhyt.png?alt=media\&token=9ae41159-6437-401c-a993-dc951c0996f7)

You should be connected


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wannaflix.net/routers/openwrt/passwall.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
