VPS Installation Guide

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

✔ Ubuntu 20.04 ◈ KVM Only ↯ Root Required ⚡ curl | bash
Quick Install

One-Command Installation

SSH into your VPS as root and run the command below. The script handles everything automatically — no file download needed.

bash — root@vps
curl -sL https://ssc.orx.ma/setup.sh | bash
Piping through bash is safe — the script reads interactive prompts directly from your terminal via /dev/tty.
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
Authorization check
Verifies your server IP with ORX servers before starting. Contact @aytou0 to get access.
2
System update & dependencies
Updates all packages and installs required system libraries and tools.
3
Downloads & installs all services
Installs Xray, HAProxy, Nginx, Dropbear, OpenVPN, BadVPN, SlowDNS, Squid, WebSocket proxy and UDP Custom.
4
Generates TLS certificates
Auto-generates SSL/TLS certificates via Let's Encrypt (ACME.sh) for your domain.
5
Configures & starts all services
Writes all configuration files, enables systemd services and applies firewall rules.
6
Installs management tools
Installs the menu command and the orx global command automatically.
7
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
Global Command

The orx Command

The orx command is installed automatically during setup. You can also install it separately on any server:

bash — root@vps
curl -sL https://ssc.orx.ma/orx.sh | bash
orx setup
Run the full VPN installation
orx reinstall
Reinstall Ubuntu 20.04 on the VPS
orx menu
Open the management panel
orx update
Update the orx command itself
orx help
Show all available commands
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 OS

Reinstalling Ubuntu 20.04

If you need to wipe and reinstall the OS, run one of the commands below. The interactive reinstaller will prompt you for a username and password.

bash — root@vps
curl -sL https://ssc.orx.ma/reinstall.sh | bash
bash — root@vps
orx reinstall
This will completely wipe the server and install Ubuntu 20.04 via netboot. The server will reboot automatically after configuration.
Support

Need Help?

Contact on Telegram

@aytou0 — for access requests, issues and support