Step-by-step guide

How to build a 4G/5G mobile proxy farm

A mobile proxy farm is a host server, cellular modems or phones, a powered USB hub, SIM cards and software that gives every device its own rotating proxy port. This guide walks through each part and links to the details.

The five parts of a farm

Host server

An XProxy Box, a Raspberry Pi 4 or any dedicated Ubuntu PC runs the routing software.

Modems or phones

4G/5G USB dongles or Android phones are the exit nodes that connect to the carrier towers.

USB modem guide →

Powered USB hub

An industrial hub with its own power supply connects many modems to one host port.

SIM cards

Unlocked data SIMs with a high-speed or unlimited plan provide the mobile IPs.

Country guides →

Network connection

An Ethernet link to your router lets the host receive requests and, optionally, expose ports or use VPS forwarding.

Proxy software

XProxy creates a port per device, rotates IPs on demand and gives you a dashboard and API.

Mobile proxy software →

Build it in seven steps

Each step links to the detailed guide.

  1. Choose the host

    Pick by farm size using the table below. Beginners usually start with an XProxy Box.

  2. Choose the modems

    USB dongles run 24/7 without batteries; Android phones add bigger antennas and easy 5G. You can mix both. See USB modems and Android phones.

  3. Pick a powered hub

    Use an industrial hub with active external power. The 20-port model is used for up to 15 modems and the 32-port model with dual power adapters for more. Never use bus-powered hubs.

  4. Buy SIM cards

    Get unlocked data SIMs from carriers with a high or unlimited data cap and disable the PIN lock.

  5. Install the software

    Run curl -s https://x-proxy.io/install | bash as root on Ubuntu, or use a pre-installed XProxy Box. See the installation guide.

  6. Connect devices and rotate

    Plug in the modems, wait for them in the dashboard, then set rotation per port: timer, on-request URL or API.

  7. Expose and scale

    Make ports reachable remotely, add modems as demand grows and upgrade the plan only for the features you need.

Which host for which farm size

HostCapacityNotes
XProxy Box (XB22)Up to 40 modemsPre-installed with XProxy and the easiest start
Raspberry Pi 4 (4 GB or 8 GB)Up to 15 modemsNeeds Ubuntu Server 64-bit and a manual install
Ubuntu PC or mini PC40 or more modemsAdd PCIe USB controller cards to spread the load beyond 40 modems

Two starter layouts from the docs

Beginner: 10 modems

One Raspberry Pi 4 (4 GB), one industrial 20-port powered USB hub, 8 XH22 dongles and 2 Google Pixel phones connected by USB.

Pro: 40 modems

One XProxy Box (or a Dell Optiplex Ubuntu PC), two industrial 20-port hubs or one 32-port hub, and 40 XH22 USB dongles.

Mobile proxy farm questions

How many modems can one server run?

An XProxy Box (XB22) connects up to 40 modems, a Raspberry Pi 4 up to 15, and an Ubuntu PC handles 40 or more when you add PCIe USB controller cards so the USB load is spread across controllers.

Do I have to buy hardware from XProxy?

No. XProxy runs on any 64-bit Linux box and supports many USB dongles and Android phones. The shop and builder are there if you prefer a kit that arrives configured.

What does the software cost?

Up to 5 modems are free. Beyond that Basic costs $1.97 per modem per month at 10 modems, billed every 3 months; the software page lists the price per modem for larger farms.

What SIM cards do I need?

Unlocked SIM cards with an active, high-speed or unlimited data plan and the PIN lock disabled. Check the country guides for carriers that work well in your market.

Ready to build yours?

Configure a kit, or install the software on hardware you already own and start with 5 modems for free.

Telegram