Connections, nginx and cascade
Why the installer creates several connections
You may use your proxy server from different networks: at home, over mobile data or on public Wi-Fi. Protocol availability and connection quality can vary between networks. That is why 3X-UI AUTO NGINX prepares three primary connection options from the start and lets you add others through the installation menu.
| Connection | What beginners should know |
|---|---|
| VLESS REALITY | One of the primary ways to connect through Xray. Uses a separate REALITY domain. |
| VLESS XHTTP | Transfers data using Xray's HTTP transport, integrated with the server's routing configuration. |
| Hysteria2 | A connection over UDP/443 using HTTP/3. It can work well on networks where UDP is available. |
REALITY, XHTTP and Hysteria2 are installed by default. You do not need to enable every optional connection to get a working server.
During installation, you can also create your first client. The installer will add the client to the supported connections and display a personal HTTPS subscription link that can be imported into a compatible app.
Optional connections
At the fourth installer prompt, choose Y to see additional options. Each is configured separately:
- XTLS Vision - an additional VLESS connection over TLS. Requires a third domain, different from the panel and REALITY domains.
- WebSocket and Trojan gRPC - additional transport options, enabled together through one prompt.
- AmneziaWG 3.1 - a separate UDP connection with its own client, created in the panel.
- XHTTP for CDN - an additional profile prepared for use with a content delivery network (CDN). It is created disabled. Configure your CDN provider separately, enable the inbound and assign a client to it. New installations use additional VLESS ML-KEM-768 native encryption by default; the client core must support VLESS Encryption. You can disable it in the panel if necessary, taking the client settings into account. The CDN is not configured automatically; you can also use this profile directly.
For your first installation, we recommend leaving the additional connections disabled (N). Later, you can deliberately select the options you need during a new installation or use the panel's native features within the project's configuration.
Keep the preconfigured inbounds
If you do not need a preconfigured inbound, disable it in the panel instead of deleting or recreating it. The project relies on its ID and associated Host records during updates and domain changes. You can add your own inbounds. What you can change manually.
What nginx does
nginx automatically performs several tasks:
- Accepts HTTPS requests to the 3x-ui panel and subscriptions and forwards them to the internal services.
- Routes incoming TCP connections based on the domain specified in TLS.
- Serves cover websites on the appropriate domains.
- Uses Let's Encrypt HTTPS certificates that Certbot renews automatically without stopping nginx.
The public service interfaces do not require separate exposed panel ports. REALITY is routed through nginx stream, Hysteria2 uses UDP/443, and nginx handles HTTP where needed. You do not have to create these configurations manually.
Rate limiting for public websites: nginx limits HTTP requests to managed cover websites (20 requests per second per IP per website and 200 requests per second in total, with short bursts allowed). Requests exceeding these limits receive an HTTP 429 response styled to match the website. Proxy connections, the panel, subscriptions, AdGuard Home and TWPM are not subject to these limits. This is not comprehensive DDoS protection.
What is a subscription?
A subscription is a personal HTTPS link that your app uses to retrieve the latest connection settings. Instead of entering each server manually, you can simply add the link to a supported client app.
The project offers a standard subscription, a JSON format and Mihomo/Clash support. The available formats depend on the enabled panel settings. If you change domains or transfer clients to another VPS, see the guides to changing domains and Backup.
Cascade across two VPS instances
Your device → Entry VPS → Exit VPS → Internet
A cascade consists of two servers of your own, both running the project. The entry server accepts client connections, and the exit server sends their traffic to the internet. For example, you can use a Russian VPS as the entry point and a server in another country as the exit.
Configure this through 5. Cascade. The managed route is created without manually editing Xray. Cloudflare WARP must be disabled on the entry server: WARP and Cascade use incompatible routing configurations. WARP is allowed on the exit server.
The step-by-step cascade guide explains domains, preparing both VPS instances, verifying the route and disabling the cascade.
What Cloudflare WARP does
For a standalone VPS, the installer offers optional Cloudflare WARP (disabled by default in the English menu). The installer adds the warp-masque outbound and rules for routing Russian destinations through Cloudflare. Websites matching those rules see Cloudflare's exit IP instead of your VPS IP. Other destinations follow the existing Xray routing rules.
WARP is a separate server-side routing feature; your device still connects using the selected 3x-ui profile.
Getting started · Cascade across two VPS instances · Add an outbound server · Traffic routing · Backup VPS · Personal DNS
Attribution and use of materials
© 2026 xPROMSx contributors · 3X-UI AUTO NGINX
Our material may be copied and distributed under the GNU GPL-3.0-only license, provided the attribution and link to the original are retained.
Original source: https://xpromsx.github.io/3x-ui-auto-nginx/guides/connections/