VPN Mobile Proxy — WireGuard & OpenVPN
Every modem in your XProxy box can run its own VPN server. Connect a laptop, phone or router with WireGuard or OpenVPN, and all of its traffic leaves through that modem's mobile IP.
You need: a Basic plan or higher (VPN per modem is included) and at least one modem online.
In short
Apps without proxy settings, games and system services all use the modem's IP.
It is the fastest and lightest. Choose OpenVPN only when your device or network needs it.
XProxy makes a file for each device. Import it in the app and connect.
WireGuard or OpenVPN?
| WireGuard | OpenVPN | |
|---|---|---|
| Port of modem #1 | UDP 8001 | UDP 9001 |
| Speed and battery | Fastest, lightest | Slower, heavier |
| Apps | Official apps for every OS, many routers | OpenVPN Connect, most routers and firewalls |
| Login | A key inside the file | A certificate inside the file, optional username and password |
| Choose it when | Almost always | The device, router or company only supports OpenVPN |
Only need a browser or a scraper? An HTTP/SOCKS5 proxy is simpler. Want encryption on a phone with a QR code? Look at VLESS.
Set up the VPN
Step 1 of 4
In the menu, open VPN Service. Every modem has a row with its VPN Type/Port 1, its status, its data Quota, and the Config 2 and Download 3 buttons.
The first modem uses WireGuard port 8001 or OpenVPN port 9001. The next modems add 1.
Other options in Config
| Field | What it does |
|---|---|
| MTU (optional) | Leave it empty. If some sites hang on mobile networks, try 1280, save, and download the files again. |
| Auto Expire and Quota Limit (GB) | Optional. The VPN switches itself off at that date, or after that much traffic. Handy when you rent access out. |
| Rotation Link | Calling it gives this modem a new IP. See Change the IP. |
To switch the type of a running VPN, turn it off and save first, then change the type.
Connect your device
Import one file per device. Pick your device:
- Install the official WireGuard app from wireguard.com.
- Click Import tunnel(s) from file and pick a
.conffile from the ZIP (one file = one device). - Click Activate. The status turns green and the whole computer uses the modem's mobile IP.
Check that it works: https://api.ipify.org should show the modem's mobile IP, and dnsleaktest.com should not show your home ISP.
What the files look like inside:
[Interface]
PrivateKey = <this device's private key>
Address = 10.0.1.2/24, fd78:0486:2c09:1::2/64
DNS = 8.8.8.8
MTU = 1420
[Peer]
PublicKey = <XProxy server public key>
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = 51.79.12.34:8001
PersistentKeepalive = 15Endpoint is the address you picked in the Download menu plus the modem's WireGuard port. AllowedIPs = 0.0.0.0/0, ::/0 sends all traffic through the modem.
Change the IP
Copy the Rotation Link from the modem's Config. Anyone with the link can rotate that modem without a dashboard login, so it is safe to give to the person using the VPN:
curl "https://vpn.example.com/vpn/rotate?token=YOUR_TOKEN"The VPN stays connected. Traffic pauses for a few seconds while the modem gets its new IP. You can set your own domain for these links under VPN Settings → Rotation Link Domain. More options: How to change / rotate IP.
Troubleshooting
| Message or symptom | Fix |
|---|---|
| "VPN server is not enabled. Please enable VPN server first." | Turn on Enable VPN Server in Config and save before you download. |
| "VPS tunnel is not enabled…" | You chose VPS IP. Switch on Enable Tunnel to VPS for that modem first. |
| "VPN server already enable can not change VPN type!" | Turn the VPN off, save, then change the type and turn it on again. |
| The app never connects from outside | The UDP port is not reachable. Use the VPS tunnel, or forward UDP (not TCP) on your router, and download the files again with the matching option. |
| Connected, but no internet | Check that the modem is online in Proxy Management, and that its Quota or Auto Expire has not switched the VPN off. |
| Some sites load forever | Set MTU to 1280 in Config, save, and download the files again. |
| Two devices keep disconnecting each other | They share one file. Raise Number of Clients and give each device its own file. |
FAQ
What is the difference between a VPN and a proxy?
A proxy only carries traffic from apps that are told to use it. A VPN carries everything the device sends, including DNS and apps that ignore proxy settings.
Does a VPN use more mobile data?
It carries all the traffic of the device, including background updates and sync. So yes, usually more than a proxy used by one browser. Use Quota Limit to cap it.
Can I use the VPN and the proxies of the same modem together?
Yes. HTTP/SOCKS5, VLESS and the VPN of a modem all share its mobile IP, so a rotation changes the IP for all of them.
What next?
Compare all the protocols, or change the IP on a timer.

