# VPN &amp; Proxy Upstreams: Surfshark, NordVPN as Proxy Ports

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

Turn Surfshark, NordVPN, Mullvad or your own WireGuard, OpenVPN and proxy lists into HTTP/SOCKS5 proxy ports with rotation, next to your modems.

VPN &amp; 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](https://xproxy.io/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?

| Provider | Connection type | What you paste |
| --- | --- | --- |
| **Surfshark** | WireGuard, OpenVPN | WireGuard keys (one per line), or the OpenVPN service username and password |
| **NordVPN** | WireGuard (NordLynx), OpenVPN | An access token, or the OpenVPN service username and password |
| **Mullvad** | WireGuard | Your 16-digit account number |
| **Proton VPN**, **Windscribe** | WireGuard, OpenVPN | WireGuard `.conf` files, or `.ovpn` files with the service login |
| **Private Internet Access**, **ExpressVPN** | OpenVPN | `.ovpn` files with the service login |
| **WireGuard config** / **OpenVPN config** | Your own server or any VPN | The `.conf` or `.ovpn` files. Each file is one slot. |
| **Proxy list** | SOCKS5, HTTP | One proxy per line: `host:port:user:pass`. Each line is one slot. |
| **Shadowsocks / VLESS link** | ss://, 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 &amp; 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](#how-many)).

**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](https://xproxy.io/document/how-use-proxy-format-http-socks5) 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](https://xproxy.io/document/how-change-rotate-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.

| Provider | Connections per account |
| --- | --- |
| Surfshark | "Unlimited". In our tests one account ran about 40 slots at once; above that new connections were refused. |
| NordVPN, Proton VPN, ExpressVPN | 10 |
| Mullvad | 5 |

- **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?

| Feature | Works? |
| --- | --- |
| HTTP and SOCKS5 port, login, IP whitelist | Yes |
| VLESS and Shadowsocks ports | Yes |
| Rotation, rotation links, IP history | Yes |
| [Proxy Group](https://xproxy.io/document/proxy-group), Selling Platform, [VPS forwarding](https://xproxy.io/document/vps-forwarding-to-use-difference-place) | Yes |
| UDP through the proxy | WireGuard, OpenVPN and SOCKS5 slots. Not HTTP proxy or Shadowsocks/VLESS link slots. |
| IPv6 | No. Upstream slots are IPv4 only. |
| SMS, USSD, signal, IMEI or MAC change | No. 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 see | What 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](https://xproxy.io/document/how-upgrade-subscription). |
| "VPN &amp; Proxy upstreams require a Premium or Business license" | Upgrade to Premium or Business. |
| Two slots show the same exit IP | The 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.

[HTTP &amp; SOCKS5 setup →](https://xproxy.io/document/how-use-proxy-format-http-socks5) [Proxy group →](https://xproxy.io/document/proxy-group) [VPS forwarding →](https://xproxy.io/document/vps-forwarding-to-use-difference-place)

---

Source: https://xproxy.io/document/vpn-proxy-upstreams
