VPS Installation Guide

Full auto-install script for setting up a personal VPN server in minutes.

✔ Ubuntu 20.04 ◈ KVM Only ↯ Root Required
Quick Install

One-Command Installation

SSH into your VPS as root and run the command below. The script handles everything automatically.

bash — root@vps
apt update && apt upgrade -y && wget -O setup.sh https://tunnel.orx.ma/setup.sh && chmod +x setup.sh && ./setup.sh
Requirements

Before You Start

Only Ubuntu 20.04 is supported. OpenVZ virtualization is not compatible — use KVM.
💻
Ubuntu 20.04
Fresh install only
KVM Virtualization
OpenVZ not supported
🔑
Root Access
Must run as root
🌐
Public IP
Outbound internet access
Process

What Happens Step by Step

1
System update & dependencies
Updates all packages and installs required system libraries and tools.
2
Downloads & installs all services
Installs Xray, HAProxy, Nginx, Dropbear, OpenVPN, BadVPN, SlowDNS, Squid, WebSocket proxy and UDP Custom.
3
Generates TLS certificates
Auto-generates SSL/TLS certificates for secure connections on your domain or IP.
4
Configures & starts all services
Writes all configuration files, enables systemd services and applies firewall rules.
5
Installs the management menu
Installs the menu command. After reboot, type menu to manage your server.
6
Auto reboot
The server reboots automatically. Once back online, everything is running.
Services

What Gets Installed

Xray VMess, VLESS, Trojan and Shadowsocks — all over TLS with WebSocket and gRPC support
HAProxy Port multiplexer — routes multiple protocols through a single port
Nginx Reverse proxy handling WebSocket paths and TLS termination
Dropbear SSH Lightweight SSH server for SSH tunneling accounts
OpenVPN Traditional VPN over TCP and UDP
BadVPN UDP-over-TCP forwarding for low-latency gaming and real-time apps
UDP Custom Custom UDP tunnel for mobile data optimization
SlowDNS DNS tunneling via a nameserver subdomain — bypasses captive portals
Squid Proxy HTTP/HTTPS proxy server
WebSocket Proxy WebSocket-based SSH tunneling for HTTP injector apps
After Installation

Managing Your Server

After the server reboots, SSH back in as root and type menu to open the management panel.
bash — root@vps
menu

From the menu you can:

  • Create and manage accounts (VMess, VLESS, Trojan, Shadowsocks, SSH)
  • View connection configs and QR codes
  • Check online users and server status
  • Set account expiry and bandwidth limits
  • Change service ports
  • Renew or delete accounts
Reinstall

Reinstalling on the Same VPS

If you need to wipe and reinstall, run:

bash — root@vps
wget https://tunnel.orx.ma/reinstall.sh && chmod +x reinstall.sh && ./reinstall.sh ubuntu 20.04 && reboot
Support

Need Help?

Contact on Telegram

@aytou0 — for access requests, issues and support