Skip to content

About

[Private Router] Automated PassWall Xray v1 installer for OpenWrt v22+ routers. It installs PassWall, Xray-Core, DNS tools, and a basic configuration. Compatible with routers featuring the mips_24kc architecture (GL.iNet, OpenWrt, etc.).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

PassWall v1 Xray Tunnel πŸ›‘οΈ

English | Русский | EspaΓ±ol | Deutsch

PassWall v1 Xray Auto-Installer v2.0.0 [05-OCT-2026]

An automatic PassWall v1 installer for GL.iNet / OpenWrt β€” the stack was originally designed to run on low-power routers with limited resources. The installation process strictly controls memory usage and free space, removing all system clutter to ensure stable operation of PassWall v1 on modest hardware.

This project eliminates the version drift problem. All binary packages are taken from the official upstream repositories of their authors, but they only make it into this project after the entire bundle has been verified for compatibility with real routers. The script deploys a vetted package set in one click, removes conflicting duplicates, applies an unstoppable configuration, and adds a convenient CLI manager for controlling PassWall.

πŸ› οΈ Features

πŸš€ Fast installation β€” one-click deployment of a pre-verified PassWall v1 package stack.

πŸ“¦ Up-to-date versions β€” dynamic selection of the latest builds from the repository, with no risk of a rollback.

🧹 Clean system β€” preventive removal of conflicting and outdated kernel packages during installation.

βš™οΈ Auto-configuration β€” automatic application of routing rules (Global Proxy, iptables, ports).

πŸ“Š Convenient CLI β€” a built-in console manager for controlling the service, logs, and updates.

🌐 IronUpdate β€” unstoppable opkg updates on GL.iNet routers with poor connectivity and unreachable domains.


πŸš€ Quick Start

Choose one of the two installation methods. Method 1 is recommended β€” it is fully automatic, safe, and requires no manual connection to the router console.

Method 1: Automatic Launcher (Recommended)

The script runs directly on your PC or smartphone. It will detect the router on the local network by itself, clean up stale or conflicting SSH keys, ask for the password, and deploy the entire required stack turnkey.

πŸ’» For Windows Users (7 / 8 / 10 / 11)

A ready-made automation package is available for Windows:

  1. Download the official bat script: passwall-oneclick-installer.bat
  2. Run it with a double-click (in Windows, confirm the run in the SmartScreen prompt if requested).
  3. Follow the on-screen interactive prompts to complete the automatic deployment.

Download One-Click Installer

πŸ“± For Unix Systems and Smartphones

Android (Termux) / Linux (Terminal) / macOS (Terminal):

curl -fsSL https://raw.githubusercontent.com/cbfst/pr-passwall/main/autosetup.sh | tr -d '\r' > autosetup.sh && [ -s autosetup.sh ] && sh autosetup.sh

iOS (iSH App):

wget -qO- https://raw.githubusercontent.com/cbfst/pr-passwall/main/autosetup.sh | tr -d '\r' > autosetup.sh && [ -s autosetup.sh ] && sh autosetup.sh

Method 2: Direct Installation via SSH on the Router

Use this option only if you have already connected to the router console over SSH by yourself.

wget -O autopasswall.sh https://raw.githubusercontent.com/cbfst/pr-passwall/main/autopasswall.sh && tr -d '\r' < autopasswall.sh > /tmp/.ap && mv -f /tmp/.ap autopasswall.sh && chmod +x autopasswall.sh && ash autopasswall.sh

Language selection for direct installation

For a silent installation without interactive prompts, use the --lang flag (en, ru, es, de):

wget -O autopasswall.sh https://raw.githubusercontent.com/cbfst/pr-passwall/main/autopasswall.sh && tr -d '\r' < autopasswall.sh > /tmp/.ap && mv -f /tmp/.ap autopasswall.sh && chmod +x autopasswall.sh && ash autopasswall.sh --lang=en # English

## πŸ› οΈ CLI Management (`passwall`)

After installation, a system management tool is available:

