Skip to content

VPN & Proxy Upstreams: Surfshark, NordVPN as Proxy Ports

Ask AI

Ready taskDo it with me, step by step

Chat assistants

Open in ChatGPTNew tabOpen in ClaudeNew tab

Coding agents

Claude CodeOpens the desktop appCodexOpens the desktop appCursorOpens the app from the web

Copy

View as MarkdownPlain text for AI tools
See the prompt
Read https://xproxy.io/document/vpn-proxy-upstreams.md, the XProxy guide "VPN & Proxy Upstreams: Surfshark, NordVPN as Proxy Ports". If you cannot open links, download them with curl. Then take me through it one step at a time: tell me exactly what to click or type, wait until I say it is done, and help me when what I see is different from the guide. Start by asking what I have (hardware, XProxy version, what I see now).
Other XProxy guides, each with a Markdown copy at its URL + .md, are listed in https://xproxy.io/llms.txt.

The app opens with the prompt filled in. Nothing runs until you press Enter.

VPN & Proxy Upstreams turn a VPN account, your own WireGuard or OpenVPN server, or a list of proxies into proxy ports on your XProxy box. Each connection becomes a row in Proxy Management, next to your modems, and gets an HTTP/SOCKS5 port, VLESS and Shadowsocks, rotation, Proxy Group, selling and VPS forwarding like a modem does.

You need: the Premium plan or higher (Pricing), a box with internet on its LAN port, and an account at a VPN or proxy provider. No modem is needed.

In short

Account

Your login at a provider: a WireGuard key, a token, OpenVPN service credentials, config files or proxy lines. You add it once.

Slot

One connection of an account to one server. Each slot has its own exit IP and its own proxy port.

One modem slot each

Every upstream slot uses one modem slot of your license. 40 slots need a license with 40 free modem slots.

Which VPNs and proxies can I add?

ProviderConnection typeWhat you paste
SurfsharkWireGuard, OpenVPNWireGuard keys (one per line), or the OpenVPN service username and password
NordVPNWireGuard (NordLynx), OpenVPNAn access token, or the OpenVPN service username and password
MullvadWireGuardYour 16-digit account number
Proton VPN, WindscribeWireGuard, OpenVPNWireGuard .conf files, or .ovpn files with the service login
Private Internet Access, ExpressVPNOpenVPN.ovpn files with the service login
WireGuard config / OpenVPN configYour own server or any VPNThe .conf or .ovpn files. Each file is one slot.
Proxy listSOCKS5, HTTPOne proxy per line: host:port:user:pass. Each line is one slot.
Shadowsocks / VLESS linkss://, vless://Links, one per line, or a subscription URL

The Add account window shows where to find each value at your provider. XProxy never asks for the email and password you use to log in to the provider's website.

How do I add a VPN account?

  1. Open Device Settings → VPN & Proxy Upstreams.
  2. Click Add account, pick the Provider and the Connection type, and give the account a Name.
  3. Paste the values the window asks for. Click Test login to check them, then save.

Surfshark WireGuard key: log in at my.surfshark.com → VPN → Manual setup → Desktop or mobile → WireGuard → "I don't have a key pair" → give it a name → Generate. Copy the private key. Make a few keys if you want many slots (see how many slots).

Surfshark OpenVPN: on the same Manual setup page, open the Credentials tab and copy the service username and password. They are not your login email.

How do I make proxy ports from an account?

  1. On the account row, click Add slots.
  2. Set How many and choose one or more Countries. Slots are spread across the countries and their cities.
  3. Leave Different IPs on so every slot gets its own server and IP.
  4. Choose where Rotate IP to goes: Same country (another server in the same country) or Any country.

The slots connect one after another, a few seconds apart, so the provider does not block the account. A slot shows Connected only after XProxy has found its exit IP through the tunnel, usually within a minute. Each slot then appears in Proxy Management as a VPN or Proxy row with its port, exit IP and location.

How does rotation work on a VPN slot?

Rotate works from Proxy Management, rotation links, the API and timers, like for a modem (how to rotate the IP). On a VPN slot, rotation moves the slot to another server: in the same country, or in any country if you chose Any country. The button answers at once; the slot shows Changing IP and comes back with the new IP when its turn comes. Rotate All reconnects the slots of one account two at a time, a few seconds apart, so 20 slots of one account take about a minute. Slots of different accounts reconnect side by side.

A country with only one server keeps the same server, and the provider often gives the same exit IP again. Choose Any country for those slots if you need a new IP on every rotation. On a proxy list, rotation asks the provider for a new IP on the same proxy line.

If a server keeps refusing the connection, XProxy moves the slot to another server it is allowed to use after a few tries, instead of waiting for that server to come back.

How many slots can one VPN account run?

Most VPNs limit the connections of one account. XProxy shows the limit as Connections allowed when the provider publishes one.

ProviderConnections per account
Surfshark"Unlimited". In our tests one account ran about 40 slots at once; above that new connections were refused.
NordVPN, Proton VPN, ExpressVPN10
Mullvad5
  • The limit is per account, not per key. More keys of the same account do not give more connections. For more slots, add another account.
  • A WireGuard key holds one connection per server. XProxy never puts two slots of the same key on one server. Use one key for every 20 to 30 slots.
  • Slow down after a block. Connecting hundreds of slots at once can make the provider refuse the key for a while. It comes back on its own; XProxy keeps retrying.

What works on an upstream slot?

FeatureWorks?
HTTP and SOCKS5 port, login, IP whitelistYes
VLESS and Shadowsocks portsYes
Rotation, rotation links, IP historyYes
Proxy Group, Selling Platform, VPS forwardingYes
UDP through the proxyWireGuard, OpenVPN and SOCKS5 slots. Not HTTP proxy or Shadowsocks/VLESS link slots.
IPv6No. Upstream slots are IPv4 only.
SMS, USSD, signal, IMEI or MAC changeNo. These are modem features.

VPN and datacenter proxy IPs are not mobile IPs. Many websites know them as VPN addresses. When you need mobile IPs, use modems or phones.

Upstream slot not working?

You seeWhat to do
"WireGuard: no handshake with … within 15 s"The server refused the key. Check the key at the provider. If many slots of one account show it at once, the account has too many connections: remove slots or add another account.
"OpenVPN: authentication failed"Use the service username and password from the provider's manual setup page, not your login email.
"Connected to the server but no internet through the tunnel"The provider accepted the connection but sends no traffic. XProxy reconnects and, after a few tries, moves the slot to another server.
"No free modem slot on your license"Every modem slot is used. Remove slots or modems, or upgrade the license.
"VPN & Proxy upstreams require a Premium or Business license"Upgrade to Premium or Business.
Two slots show the same exit IPThe provider sent both through the same server. Rotate one of them, or turn Different IPs on when you add slots.

FAQ

Why does XProxy not take my Surfshark email and password?

Logging in with them needs a captcha and is against the provider's terms. The WireGuard key or the OpenVPN service login is made for routers and other devices, and you can revoke it at any time.

Does an upstream slot need a modem or a SIM?

No. The box connects to the VPN or proxy over its own internet connection. The slot only uses a modem slot of your license.

What happens when I delete an account?

Its slots are removed too, and their rows and proxy ports disappear from Proxy Management. The modem slots of the license are free again.

What next?

Use the new ports in your tools, put several slots behind one port, or reach them from outside your network.

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