# Proxy Protocols — Which One to Use

> For AI tools: this is the Markdown copy of https://xproxy.io/document/proxy-protocols-overview. Every XProxy guide has one at its URL + `.md`; the index of all guides is https://xproxy.io/llms.txt.

HTTP, SOCKS5, VLESS, Shadowsocks, WireGuard or OpenVPN? Compare ports, login methods and use cases, and pick the right protocol for your XProxy modems.

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

**Browser, bot, scraper**

Use **HTTP or SOCKS5**. Every tool supports them. All plans.

**Phone, private traffic**

Use **VLESS**. It is encrypted and imports from a QR code. Premium and Business.

**A whole device**

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](https://xproxy.io/document/shadowsocks-proxy-setup)** | 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.*

IP whitelist authentication needs a Basic plan or higher. Shadowsocks is off by default: turn it on next to VLESS in **Proxy Settings → General**.

## 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](https://xproxy.io/document/vps-forwarding-to-use-difference-place). 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 `4001` into `7001` and VLESS `10001` into `13001`. 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](https://xproxy.io/document/how-public-access-xproxy)) and use your public IP or a [DDNS name](https://xproxy.io/document/dynamic-dns-setup). Remember: HTTP/SOCKS5/VLESS are TCP ports, WireGuard/OpenVPN are UDP ports.

## Step-by-step guides

[*HTTP · SOCKS5* **Proxy setup &amp; export formats** Credentials, IP whitelist, export templates for GoLogin, AdsPower, Multilogin, Proxifier and code.](https://xproxy.io/document/how-use-proxy-format-http-socks5) [*VLESS · REALITY* **Encrypted proxy with QR code** Turn it on, scan the QR code on your phone, or run it on a server with Xray.](https://xproxy.io/document/vless-reality-proxy-setup) [*Shadowsocks* **Encrypted proxy in one link** Turn it on, copy the ss:// link, paste it into v2rayNG, V2Box or v2rayN.](https://xproxy.io/document/shadowsocks-proxy-setup) [*WireGuard · OpenVPN* **VPN per modem** Route a whole device through one modem. Download the config, import it, connect.](https://xproxy.io/document/make-vpn-mobile-proxy)

---

Source: https://xproxy.io/document/proxy-protocols-overview
