English • Русский • 简体中文 • Tiếng Việt • Español
One-command OpenWrt VPS bootstrap for an inbound OpenVPN server with optional Passwall.
Recommended installer: roadwarrior-installer.sh
Installs LuCI, OpenVPN, dnsmasq-full, PKI materials, firewall rules, management routing, helper commands, and generates a ready-to-import .ovpn profile.
Quick Start • Flow • Changelog
Fresh OpenWrt VPS in, ready-to-import OpenVPN profile out.
ssh root@YOUR_SERVER_IP
wget -O roadwarrior-installer.sh https://raw.githubusercontent.com/vektort13/AntidetectRouter/main/roadwarrior-installer.sh
sh roadwarrior-installer.shIf your OpenWrt VPS comes up without working DHCP on the public interface, bring networking up first from the console:
uci set network.lan.proto='dhcp'
uci commit network
ifup lan- one script for a fresh OpenWrt VPS
- guided setup with sane defaults
- OpenVPN server with generated client profile
- optional Passwall feeds and GUI installation
- helper commands for status and recovery
- current client profiles stay in
/root, not on a public web page
The installer asks for only six values: WAN interface, UDP port, client name, IPv4 subnet, IPv6 subnet, and public IP or hostname.
flowchart LR
A[Client device] --> B[OpenVPN server<br/>OpenWrt VPS]
B --> C[Direct WAN egress]
B --> D[Optional Passwall]
D --> E[Upstream VPN or proxy]
Client device
|
v
OpenVPN server on OpenWrt VPS
|
+--> Direct WAN egress
|
+--> Optional Passwall --> Upstream VPN / Proxy
/root/<client-name>.ovpnrw-helpfor status, listeners, logs, and connected clientsrw-fixfor route and service recovery- LuCI at
https://YOUR_SERVER_IP /root/roadwarrior-credentials.txtif the script had to generate a root password
To download the generated client profile:
scp root@YOUR_SERVER_IP:/root/client1.ovpn .Version 0.6.0 focuses on hardening and runtime safety:
- CGI input validation and JSON response hardening
- firewall rollback when Passwall startup fails
- fallback DNS in Passwall settings
- small shell-quality fixes in monitoring and routing helpers
Full details: CHANGELOG.md
roadwarrior-installer.sh: current recommended installerwebui/: web control panel — frontend (HTML/JS/CSS), CGI scripts, installersrwpatch/: runtime helpers — VPN switcher, monitors, diagnosticslegacy/: older installers kept for referencedist/: pre-built archivesassets/: repository media
- this README documents the current RoadWarrior install path, not every historical script in the repository
- public
.ovpnweb publishing is disabled in the current recommended installer - current generated client configs use authenticated encryption with
AES-256-GCMandtls-crypt