Add a second VPS running 3x-ui as a node
If you have several servers running 3x-ui, you do not need to sign in to each panel to manage clients. Add the other servers as nodes in your main panel.
- Manage inbounds and clients on two or more servers from one panel. You can also see their status, load and traffic.
- Combine connections from different VPS instances in a single subscription so the client can choose a server in their app.
- Add new servers while keeping existing clients and subscription links on the main panel.
For example, you may already have a VPS outside Russia. You could rent a Moscow VPS from HSVDS from RUB 185.76 per month (project referral link; see the provider's plans), configure a cascade on it and add it as a node in the panel outside Russia. You decide which connections each client can use: only the Moscow cascade, both servers, or perhaps only XHTTP on both servers. Add and remove inbound assignments in any combination you need, without deleting the clients themselves. Their subscription links remain unchanged.
Contents: What you need · Create an API token · Add a node · Add connections to subscriptions · Verify the setup.
1. What you need
Our example uses two servers that are already running:
| Server | Role |
|---|---|
| VPS outside Russia | Main 3x-ui panel, existing clients and subscriptions |
| Moscow VPS | Remote 3x-ui panel, cascade entry server |
Both panels must be reachable over HTTPS with valid certificates. This guide follows the 3x-ui 3.12.0 interface. If you have not installed a server yet, follow the getting started guide, then configure the cascade if required.
Save a Backup of both installations outside the VPS instances before making changes. If the Moscow server already has its own clients, take them into account when connecting the node. Do not create duplicates of existing clients from your main panel with different keys or subscription IDs.
Nodes and cascades serve different purposes
A node centralizes panel management and subscriptions. A cascade determines how traffic flows between VPS instances. If you need traffic to exit through the server abroad, configure the cascade separately.
2. Create an API token on the Moscow server
An API token is a secret key that lets the main panel access the remote panel without entering its username or password.
- Sign in to the web panel on the Moscow VPS.
- Open Panel Settings → Account → API Token.
- Choose the option to create a new token. Give it a name, such as
main-panel. - For the access scope, choose Admin (
admin). - Create the token and copy it.
3x-ui provides four access scopes:
| Scope | Permissions |
|---|---|
Admin (admin) |
Full access to all panel API methods. |
Node Admin (node-admin) |
Node synchronization and permission to update its panel software. |
Node Sync (node-sync) |
Manage inbounds, clients, traffic and Xray status without permission to update the panel software. |
| Monitoring | Read-only access to status, versions and metrics. |
This guide uses full access for your own trusted panel. If you only need synchronization, the Node Sync scope is sufficient. Whatever scope you choose, update 3x-ui through the project manager.
Save the token immediately
The panel displays the full token only when you create it. An admin token grants full access to the remote panel. Treat it like a password. Do not publish it or share screenshots containing the token, panel address and secret base path.
3. Add the node in the main panel
Switch to the main web panel on the VPS outside Russia. In the left menu, open Nodes → Add Node.
Suppose the Moscow VPS panel is available at https://moscow.example.com/panel-path/. This is a fictional example; use your own panel domain and its actual base path.
Fill in the form:
| Field | Value |
|---|---|
| Name | MOSCOW |
| Remark | Optional |
| Scheme | https |
| Address | moscow.example.com (domain only, without https:// or a path) |
| Port | 443 |
| Base path | /panel-path/ (the entire part of the URL after the domain, including slashes) |
| Enabled | Yes |
| Allow private address | No, if the VPS is reachable at a public address |
| TLS verify | Verify (standard CA) |
| API token | The token from step 2 |
| Outbound | Direct connection (leave the field empty) |
| Inbound sync | All inbounds |
Use port 443 because the project exposes the panel over HTTPS through nginx. Do not enter the panel's internal port. Leave TLS verification enabled: it protects the API token during the connection.
If you only need certain inbounds, select the option for selected inbounds, load the inbounds from the node and choose those you need. We will import them all in this example.
Choose Test connection. If successful, the panel displays a green confirmation with the measured latency and Xray version.
Click Save. MOSCOW should appear in the node list with status Online. After synchronization, the Moscow VPS inbounds will appear in the main panel's Inbounds section.
4. Add Moscow connections to existing clients
Importing inbounds does not automatically give every client access to them. Assign the new inbounds to the clients who need them.
- In the main panel outside Russia, open Clients and edit one existing client.
- In the assigned inbounds field, keep the previously selected connections and also select the appropriate inbound from the MOSCOW node, for example VLESS REALITY. Make sure it is an inbound on the Moscow VPS and is enabled.
- Do not change the subscription ID, UUID or other existing credentials. Click Save.
After synchronization, the selected Moscow connection becomes available to the client and the previously assigned connections are preserved.
Refresh subscriptions before removing old connections
In the main panel, open Panel Settings → Subscription and check the subscription update interval (in hours). This is the recommended refresh interval for the client app. Make sure your clients have not disabled automatic subscription updates. If they have, ask them to refresh the subscription manually.
New connections appear in the app only after a subscription refresh. If you remove a client's old assignments too soon, their old profiles may stop working before the new ones have been downloaded. Add the new connections first, make sure clients receive them and can connect, and only then remove the assignments they no longer need.
For multiple clients, select the required rows in the Clients list, choose the bulk action to assign inbounds, select the target inbounds on the MOSCOW node and confirm. This operation adds assignments without removing existing ones. Verify the result on a single client first.
5. Verify the setup
- On your phone or computer, refresh the existing subscription from the main panel in the client app.
- Make sure the previous connections are still present and a connection to the Moscow VPS has been added.
- Select the Moscow connection and open a website. If you configured a cascade, check the expected exit IP address and access to Russian sites as described in verifying the cascade.
- Test the previous connection to the server abroad. In the main panel, verify that the node is online and traffic on the new connection is being recorded.
If these checks pass, you can assign the remaining clients to the appropriate inbounds. For each additional VPS, create a separate token and add the node to the main panel.
If the node does not connect
- Check the node's panel domain, port 443 and base path, including the trailing slash.
- Make sure the Moscow panel is reachable from the VPS abroad, the certificate is valid, and the token is enabled with the Admin scope or another scope that allows node synchronization.
- If the node is online but the new profile is missing from the subscription, check that the inbound is enabled, the client is assigned to it and the subscription has been refreshed in the app. Do not change the subscription ID or delete preconfigured inbounds to fix the error.
To revoke access to the Moscow connection, remove only that inbound assignment from the client and keep the previous ones. Do not delete the client itself.
Update 3x-ui through the project manager
Nodes are intended for everyday panel management. Install new 3x-ui versions on each VPS using the 3X-UI AUTO NGINX update, not the panel update button in the Nodes section.
Cascade across two VPS instances · Connections and subscriptions · 3x-ui documentation on nodes
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/nodes/