# Proxy Group: One Proxy Port for Many 4G/5G Modems

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

Put several 4G/5G modems behind one proxy port, get a different IP with Randomize IP, and set one login and rotation link for the whole group.

A Proxy Group puts several 4G/5G modems behind one proxy port. Your customers or tools connect to a single address and port, and XProxy sends the traffic through the modems of the group.

**You need:** the Premium plan or higher ([Pricing](https://xproxy.io/pricing)) and at least one modem that is online in **Proxy Management**.

In short

**One port, many modems**

The group has its own port. The modems you add are the exits behind it. The port never changes when a modem does.

**Randomize IP**

On: every online modem serves the port, so you get a mix of IPs. Off: one modem at a time, the next one takes over if it goes offline.

**Its own login**

The group has its own username, password and allowed IPs, separate from your per-modem proxy login.

## When should I use a proxy group?

- **One address for a tool.** Your bot or browser profile needs one proxy address, but you want the traffic to use several mobile IPs.
- **A backup modem.** Put two or three modems in a group with **Randomize IP** off. The first online modem serves the port. When it drops, the next one takes over.
- **A rotating proxy port.** Put many modems in a group with **Randomize IP** on and send your scraper to one port.

You want every customer to have their own port and their own data limit instead? That is the [Selling Platform](https://xproxy.io/document/how-use-selling-platform).

## How do I make a proxy group with one port for several modems?

**Step 1: Open Proxy Group and click Add New**

Open **Proxy Group** in the left menu, under **Proxy**. The list shows your groups. Each row has the **Primary Port** customers connect to, the **Port Type**, the group login **Auth (User:Pass:IP)** and the **Child Positions**, the modems behind the port.

Click **Add New** to make a group. A row has four actions: **Detail**, **Edit**, **Config** and **Delete**.

![Proxy Group page: the Add New button and the list of proxy groups with primary port, port type, login and child positions (demo data)](https://media1.xproxy.io/docs/proxy-group/pg-1-list-v1.webp)

> Saving a group answers "available on higher plan license only"? Proxy Group needs the Premium plan. [Pricing](https://xproxy.io/pricing)

**Step 2: Pick the modems and the proxy type**

The window has three parts. On the left are your modems under **Available Devices**.

1. Click a modem that is online (green row).
2. Choose the **Proxy Type**: **HTTP IPV4**, **SOCKS5 IPV4** or **HTTP IPV6**.
3. Click **Add to Group →**. The modem moves to **Group Members**. Repeat for each modem. Click the bin icon to take one out.

![Proxy Group Setting window: available devices on the left, proxy type and Add to Group in the middle, group members on the right (demo data)](https://media1.xproxy.io/docs/proxy-group/pg-2-pick-v1.webp)

> A modem that has no IMEI yet cannot be added: you get "Please select online device first!". Pick a green row. One group has one type, so make another group for another type.

**Step 3: Set the port, the login and Randomize IP**

1. Type the **Parent Port**, for example `30010`. It is the port customers use, and it must not be used by another group.
2. Set the group login: a **Username** and **Password**, and optionally **IP Auth**, the IPs that may connect without a login, separated by commas.
3. Leave **Randomize IP** on to use every online modem. Turn it off to use one modem at a time. [What is the difference?](#randomize-ip)
4. Click **Save Group**.

![Proxy Group Setting window: parent port, username, password, IP Auth, Randomize IP and Save Group marked (demo data)](https://media1.xproxy.io/docs/proxy-group/pg-3-fields-v1.webp)

> A client with the right username and password gets in, and so does a client from an IP in the list. If you leave all three fields empty, the group port has no login.

**Step 4: Copy the details and the rotation link**

Back in the list, click **Detail** on your group. It shows the **Primary Port**, the system IP, the type, the login and **Randomize IP**, and the modems with their public IPs.

The **Rotation Link** is a web address. Open it from a script or a browser and every modem in the group gets a new IP.

![Proxy Group Detail window: primary port, system IP, login, Randomize IP, rotation link and group members with their public IPs (demo data)](https://media1.xproxy.io/docs/proxy-group/pg-4-detail-v1.webp)

> The rotation link contains a secret made from the group login. Anyone with the link can rotate the group, so do not post it. If you change the username, password or IP Auth, the link changes too.

**Step 5: Tune the ping check (optional)**

XProxy tests each modem of a group by pinging an address through it. A modem that fails is left out until it passes again. To change the test, open **Proxy Management → Proxy Settings → General** and scroll to **Proxy Group Configuration**.

1. **Hostname**: the address to ping. The default is `1.1.1.1`.
2. **Ping Count**, **Ping Size**, **Check Interval** and **Check Timeout**. Each field shows its default next to it.

![Proxy Settings, Proxy Group Configuration: ping hostname, ping count, ping size, check interval and check timeout (demo data)](https://media1.xproxy.io/docs/proxy-group/pg-5-ping-v1.webp)

> The defaults suit most boxes. Change them only when modems are dropped from the group too easily.

## What does Randomize IP do?

|  | Randomize IP on | Randomize IP off |
| --- | --- | --- |
| **Modems used** | Every online modem in the group. | Only the first online modem in the list. The others wait. |
| **What you get** | A mix of the modems' IPs on one port. | The IP of one modem. |
| **If a modem goes offline** | It is left out. The others keep serving. | The next online modem takes over. |
| **Best for** | Many IPs behind one address. | A main modem with backups. |

A modem counts as online when it has a public IP, is not rebooting or being reset, and passes the ping check. New groups start with Randomize IP on. You can change it later: click **Config** on the row and tick **Enable IP randomization**.

## How do I change or delete a proxy group?

- **Config** changes the login (username, password, IP Auth) and Randomize IP. The modems and the port stay as they are.
- **Edit** opens the same window as **Add New**. You can add or remove modems and change the login and Randomize IP. The port and the proxy type cannot be changed once the group exists. To use another port, make a new group.
- **Delete** removes the group from the list. The modems keep their own proxies.

## How do I rotate the IPs of a whole group?

Open the group's **Detail** and copy the **Rotation Link**. It looks like `http://BOX-ADDRESS/TOKEN/reset_group?proxy=BOX-ADDRESS:30010`. When something calls it, XProxy rotates the IP of every modem of that group. Ordinary rotation methods and timers still work on each modem: see [how to change or rotate the IP](https://xproxy.io/document/how-change-rotate-ip) and [IP rotation settings](https://xproxy.io/document/rotation-settings).

A wrong token answers `401 Unauthorized`.

## Proxy group not working?

| You see | What to do |
| --- | --- |
| "Please input port group!" | The **Parent Port** is empty. Type a port number. |
| "Port used please choose other port!" | Another group already uses that port. Pick a free one. |
| "Please select online device first!" | No modem is selected, or the one you clicked has no IMEI yet. Click a green row, then **Add to Group**. |
| "…available on higher plan license only" | Proxy Group needs the Premium plan. See [Manage your subscription](https://xproxy.io/document/how-upgrade-subscription). |
| The group port does not answer | None of the modems is online or all fail the ping check. Check them in **Proxy Management**, or run **Diagnose Issues**: [Setup check &amp; diagnose](https://xproxy.io/document/troubleshooting-setup-check). |
| One modem is never used | With Randomize IP off only the first online modem serves the port. Turn it on in **Config**. |
| Clients get an authentication error | Use the group's username and password, not the per-modem ones. Copy them from **Detail**. |

The traffic of a group shows in [Proxy Analytics and Access Logging](https://xproxy.io/document/proxy-analytics-access-logs) with the type **GROUP**.

## FAQ

### Which plan has Proxy Group?

Premium and Business. On a lower plan the page opens, but saving a group answers that the function is available on a higher plan only.

### Can I mix HTTP and SOCKS5 in one group?

No. A group has one proxy type: **HTTP IPV4**, **SOCKS5 IPV4** or **HTTP IPV6**. Make one group for each type.

### What happens when a modem in the group goes offline?

XProxy takes it out of the group until it has internet and passes the ping check again. The group port keeps working with the other modems.

### Do I need a login on the group port?

You set it yourself. Use a username and password, a list of allowed IPs, or both. With all three fields empty the port has no login, so only do that on a network you trust.

## What next?

Check what your group serves, rotate it on a schedule, or use the port in your tools.

[HTTP &amp; SOCKS5 setup →](https://xproxy.io/document/how-use-proxy-format-http-socks5) [Rotate the IP →](https://xproxy.io/document/how-change-rotate-ip) [Proxy analytics →](https://xproxy.io/document/proxy-analytics-access-logs)

---

Source: https://xproxy.io/document/proxy-group
