Server location
Spain VPN servers
Madrid and Barcelona are open on Basic, Plus and Pro with unlimited data. Add a device, choose Madrid, and your traffic leaves the tunnel with a Spain address.
Why connect to Spain
Spain has two exits: Madrid for the center and the Atlantic side, and Barcelona for Catalonia and the Mediterranean coast. Spaniards abroad use them for bank, tax and TV apps, and the many remote workers in Valencia, Málaga and the islands use them to protect apartment and cafe Wi-Fi.
- Spanish bank and tax apps abroad
- Rental and cafe Wi-Fi for remote workers
- Spanish TV apps on holiday
VPN server cities in Spain

Madrid
Central Spain, short routes to Lisbon and the Atlantic coast.
Example host formates-madrid.edge.switchvpn.shopWireGuardOpenVPNIKEv2
Barcelona
Catalonia and the Mediterranean, close to southern France and the Balearics.
Example host formates-barcelona.edge.switchvpn.shopWireGuardOpenVPNIKEv2
Protocols and ports on every Spain server
| Protocol | Port | Encryption | How you connect |
|---|---|---|---|
| WireGuard | UDP 51820 | ChaCha20-Poly1305 | Official WireGuard app, file or QR code |
| OpenVPN | UDP 1194 or TCP 443 | AES-256-GCM | OpenVPN Connect with an .ovpn file |
| IKEv2 | UDP 500 and 4500 | AES-256-GCM | VPN settings built into your system |
The host shows the naming format, for example es-madrid.edge.switchvpn.shop. Your own files and QR codes carry the exact address and keys once your plan is active.
Dedicated IP
Shared Spain IPs on every plan
Servers in Spain use shared addresses, which many members use at the same time. If you need one fixed address, Pro offers a dedicated IP in these countries:
Price
Spain VPN from $2.51 a month
Same servers on every plan. Paid once, no automatic renewal.
Compare all plansHow to connect to a Spain VPN server
- 1
Choose a plan
Top up your balance in crypto and buy Basic, Plus or Pro. All 2 Spain cities are included.
- 2
Add a device in Madrid
In the dashboard, name the device, pick a Spain city and the protocol you want.
- 3
Load the settings
Scan the QR code in the WireGuard app, open the .ovpn file in OpenVPN Connect, or type the IKEv2 values into your system settings.
- 4
Switch on
Connect, then check your address on our IP checker. It should now show Spain.
Step by step guides for each system: VPN setup guides.
Other VPN servers in Europe
Spain VPN questions
Madrid or Barcelona?
Madrid suits central and western Spain and connections from Portugal and Latin America. Barcelona suits the Mediterranean coast, the Balearics and connections from southern France.
Should I use the VPN on holiday rental Wi-Fi?
Yes. You rarely know who else has the password, and the tunnel keeps your traffic private on any shared network.
Connect to Spain today
Buy once, add your devices and pick Madrid. Plans start at $2.51 a month with no automatic renewal.