Free · Open source · Your own VPS
Your own proxy server, without the complicated setup.
3X-UI AUTO NGINX helps you deploy your own proxy server, even if you are new to Linux. The installer sets up the 3x-ui panel, Xray, nginx, HTTPS certificates and the main connection options. It also helps secure your VPS, configure personal DNS and protect your settings.
You stay in control of your server. We automate the setup that would otherwise take hours of configuration and searching for instructions.
Install on a new VPS Update the project All guides
Ubuntu 24.04/26.04 LTS and Debian 13 · Usually just two domains and seven installer prompts
What's already taken care of
You do not need to work out how to integrate the panel, connections, certificates, backups and system security on your own. The project handles these tasks together, and each feature comes with an explanation of what it does.
-
VPS security and automatic updates
Additional SSH protection, encrypted server DNS and scheduled security updates. You can enable these features during installation.
-
Personal DNS with ad blocking
Optionally deploy AdGuard Home, configure DNS query filtering and connect your devices over an encrypted channel.
-
Full Backup and client transfer
Restore the entire working stack on another VPS or transfer just the clients to a fresh installation of the project.
-
Cascade across two VPS instances
Connect to one server and access the internet through another, for example in a different country. Configure the cascade from the menu.
-
Telegram web proxy with HTTPS
Install your own Telegram proxy through the menu: real HTTPS, Telemt and a fully functional multi-page website on the same nginx server. A Russian VPS can use an existing cascade.
-
Update without reinstalling
Update the project directly on a running VPS while keeping clients, subscriptions and your settings. Available for compatible installations from v3.0.0 onward.
Enhanced VPS security
Optional configuration · Recommended for your first installation
Renting a VPS is easy. Working out how to secure SSH access, where DNS queries go, which updates to install and why a kernel update might require a reboot is harder. We included these tasks in the installer so beginners do not have to piece together their own security setup from a dozen separate tutorials.
When you enable enhanced security, the installer:
- Configures Fail2ban to limit repeated failed SSH login attempts, using the server's actual SSH port.
- Configures encrypted DNS for the VPS itself using DNS-over-TLS (DoT), protecting server queries in transit.
- Enables automatic security updates from the operating system repositories. The server can receive fixes for nginx, system packages and the Linux kernel without daily manual checks.
- Schedules overnight reboots when required after updates so that new kernels and system fixes take effect without manual intervention.
Why automatic updates matter in practice. On November 19 and 20, 2026, Canonical released nginx security fixes and an additional set of updates for Ubuntu 24.04 and 26.04. The fixes included problems with request processing and TLS connections. On November 18, Ubuntu also fixed a needrestart vulnerability that allowed local privilege escalation. The automatic security update mechanism configured by our installer retrieves fixes like these from the Ubuntu repositories on schedule.
Everything is scheduled for you: package list updates at 02:30, security updates at 02:50, and a reboot if needed at 04:38, all in the VPS's local time. This covers nginx, system library and kernel fixes published in the operating system's security repositories. A reboot interrupts active connections while the server restarts.
The project also configures a minimum connection tracking table size (conntrack) based on available RAM and rate-limits heavy HTTP traffic to managed cover websites. These measures require no additional user configuration.
We also preserve SSH access when configuring the firewall and place the panel and subscriptions behind HTTPS and nginx, keeping internal service ports inaccessible directly. We recommend using an SSH key instead of a password to log in. Our dedicated guide explains how to set up a key using Termius or PowerShell on Windows 11.
Learn about VPS security Set up an SSH key
Protection and personal DNS
When you open a website, your device first queries a DNS server to find its IP address. These queries can reveal which domains you visit, and an ordinary DNS server may apply filtering you do not want. The project offers two distinct levels of DNS protection.
-
1. DNS for the VPS itself
When enhanced security is enabled, the server sends global DNS queries using DoT. This protects them against observation and tampering in transit to the DNS provider.
-
2. Your own AdGuard Home
The installer creates a personal DNS server with a web interface. Choose filtering lists, inspect device queries and block ads and tracking domains.
For your devices, we configure DNS-over-HTTPS (DoH) through your server's HTTPS domain. New installations receive a randomized DoH path. You can optionally assign individual ClientIDs to different devices. Android also supports Private DNS via DoT using your own domain. The dedicated guide explains the setup and the differences between DoH and DoT step by step.
Set up personal DNS Configure ClientID (optional)
Full Backup and preserving clients
Backup / Restore v3 · Client and subscription transfer since v2.8.0
You can restore your entire server on another VPS. A full backup preserves managed 3x-ui, Xray and nginx data, certificates, connection settings, clients and optional project components, including AdGuard Home and Cascade. If you want to move to another hosting provider or your server fails, get a new VPS with the same OS version and architecture, restore the Backup and point your domains to the new IP. You will get your working proxy stack and its settings back, rather than an empty panel.
What if you want to install a new version of the project from scratch? In v2.8.0, we added Restore clients and subscriptions for this purpose. A fresh installation generates new random subscription paths, but the import operation fully restores the previous shared RAW and JSON paths from Backup v3. Clients receive the appropriate connections from the new server while retaining their identifiers and credentials.
You do not need to issue new subscription links to users: keep the existing panel domain and point its DNS record to the new VPS. The link path stays the same, and the subscription contains connections from the new installation. If you change the domain itself, users will need a new subscription URL.
Our guide covers both scenarios in detail: how to save a full archive and restore the server with another hosting provider, and how to transfer clients into a new installation without replacing its fresh settings.
Full Backup and Restore on another VPS Transfer clients and subscriptions Migrate from 2.x to a new version
Update the project without reinstalling
Compatible installations starting with version 3.0.0 can receive new project features directly on an already configured VPS. Download the latest manager and choose 7. Update. It checks compatibility, creates a backup before making changes and updates the managed configuration and outdated components to verified versions. A verified panel version and an equal or newer Xray core are retained along with clients, subscriptions, keys and user settings.
You do not need to repeat the installation or manually rebuild your cascade and routing rules. If your installation is still on 2.x, moving to v3.0.0 requires a fresh installation with client transfer.
Do not run an old saved copy of the manager to update the project, and do not choose Installation on a working server.
Change domains without reinstalling the server
A domain may stop working, become blocked or pass to another owner if you fail to renew the registration in time. Losing all your clients, settings and statistics because of a domain change is the last thing you want.
The manager includes a dedicated Change Domains operation. It lets you replace the panel domain, the REALITY domain or both without a full reinstallation. The project creates a Backup v3 before changing anything, then updates the managed settings and certificates. You need new DNS records, and some users may have to update their subscription or connection addresses after the change. The optional Vision domain is not changed by this operation.
This way, you can move the panel and connections to new names while preserving clients and the server you have already configured.
Connections for different network conditions
Your internet provider, mobile network and server reachability can affect individual protocols. Rather than offering just one connection option, the installer creates REALITY, XHTTP and Hysteria2. You can also enable XTLS Vision, WebSocket, Trojan gRPC, AmneziaWG and a dedicated XHTTP profile for CDN use. The latter requires you to configure your CDN provider separately.
nginx has a specific job here: it handles HTTPS traffic for the panel and subscriptions, serves the cover website and routes TCP connections for REALITY and other components. Hysteria2 uses UDP/443. Let's Encrypt certificates are issued and renewed automatically by Certbot without stopping nginx.
Cascade across two VPS instances
If connecting to a nearby server is more convenient but you need to access the internet through a different country, use a cascade. Your devices connect to the entry VPS, and traffic selected by routing rules is forwarded to the exit VPS. Configuration is available in the menu without having to write Xray routing rules yourself. Both servers must run our project.
Cloudflare WARP is a separate feature that routes selected destinations through Cloudflare. Choose WARP = N on the cascade entry VPS; you may enable it on the exit VPS. This keeps both mechanisms in their proper roles.
Full cascade guide More about connections and nginx
Your own Telegram web proxy
Telegram WEB Proxy uses real HTTPS to carry messenger traffic. Our separate project, Telegram Web Proxy Manager (TWPM), installs Telemt, issues a certificate and creates a fully functional cover website with several pages and its own design.
Ordinary visitors see the website in their browser, while Telegram uses the proxy on the same domain with an access secret. Everything runs through the existing nginx setup on TCP/443; no additional VPS or web server is required.
If Telegram is not directly reachable from a Russian VPS, you can route Telemt through an existing 3X-UI AUTO NGINX cascade. This requires only a local Xray inbound and one routing rule.
Install a Telegram web proxy Configure it on a Russian cascade entry server
From a fresh VPS to your own connection
-
01. Prepare the server
You need a fresh VPS running Ubuntu 24.04/26.04 LTS or Debian 13, SSH access and domains for the panel and REALITY.
-
02. Answer the prompts
The installer offers seven main settings. The guide explains what to choose and why.
-
03. Connect your device
If you choose, the script creates your first client and displays an HTTPS subscription link for a compatible app.
Installation is not an update
On an existing VPS, Installation replaces managed data after confirmation. To update a compatible installation, use 7. Update. Changing domains, performing a full Restore and transferring clients also have dedicated menu options. Save a backup outside the VPS before making any changes.
Open the step-by-step installation guide All guides Stable release on GitHub
The project is free and open source. It is based on 3x-ui-pro, uses the official 3x-ui panel and respects the rights of third-party component authors. Source code and licenses.