Skip to content

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

The whole device

Apps without proxy settings, games and system services all use the modem's IP.

WireGuard first

It is the fastest and lightest. Choose OpenVPN only when your device or network needs it.

One file per device

XProxy makes a file for each device. Import it in the app and connect.

Any devicePC, phone, router
XProxy boxone port per modem
4G/5G modemSIM card
Website / appsees a mobile IP
One VPN server per modem: the WireGuard port 8001 and the OpenVPN port 9001 both exit through modem #1.

WireGuard or OpenVPN?

WireGuardOpenVPN
Port of modem #1UDP 8001UDP 9001
Speed and batteryFastest, lightestSlower, heavier
AppsOfficial apps for every OS, many routersOpenVPN Connect, most routers and firewalls
LoginA key inside the fileA certificate inside the file, optional username and password
Choose it whenAlmost alwaysThe 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

Which VPN?

Step 1 of 4

Open VPN Service

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.

The VPN Settings button at the top sets the WireGuard and OpenVPN start ports (8000 and 9000). Leave them unless they clash with something on your network.

Other options in Config

FieldWhat 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 LinkCalling 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:

  1. Install the official WireGuard app from wireguard.com.
  2. Click Import tunnel(s) from file and pick a .conf file from the ZIP (one file = one device).
  3. 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:

wireguard
[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 = 15

Endpoint 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:

Terminal
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 symptomFix
"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 outsideThe 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 internetCheck that the modem is online in Proxy Management, and that its Quota or Auto Expire has not switched the VPN off.
Some sites load foreverSet MTU to 1280 in Config, save, and download the files again.
Two devices keep disconnecting each otherThey 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.

Still stuck?A technician can look at your device with a one-time PIN, or chat with us on Telegram.