| Command | Description |
|---|---|
| `passwall start` | Start the proxy service |
| `passwall stop` | Stop the proxy service |
| `passwall restart` | Restart the service and routing rules |
| `passwall reload` | Reload the configuration without restarting the process |
| `passwall enable` | Enable autostart when the router powers on |
| `passwall disable` | Disable autostart when the router powers on |
| `passwall log` | Show the main PassWall v1 log |
| `passwall log-core` | Show the working log of the proxy core (Xray) |
| `passwall logread` | Filter the system log for PassWall 1 events |
| `passwall config` | Show the current UCI configuration |
| `passwall status` | Show the status of the main switch |
| `passwall raw-config` | Show the contents of `/etc/config/passwall` directly |
| `passwall update` | Check for and selectively update components and the manager from the repository |
| `passwall lang [lang]` | Change the manager interface language (`ru`, `en`, `es`, `de`) |
| `passwall remove` | Remove only the LuCI PassWall v1 interface |
| `passwall purge` | Completely remove PassWall v1, cores, and configurations |
| `passwall manager` | Show the management menu |

## πŸ“Š Compatibility

| Hardware | Platform | Status |
|---|---|---|
| GL.iNet GL-E750 (Mudi v1 / v2) | MIPS 24Kc (QCA9531) | Compatible out of the box (128 MB Flash / 128 MB RAM) |
| GL.iNet GL-AR300M16 (Shadow) | MIPS 24Kc (QCA9531) | Requires memory expansion via [autoextroot](https://codeberg.org/cbfst/pr-tools/raw/#autoextroot) |
| Other OpenWrt v22+ routers | MIPS 24Kc | Compatible if β‰₯ 35 MB is available on `/overlay` |

> **GL-AR300M16 note:** the built-in 16 MB of NOR Flash is critically insufficient for hosting Xray and PassWall v1. Installation is only possible after expanding `/overlay` onto external storage using the `autoextroot` utility.

## πŸ—‘οΈ Uninstallation

To completely remove PassWall v1, the Xray cores, accompanying utilities, and configurations, run:

```sh
passwall purge

πŸ“œ License

The installer and manager scripts are distributed under the MIT license. The PassWall v1 and Xray binary packages hosted in the package/ directory are distributed under the terms of their own licenses (AGPL-3.0 / BSD-3-Clause / GPL-3.0 / GPL-2.0 / MIT / MPL-2.0), with all copyright notices of the original projects preserved.

The full MIT license text is available in the LICENSE file. Third-party package license texts are available in the LICENSES directory. The exact versions and sources of each binary are listed in THIRD_PARTY_NOTICES.md.

⚠️ Disclaimer

The software is provided "as is". The authors are not liable for equipment failures caused by flash-memory wear, insufficient power supply, or incorrect third-party modifications of the network stack.

🀝 Credits

The project is developed and maintained by CyberFantomo Security Technologies.

πŸ“¬ Contact the Team


β˜• Support the Project

If CyberFantomo's work and technical solutions have been useful to you, saved you time, or helped you successfully complete your tasks, you can support the team and contribute to the development of our projects:

  • XMR: 891DdwDRK1s3SDb7wEtUAYfY2nZUVnyPScDKWR9d4YarhKXg3jxxXskLf43tLBitxJhXJ1uCW25dTZH87zNirVsPEiP4JDN
  • BTC: bc1pd735wqdvrr8gjqvhm2kumzdj2mrcgjz0etlhehaxw00un2kkshkspdv8tv
  • LTC: MK6V1bBpqS6ndFLkaqN2PAASSZnFPeHnNz
  • ETH: 0xbadea4f945579e90eeb51079b3175f2aa678b8b9
  • USDT TRC-20 / TRX: TDPvWdHhWCzrVZUb8PvJdC9WqVNBsuuD1s
  • Other cryptocurrencies: ZEC, DASH, TON, SOL, etc.

The Email field is technically required, but the address is not verified. If you wish to stay anonymous, simply enter any random email (for example, [email protected]).


πŸ”„ Related Repositories

  • IronUpdate β€” an unstoppable one-click solution for recovering opkg and repositories on GL.iNet (OpenWrt) routers. It automatically repairs broken or blocked package feeds, discovers working mirrors, and enables seamless package installation even when the stock manager fails.
  • AutoExtroot β€” an unstoppable one-click extroot installer for OpenWrt routers. It expands the router's available system storage using a USB drive or microSD.
  • OpenWrt PassWall β€” official releases of the original PassWall package. The project provides the interface and routing logic for flexible management of proxying rules.
  • OpenWrt Xray β€” official releases of precompiled Xray-core packages for OpenWrt. They provide the router with basic support for modern tunneling protocols.

About

[Private Router] Automated PassWall Xray v1 installer for OpenWrt v22+ routers. It installs PassWall, Xray-Core, DNS tools, and a basic configuration. Compatible with routers featuring the mips_24kc architecture (GL.iNet, OpenWrt, etc.).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages