# Proxy Router for Phone Farms: Local or Foreign IPs

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

Run a phone farm with one proxy per phone and no VPN app, with IPs from your country or from another one. Both setups step by step.

The Proxy Router is built for phone farms: every phone gets its own proxy and IP, with no VPN or proxy app on the phone. Farms run it in one of two ways: with proxies from anywhere, or with the phones in one country and their IPs from another. This guide walks through both.

**You need:** a Proxy Router with an active license, a Wi-Fi access point, your phones, and HTTP or SOCKS5 proxies: from any provider, or from your own [XProxy](https://xproxy.io/document/what-is-xproxy) server.

## Which setup is yours?

| Setup | Where the proxies are | What the phones show |
| --- | --- | --- |
| [**1. Phone farm, one proxy per phone**](#phone-farm) | Anywhere: a provider, or your XProxy server next to you | An ordinary Wi-Fi network, each phone with its own IP |
| [**2. Phone farm here, IPs from another country**](#abroad) | In the country the IPs must come from, for example your XProxy server with local SIM cards there | A mobile IP, DNS and WebRTC from that country |

## Setup 1: phone farm, one proxy per phone

![A phone farm: phones on shelves on Wi-Fi from a ceiling access point, and the XProxy Router on the desk](https://media1.xproxy.io/docs/pdp-router/how-farm.webp)

The phones join Wi-Fi; the router sends each one through its own proxy (illustration).

### Why not a VPN or proxy app on the phone?

Proxy apps built on tun2socks, and VPN apps, run as a VPN on the phone, and any app can ask the phone whether a VPN is on. With the Proxy Router the phone has no VPN, no app and no proxy setting: it only joins Wi-Fi. The router also handles what such apps often miss: DNS is resolved by the proxy, WebRTC lookups are answered with the proxy's IP, IPv6 is not routed, and a kill switch stops a phone from going online without its proxy.

1. **Connect the Wi-Fi.** Plug an access point into a LAN port of the router, turn its own DHCP off and turn on client (AP) isolation. On every phone, turn off the private (random) Wi-Fi address for this network. See [Connect phones over Wi-Fi](https://xproxy.io/document/proxy-router-getting-started#faq-wifi).
2. **Add the proxies.** Paste them in any common format and click **Test**. Use SOCKS5 proxies that relay UDP for apps with calls, video or QUIC; an HTTP proxy cannot carry UDP, so the router drops it instead of letting it out. See [Devices](https://xproxy.io/document/proxy-router-devices).
3. **Give each phone its own proxy.** Use the Devices page or Quick assign, with **Lock device IPs** and **FakeDNS** on. See [Quick assign](https://xproxy.io/document/proxy-router-devices#quick-assign).
4. **Close the gaps.** Turn on **Block devices without a proxy** and LAN isolation, so a new phone gets no internet until it has a proxy and phones cannot see each other. See [Protection](https://xproxy.io/document/proxy-router-protection) and [Invisible router and LAN isolation](https://xproxy.io/document/proxy-router-protection#isolation).
5. **Check.** Every phone should show **Safe** on the Devices page. The Logs page lists anything the router blocked.

### Provider proxies or your own XProxy?

| Proxies | Good for | Keep in mind |
| --- | --- | --- |
| **From a provider** | Starting fast, many locations | Check that SOCKS5 relays UDP if your apps need it. The Inspect button shows whether UDP works and from which IP it leaves. |
| **Your own XProxy server** | Your own mobile IPs from your own SIM cards, rotation on your schedule | Every XProxy SOCKS5 port answers UDP in your network. Compare the servers in [Server or router?](https://xproxy.io/document/compare-xb22-xs-server-proxy-router) |

## Setup 2: phone farm here, IPs from another country

![A phone farm by a window, linked by a line of light to a cell tower in a city across the sea](https://media1.xproxy.io/docs/pdp-router/how-abroad.webp)

The router and phones stay with you; the IPs come from the country where the proxies are (illustration).

Example: your phone farm is in Thailand and runs TikTok accounts for Japan. You set up an XProxy server with Japanese SIM cards in Japan and keep the Proxy Router and the phones in Thailand. Any two countries work the same way.

1. **Get proxies in the target country.** An XProxy server with local SIM cards there, run by you or a partner, or a provider's proxies in that country.
2. **Make them reachable from your country.** The router uses them over the internet like any other proxy. For an XProxy box, use port forwarding on the router in front of it, or VPS Forwarding. For UDP from another country the box needs the Basic plan or higher with port forwarding, or VPS Forwarding on the Premium plan. See [SOCKS5 UDP behind a router](https://xproxy.io/document/socks5-udp-associate#router), [UDP through a VPS](https://xproxy.io/document/socks5-udp-associate#vps) and [VPS forwarding](https://xproxy.io/document/vps-forwarding-to-use-difference-place).
3. **Set up the router where you are.** Steps 1 to 4 of [setup 1](#phone-farm): Wi-Fi, proxies, one proxy per phone, the gaps closed.
4. **Inspect every proxy.** Inspect shows the exit IP's country and time zone, whether the proxy's DNS resolver is in the same country, and whether UDP works. See [Inspect a proxy](https://xproxy.io/document/proxy-router-devices#inspect-proxy).
5. **Set up each phone to match.** The router cannot change what the phone reports about itself; the table below lists what to set.

### What the router covers, and what you set on the phone

| What an app or website sees | Who handles it |
| --- | --- |
| IP address (TCP and UDP) | **Router:** the proxy's IP. UDP needs a SOCKS5 proxy that relays it. |
| DNS resolver | **Router:** with FakeDNS, names are resolved by the proxy. |
| WebRTC (STUN) | **Router:** answered with the proxy's exit IP. |
| IPv6 | **Router:** not routed, so it cannot go around an IPv4 proxy. |
| VPN or proxy app on the phone | **Router:** none needed; the phone only joins Wi-Fi. |
| SIM card country and carrier | **You:** take out a local SIM card, or use phones without one. |
| Time zone and clock | **You:** set the proxy's time zone; Inspect suggests it. |
| Language and region | **You:** set them on the phone and in the app. |
| Location (GPS) | **You:** turn location off for the app, or leave it denied. |

Every request crosses to the other country and back, so expect a higher delay than with local proxies. **Test** shows the delay of each proxy.

## FAQ

### Can I run both setups on one router?

Yes. Proxies are set per device, so some phones can use local proxies and others proxies from another country.

### Do the phones need a SIM card?

No. They go online over Wi-Fi. A SIM card from your own country tells apps where the phone really is, so take it out for setup 2.

### Do websites know a proxy is used?

They see the proxy's IP. Nothing on the phone shows a proxy, but choose proxies that suit what you do, for example mobile IPs for social apps.

## What next?

Plug the router in and connect the Wi-Fi.

[Set up and sign in →](https://xproxy.io/document/proxy-router-getting-started) [Protection →](https://xproxy.io/document/proxy-router-protection) [Try the live demo →](https://demo-router.xproxy.io)

---

Source: https://xproxy.io/document/proxy-router-use-cases
