# Mobile Proxy Rotation Settings: Smart IP Guard &amp; Unique IPs

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

Stop repeated IPs on your mobile proxies: turn on Smart IP Guard or Make IP Unique, set rotation delays, and pick the rotation method and IP checker.

Rotation Settings control how each modem gets a new IP: delays, retries, repeated-IP protection with Smart IP Guard, and the rotation method and IP checker for your modem type.

**You need:** a Basic plan or higher. The Free plan has no IP rotation ([Pricing](https://xproxy.io/pricing)).

In short

**Timing**

Delays, a minimum time between rotations, and reconnect tries when a modem loses its connection.

**Fresh IPs only**

Rotate again when the new IP is the same as before, used by another modem, or seen too often. Smart IP Guard scores every IP.

**Method per modem type**

General Settings has the rotation method for Hi-Link, XH22 and Android dongles, the USB stick page and the IP checker.

## Where are the rotation settings?

**Step 1: Click Rotation Settings**

Open **Proxy Management** and click **Rotation Settings** in the toolbar. On a phone, tap **More**, then **Rotation Settings**. **Proxy Settings** and **IP Pools** are in the same place.

The window has five tabs: **General**, **Dongle**, **Phone**, **Duplicate IP** and **Smart IP Guard**.

![Proxy Management toolbar with the Rotation Settings, Proxy Settings and IP Pools buttons marked (demo data)](https://media1.xproxy.io/docs/proxy-settings/toolbar-v1.webp)

> These settings are for the whole box, not for one modem. To rotate one modem on a timer, use **Schedule Rotation** in its row: see [Change or rotate the IP](https://xproxy.io/document/how-change-rotate-ip).

There are two places. **Proxy Management → Rotation Settings** opens a window with the timing and IP rules. **General Settings** has three pages: [Rotation Methods](#rotation-methods), [Legacy USB Setting](#legacy-usb) and [IP Checker Setting](#ip-checker). All of them apply to the whole box.

## How do I change the rotation delays and stop automatic IP changes?

Use the **General**, **Dongle** and **Phone** tabs. **Never change IP automatically** keeps the IP until you rotate it yourself.

**Step 1: Set the delays and the failure recovery**

Open the **General** tab.

- **Delay before rotation**: seconds the box waits before it starts. An API call is answered first, then the job runs.
- **Prevent rotation**: the shortest time between two rotations of the same port. It stops scripts from rotating too often.
- **Reconnect when failure** and **Max retry reconnect**: when a modem loses its mobile connection, the box tries to reconnect it after this many seconds, up to this many times. **0** turns it off.

![Rotation Settings, General tab: Delay before rotation, Prevent rotation, Reconnect when failure and Max retry reconnect marked (demo data)](https://media1.xproxy.io/docs/rotation-settings/rs-2-general-v1.webp)

> Rotating a port again right after a rotation does nothing? That is **Prevent rotation**. Lower it if you need faster rotations.

**Step 2: Stop automatic IP changes**

Scroll down on the same tab.

- **Reconnect when only IPv6 fails**: off means a modem whose IPv4 works is never reconnected or rebooted because of IPv6, so its IP stays. On means an IPv6 failure also reconnects the modem and gives it a new IPv4.
- **Never change IP automatically**: only you change the IP. The box does no automatic reconnect, reboot or duplicate-IP rotation. Rotations you start and your schedules still run.

![Rotation Settings, General tab: Reconnect when only IPv6 fails and Never change IP automatically switches marked (demo data)](https://media1.xproxy.io/docs/rotation-settings/rs-3-never-v1.webp)

> Both switches are off by default. Use **Never change IP automatically** when one customer must keep the same IP for a long time.

**Step 3: Dongle and Phone delays**

Open the **Dongle** tab for USB dongles and routers. The **Phone** tab has the same delay for Android phones.

- **Delay during rotation**: seconds of delay during the rotation. A higher number is more reliable but slows the rotation.
- **IP unchanged detect**: after a rotation, check whether the IP stayed the same. The result shows in the status API.

![Rotation Settings, Dongle tab: Delay during rotation and IP unchanged detect marked (demo data)](https://media1.xproxy.io/docs/rotation-settings/rs-4-dongle-v1.webp)

> A new box starts with 0.5 seconds for dongles and 3 seconds for phones. IP unchanged detect is off.

**Step 4: Click Save Settings**

Click **Save Settings** at the bottom of the window. The new delays work from the next rotation.

**Close** does not save: your edits are gone.

![Rotation Settings window with the tab row and the Save Settings and Close buttons at the bottom (demo data)](https://media1.xproxy.io/docs/rotation-settings/rs-2-general-v1.webp)

| Setting | What it does | New box |
| --- | --- | --- |
| Delay before rotation | Seconds to wait before a rotation starts (0 to 10) | 0 |
| Prevent rotation | Shortest time between two rotations of one port, in seconds | 5 |
| Reconnect when failure | Seconds before the box reconnects a modem that lost its connection (0 = off) | 30 |
| Max retry reconnect | How many reconnect tries | 10 |
| Delay during rotation (dongle / phone) | Seconds to wait while the modem reconnects (0 to 10) | 0.5 / 3 |
| IP unchanged detect | Check after a rotation whether the IP stayed the same | Off |
| Never change IP automatically | No automatic reconnect, reboot or duplicate-IP rotation | Off |

## How do I stop duplicate IPs?

Open the **Duplicate IP** tab. **Rotate if same IP** rotates again when a modem gets the IP it had before. **Make IP Unique** rotates again when another modem already has that IP.

**Step 1: Turn on Rotate if same IP or Make IP Unique**

Open the **Duplicate IP** tab. It has two cards.

- **Rotate if same IP** (card **Individual Modem**): when the new IP is the same as the previous IP of this modem, the box rotates again.
- **Make IP Unique** (card **All Modems**): when the new IP is already used by another modem, the box rotates again.

Each card then shows **Wait Seconds** (1 to 3600) and **Max Attempts** (1 to 100): the pause before each new try, and how many tries the box makes. The panel starts with 30 seconds and 5 attempts.

![Rotation Settings, Duplicate IP tab: Rotate if same IP, Make IP Unique and the Wait Seconds and Max Attempts fields marked (demo data)](https://media1.xproxy.io/docs/rotation-settings/rs-5-duplicate-v1.webp)

> Both are off by default. **Never change IP automatically** (General tab) switches this automatic rotation off too.

**Step 2: Click Save Settings**

Click **Save Settings** at the bottom of the window. Duplicate IPs are now handled on the next rotation.

**Close** does not save: your edits are gone.

![Rotation Settings window with the tab row and the Save Settings and Close buttons at the bottom (demo data)](https://media1.xproxy.io/docs/rotation-settings/rs-2-general-v1.webp)

## What is Smart IP Guard and how do I use it?

Smart IP Guard gives every IP a score from 100 down and rotates a modem again when it gets an IP it has used too often. It checks the IPs of all your modems within a time window you choose.

**Step 1: Turn on Smart IP Guard and set the scoring**

Open the **Smart IP Guard** tab.

1. Turn on **Enable Smart IP Guard**. The box now remembers every IP your modems get.
2. Set the **Time Window**: how far back it looks for an IP it has seen before. From 1 hour up to your rotation-history retention (60 days by default). The presets are 1h, 6h, 12h, 24h, 2d, 1w and 1mo. The panel starts at 24 hours.
3. Set the **Fresh Score (minimum)**: an IP with this score or more is **Fresh**. Below it is **Warning**.
4. Set **Re-rotate when score less than**: below this score the box rotates the modem again. **0** turns re-rotation off.

![Rotation Settings, Smart IP Guard tab: enable switch, Time Window, Fresh Score and Re-rotate threshold marked (demo data)](https://media1.xproxy.io/docs/rotation-settings/rs-6-guard-v1.webp)

> Changing the Fresh Score also sets **Re-rotate when score less than** to the same number. Both start at 99. With these numbers an IP is fine the second time it shows up, and the box rotates again from the third time.

**Step 2: Set retries and auto-stop**

Scroll down.

- **Max Retries**: how many times the box re-rotates one modem. **0** means unlimited. After the last try the IP is marked **Stale** and the modem keeps it.
- **Backoff Delay**: seconds before the first retry. The delay doubles after each retry (for example 5s, 10s, 20s). **0** retries at once.
- **Auto-stop modem when Stale**: disconnect the modem when its IP is Stale.
- **Auto Resume After**: seconds before a stopped modem comes back. **0** keeps it stopped until you connect it in Proxy Management.

![Rotation Settings, Smart IP Guard tab: Max Retries, Backoff Delay, Auto-stop and Auto Resume After marked (demo data)](https://media1.xproxy.io/docs/rotation-settings/rs-7-guard-stop-v1.webp)

> A new box starts with 3 retries, a 2 second backoff, auto-stop off and 30 minutes (1800 seconds) to resume.

**Step 3: Click Save Settings**

Click **Save Settings** at the bottom of the window. Smart IP Guard starts checking the next IP each modem gets.

**Close** does not save: your edits are gone.

![Rotation Settings window with the tab row and the Save Settings and Close buttons at the bottom (demo data)](https://media1.xproxy.io/docs/rotation-settings/rs-2-general-v1.webp)

### How does the IP score work?

An IP starts at **100** the first time the box sees it. Each time the same IP comes back, the score drops by **1**. The score is 0 at the lowest.

| Times the IP was seen | Repeats | Score | With Fresh Score 99 |
| --- | --- | --- | --- |
| 1 | 0 | 100 | Fresh |
| 2 | 1 | 99 | Fresh |
| 3 | 2 | 98 | Warning |
| 11 | 10 | 90 | Warning |

- **Fresh**: the score is at least the Fresh Score. Nothing to do.
- **Warning**: the IP came back often enough that its score fell below the Fresh Score. If it is also below the re-rotate score, the box rotates again.
- **Stale**: the box used all its retries. It stops trying and the modem keeps the IP (or stops, with auto-stop on).

The box checks a modem when its IP changes, not on every poll. A rotation you start by hand or on a schedule resets the retry count. A stopped modem is skipped.

You see the result in the **IP Quality** column of Proxy Management and in the [IP Pools](https://xproxy.io/document/ip-pools-rotation-log) window, which has a **Guard Settings** button that opens this tab. Smart IP Guard needs the IP history, which is part of the Basic plan.

## How do I pick the rotation method for my dongle?

Open **General Settings → Rotation Methods**. Pick the method for your kind of modem. Some carriers need a slower method to hand out a new IP.

**Step 1: Pick the method for each kind of modem**

Open **General Settings → Rotation Methods**. Each card is for one kind of modem. Pick a method and click that card's **Save**.

- **Hi-Link Dongles**: Method 1 to 7. **Reset USB** puts the Hi-Link settings back to default.
- **XH22 Dongles**: Method 1 to 5 (see the table below).
- **Android Legacy**: four ways to toggle airplane mode or use the voice assistant.

![General Settings, Rotation Methods page: Hi-Link, XH22 and Android Legacy method drop-downs and the Offline hold card marked (demo data)](https://media1.xproxy.io/docs/rotation-settings/rs-8-methods-v1.webp)

> Android NextGen phones have no card here. Their settings moved to **Device Settings → Android Devices**.

**Step 2: Set Offline hold (XH22 Method 5)**

When you pick **Method 5 · Offline hold** for XH22 dongles, a new card appears.

- **Hold time (seconds)**: how long the modem stays offline, from 0 to 600.
- **Cut mode**: **Radio off** (recommended) or **Data off**.
- **Verify new IP**: check that the IP really changed.
- **Retries**: from 0 to 3.

![Rotation Methods page: the Offline hold card with Hold time, Cut mode, Verify new IP and Retries (demo data)](https://media1.xproxy.io/docs/rotation-settings/rs-8-methods-v1.webp)

> Some carriers give the same IP back when the modem reconnects within about 90 seconds. The proxy is offline for the whole hold time on every rotation.

| XH22 method | What it does |
| --- | --- |
| **1 · Fast &amp; stable** | Network change. The quickest. |
| **2 · Radio reset** | Slower change. |
| **3 · Deep reconnect** | Slower change. |
| **4 · Full device reboot** | Slower change. |
| **5 · Offline hold** | Radio off for a time you set, then reconnect. Your proxy is offline during the hold. |

Hi-Link dongles have Method 1 to 3 (*Basic*), Method 4 to 6 (*Standard rotation*) and Method 7 (*Standard rotation, legacy*). Android Legacy phones rotate by airplane mode (Settings page or Quick Settings bar), by 3GPP on Samsung, or by voice assistant.

## What is the Legacy USB Setting?

**General Settings → Legacy USB Setting** is for older USB stick modems (the page is called *USB Stick Dial setting*). Pick the method, then decide what the box does when a stick becomes unstable or loses its connection.

![General Settings, Legacy USB Setting page: Change IP with method, Auto reset, Auto reconnect and Stick adjust time marked (demo data)](https://media1.xproxy.io/docs/rotation-settings/rs-10-usb-v1.webp)

Legacy USB Setting: ① **Change IP with method** (Method 1 to 3) · ② **Auto reset when unstable** · ③ **Auto reconnect when lost** · ④ **Stick adjust time** (seconds). Click **Save** below.

## What does the IP checker do and when should I change it?

The IP checker finds the public IP of each modem. The panel uses it to show each modem's public IP and to notice downtime. Open **General Settings → IP Checker Setting** to change how it checks.

![General Settings, IP Checker Setting page: method, period, timeout, checker servers and the HTTP status switch marked (demo data)](https://media1.xproxy.io/docs/rotation-settings/rs-9-checker-v1.webp)

IP Checker Setting: ① **IP Checker method** · ② **Period checking IP** · ③ **Timed out checking** · ④ **IPv4 checker servers** · ⑤ **Only check HTTP status**.

| Setting | What it does |
| --- | --- |
| **IP Checker method** | Five ways to read the IP: on the dongle or on the proxy through checker servers, through Google DNS or OpenDNS (fast, saves data), or through the XProxy smart polling server (recommended). |
| **Period checking IP** | Seconds between checks. The default is 45. A longer period saves data but notices downtime later. |
| **Timed out checking** | Seconds to wait for an answer. The default is 2. |
| **IPv4 / IPv6 checker servers** | Websites that answer with the public IP. The box picks one at random for each dongle. Separate them with semicolons. Locked when you use the smart polling server. |
| **Only check HTTP status (200)** | Only checks that the page answers, and does not read the IP from the answer. |
| **High-Performance Async HTTP engine** | A faster checker than the system curl. It applies to methods 1 and 2. |

## Questions

### How do I stop my mobile proxy from getting the same IP again?

Open **Rotation Settings → Duplicate IP** and turn on **Rotate if same IP**. To also avoid IPs that other modems used, turn on **Make IP Unique**, or turn on **Smart IP Guard** to avoid IPs that came back too often within your time window.

### Why does the IP not change after a rotation?

Some carriers give the same IP back when a modem reconnects quickly. Turn on **Rotate if same IP**, or on XH22 dongles pick **Method 5 · Offline hold** in Rotation Methods. More fixes: [Change or rotate the IP](https://xproxy.io/document/how-change-rotate-ip).

### How do I stop XProxy from changing my IP by itself?

Turn on **Never change IP automatically** on the General tab. The box then does no automatic reconnect, reboot or duplicate-IP rotation. You and your schedules can still rotate.

### What do Fresh, Warning and Stale mean?

They tell how often an IP was seen in your time window. **Fresh** is a score at or above your Fresh Score. **Warning** is below it. **Stale** means Smart IP Guard used all its retries and gave up.

### Can Rotation Settings change the IMEI or MAC address on every rotation?

No. There is no IMEI or MAC switch in Rotation Settings. To change the IMEI or label of a dongle, see [Dongle settings](https://xproxy.io/document/dongle-devices-settings).

## What next?

See the IPs your modems used, and the other proxy settings.

[IP pools &amp; rotation log →](https://xproxy.io/document/ip-pools-rotation-log) [Change or rotate the IP →](https://xproxy.io/document/how-change-rotate-ip) [Proxy settings →](https://xproxy.io/document/proxy-settings) [Watchdog &amp; auto-recovery →](https://xproxy.io/document/watchdog-auto-recovery)

---

Source: https://xproxy.io/document/rotation-settings
