Skip to content

Turn On X-Hub on Your Box or a VPS

Ask AI

Ready taskDo it with me, step by step

Chat assistants

Open in ChatGPTNew tabOpen in ClaudeNew tab

Coding agents

Claude CodeOpens the desktop appCodexOpens the desktop appCursorOpens the app from the web

Copy

View as MarkdownPlain text for AI tools
See the prompt
Read https://xproxy.io/document/xproxy-hub-setup.md, the XProxy guide "Turn On X-Hub on Your Box or a VPS". If you cannot open links, download them with curl. Then take me through it one step at a time: tell me exactly what to click or type, wait until I say it is done, and help me when what I see is different from the guide. Start by asking what I have (hardware, XProxy version, what I see now).
Other XProxy guides, each with a Markdown copy at its URL + .md, are listed in https://xproxy.io/llms.txt.

The app opens with the prompt filled in. Nothing runs until you press Enter.

Turn X-Hub on in a few clicks from the box panel, or install it on a small server with your own domain. Then sign in and change the password.

You need: an XProxy box with a recent version and internet access. For a VPS: a Linux server and a domain. Not sure which one? Read What is X-Hub.

Boxes always connect out to X-Hub. X-Hub never connects in to a box.

How do I turn on X-Hub?

Where do you want to run X-Hub?

Step 1 of 6

Open X-Hub in the panel

Open your box panel. In the left menu, open General Settings, then XProxy Hub (X-Hub).

The Hub on this box card shows the Status. It says Off until you turn X-Hub on.

If the card says This XProxy version has no hub. Update XProxy to get it., update first: Update XProxy.

What is the X-Hub icon in the panel?

Once X-Hub runs on the box, the top bar of the panel shows a small X-Hub icon with a number. The number is how many servers are online in your X-Hub. A green dot means all of them are online, an orange dot means some are not. Click the icon to open X-Hub in a new tab. Hover to see the address.

How do I change the port or turn it off?

  • Change the port: type a new port. The button changes to Move to port N. Click it.
  • Turn off: click Turn off. X-Hub stops and the box leaves it. Telegram alerts and AI access stop too. Tick Also delete the hub's accounts, servers and settings to wipe everything.

The card also says Your network only: X-Hub on the box answers only your LAN and Tailscale, never the internet.

FAQ

The panel says this box is connected to another hub

A box can join one X-Hub at a time. Remove the server in the other X-Hub, then run sudo xtool hub disconnect on this box. Then turn on X-Hub here.

Can I open the box's X-Hub from my phone?

Yes, when the phone is on the same network or on Tailscale. Use the address from the panel card.

How does X-Hub get updates?

X-Hub running on a box checks once a day and installs a newer release only if its signature is valid. On a VPS, replace the program file and restart.

What next?

Add your other boxes, or set up alerts.

Still stuck?A technician can look at your device with a one-time PIN, or chat with us on Telegram.