Proxy Protocols — Which One to Use
Ask AI
Ready taskExplain this page and answer my questions
Chat assistants
Open in ChatGPTNew tabOpen in ClaudeNew tabCoding agents
Claude CodeOpens the desktop appCodexOpens the desktop appCursorOpens the app from the webCopy
View as MarkdownPlain text for AI toolsSee the prompt
Read https://xproxy.io/document/proxy-protocols-overview.md, the XProxy guide "Proxy Protocols — Which One to Use". If you cannot open links, download them with curl. Then answer my questions about it in simple words, and tell me what it means for my own setup. Start by asking what I want to know or decide. 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.
Every modem in your XProxy box can be used in several ways. They all leave the internet through the same mobile IP. What changes is how your device talks to the box.
In short
Use HTTP or SOCKS5. Every tool supports them. All plans.
Use VLESS. It is encrypted and imports from a QR code. Premium and Business.
Use WireGuard (or OpenVPN). Everything on the device uses the modem. Basic and up.
Which protocol should I use?
What do you want to connect?
The protocols side by side
| Protocol | Port of modem #1 | How you log in | Encrypted | Best for | Licence |
|---|---|---|---|---|---|
| HTTP | 4001 (TCP) | Username/password or IP whitelist | No* | Browsers, anti-detect profiles, scrapers | All plans |
| SOCKS5 | 4001 with Auto Port, otherwise 5001 (TCP) | Username/password or IP whitelist | No* | Bots, desktop tools, anything TCP | All plans |
| VLESS (REALITY) | 10001 (TCP) | UUID inside the link / QR code | Yes | Phones, private traffic, strict networks | Premium, Business |
| Shadowsocks | 12001 (TCP + UDP) | The proxy password, in an ss:// link | Yes | Apps that import ss:// links | Premium, Business |
| WireGuard | 8001 (UDP) | Key file per device | Yes | Whole device, games, fastest VPN | Basic, Premium, Business |
| OpenVPN | 9001 (UDP) | Certificate file (+ optional password) | Yes | Devices or networks that only allow OpenVPN | Basic, Premium, Business |
* HTTP and SOCKS5 do not add their own encryption, but HTTPS websites are still encrypted end-to-end inside the proxy. Use a password or IP whitelist whenever the proxy is reachable from the internet.
How ports are numbered
Each modem gets its own port for every protocol. Modem #1 uses the numbers below, modem #2 adds 1 (4002, 10002, 8002 …), and so on. The base is the Starting Port (4000 by default) in Proxy Management → Proxy Settings.
| Service | Port of modem #N | Example, modem #3 |
|---|---|---|
| HTTP (and SOCKS5 on the same port when Auto Port is on) | 4000 + N | 4003 |
| SOCKS5 on its own port (Auto Port off) | 5000 + N | 5003 |
| IPv6 proxy (when your SIM has IPv6) | 6000 + N (SOCKS5 on 7000 + N when Auto Port is off) | 6003 |
| VLESS (IPv4 / IPv6) | 10000 + N / 11000 + N | 10003 / 11003 |
| Shadowsocks (IPv4 / IPv6) | 12000 + N / 13000 + N | 12003 / 13003 |
| WireGuard (UDP) | 8000 + N | 8003 |
| OpenVPN (UDP) | 9000 + N | 9003 |
The table above assumes the default Starting Port of 4000. WireGuard and OpenVPN have their own start values in VPN Service → VPN Settings.
Using it at home vs. from anywhere
- Same network as the box — connect to the box's local IP (for example
192.168.1.10:4001). Nothing else to set up. - From anywhere, easiest — turn on VPS Forwarding. Every port is published on your VPS, so customers connect to the VPS IP. No router changes, works behind CGNAT. If you set a port offset in General Settings → Forwarding Ports, the VPS port is the local port plus that offset — e.g. offset 3000 turns
4001into7001and VLESS10001into13001. Proxy Management shows the right port when Proxy Settings → Address uses VPS relay as the source. - From anywhere, through your router — forward the ports on your router (NAT Forwarding guide) and use your public IP or a DDNS name. Remember: HTTP/SOCKS5/VLESS are TCP ports, WireGuard/OpenVPN are UDP ports.

