VPN server install script

ORX Tunnel

One script turns your VPS into a full VPN server — multiple protocols, account management, and built-in protection. No hassle.

curl -fsSL https://ssc.orx.ma/setup | bash
0
installs
12
protocols
20.04
Ubuntu 20.04
Latest version 2.0.0 · Online

Install with one command

Copy the command and paste it into your VPS terminal. The install is fully automatic.

curl -fsSL https://ssc.orx.ma/setup | bash

What does the script install?

Everything you need for a professional VPN server, in a single install.

OV
OpenVPN

Full OpenVPN server with certificates.

DB
Dropbear

Lightweight, fast SSH server.

SQ
Squid

HTTP/HTTPS proxy.

WS
WebSocket

WebSocket tunnel for protocols.

XR
Xray

VMess, VLess, Trojan and Shadowsocks.

SD
SlowDNS

DNS tunnel for restricted networks.

UC
UDP-custom

Custom UDP tunnel for gaming and streaming.

HA
HAProxy

Port balancing and routing.

NX
Nginx

Web server for pages and certificates.

SSL
SSL (acme.sh)

Automatic free certificates via acme.sh.

WG
WireGuard

Fast, modern private network.

VD
VayDNS

Built-in DNS service for the server.

Install in 3 steps

From an empty VPS to a ready server in minutes.

1
Get a fresh VPS

A fresh VPS running Ubuntu 20.04 with root access. Any provider works.

2
Run the install command

Paste the install command into the terminal and wait for the script to finish.

3
Open the menu and create accounts

Type menu in the terminal, then create your accounts and share them with your users.

Features

Full control of your server from a single menu.

Menu to manage accounts

Create, delete and manage every account from one simple menu.

Accounts with expiry

Set a duration for each account; it stops automatically when it ends.

Trial accounts

Create short-lived trial accounts to try the service.

Backup & restore

Save a copy of your accounts and settings and restore it anytime.

Auto-update

The script updates itself to the latest stable release.

Self-healing

Services are monitored and restarted automatically if they stop.

Fail2ban protection

Automatic blocking of repeated failed login attempts.

Check mode

Check the status of every service and port from the menu.

Logs from the menu

View service logs directly, without complex commands.

Safe re-run

Re-run the script anytime safely, without losing your accounts.

Clean uninstall

Remove everything the script installed, easily, when needed.

Supported versions

Ubuntu 20.04 is supported today, with more systems coming soon.

Ubuntu 20.04Supported now
Ubuntu 22.04Coming soon
Ubuntu 24.04Coming soon
DebianComing soon
Requirements
  • Operating systemUbuntu 20.04
  • AccessRoot access
  • ServerFresh, clean VPS
  • Memory1GB minimum

Works on

Any VPS running Ubuntu 20.04 — here are some popular providers.

Contabo Hetzner Vultr DigitalOcean

This is what the install looks like

A live simulation of what you will see in the terminal during install.

root@vps: ~
root@vps:~# curl -fsSL https://ssc.orx.ma/setup | bash
[OK] Installation complete! Type 'menu' to manage your server.

Troubleshooting

The most common errors and how to fix them.

Port blocked or connection fails
Make sure your VPS provider allows the required ports (such as 443 and 22) in the provider control panel, then re-run the script.
The script refuses to install because of the OS
The script supports Ubuntu 20.04 only for now. Reinstall the VPS with Ubuntu 20.04 and try again.
Domain does not work or SSL certificate fails
Make sure the domain points to the server IP (A record), wait for DNS to propagate, then re-run the install.
Permission error during install
Run the script directly as the root user, not as a regular user. Use sudo -i first, then try again.

Changelog

What is new in each script release.

v2.0.0 ubuntu 20.04 2026-11-18
  • Clean rebuild v2.0.0 — ORX Tunnel, same base + WireGuard + VayDNS + all approved features (auto-update, self-check, accounts with expiry, fail2ban, check mode, backup/restore, bandwidth limits, trials, self-healing, menu PIN, domain/SSL from menu, channels, safe re-run, uninstall, migration, firewall, ORX banner).