Europe · Madrid

VPN server in Spain: the Madrid exit server and its routes

WrapVPN's exit server in Spain is in Madrid, close to the geographic centre of the Iberian peninsula. Valencia, Bilbao, Seville and Barcelona all lie within about 500 km of it, and so do Lisbon and Porto, which gives the main cities of both Spain and Portugal a short route to the same exit.

This page sets out those distances and the latency floors they imply, including the sea crossings to the Balearic and Canary Islands. It explains why Madrid is a poor choice from Latin America despite the shared language, what changes when websites see an address in Spain, which networks a summer visitor is likely to use, and what the Madrid exit server can and cannot see.

Server location
Madrid
Area
Europe
Typical latency
Not yet measured

Distances from Madrid across the peninsula and the islands

Distance sets the lowest latency a connection can reach, whatever software runs at either end. Light in optical fibre travels at roughly two-thirds of its speed in a vacuum, close to 200 km in each millisecond. A request and its reply both make the journey, so each 100 km between you and Madrid adds at least 1 ms to the round trip.

The floors below apply that rule to great-circle distances from Madrid. Measured latency is always higher, because fibre follows coastlines, motorways and railway lines rather than the straight line, and every router on the way adds a little time.

Every route from Madrid listed here, except the one to the Canary Islands, has a floor in single figures. The Canaries lie 1,750 km away in the Atlantic, and that crossing is the one place where distance from Madrid starts to show.

  • Valencia (300 km), Bilbao (320 km) and Seville (390 km): floors of 3 to 4 ms.
  • Barcelona (510 km): a floor of about 5 ms.
  • Porto (420 km) and Lisbon (500 km): floors of about 4 and 5 ms. Lisbon to London, by comparison, is 1,600 km, a floor near 16 ms.
  • Palma de Mallorca (550 km): a floor of about 5.5 ms, close to Barcelona's despite the sea crossing.
  • Las Palmas de Gran Canaria (1,750 km): a floor of about 17 ms. São Paulo, by contrast, is 6,650 km from Las Palmas.

Madrid is far from Latin America, despite the shared language

Madrid can look like the natural exit for anyone who reads Spanish, but from the Americas it means crossing the Atlantic in both directions on every request. Two other exits are much nearer to most of Latin America: Cedar Knolls, in the New York area, and São Paulo. The figures below show which of them is nearer in the main cases.

The shared language is not a reason to accept the distance, because many sites choose which version to serve from the address they see. Through Madrid, that address is in Spain, so those sites tend to serve Spain's version: Spanish as written in Spain, prices in euros and search results ranked for Spain. Choose Madrid from Latin America only when Spain's version of a service is the one you need.

These are great-circle floors. Routes between the Americas and Europe run along submarine cables between particular landing points, so measured figures are higher, and the latency measured on your own connection is the figure to decide by.

  • Mexico City: 9,050 km to Madrid, a floor above 90 ms, against 3,350 km to Cedar Knolls, about 33 ms.
  • Bogotá: 8,000 km to Madrid, about 80 ms, against 4,000 km to Cedar Knolls, about 40 ms, and 4,350 km to São Paulo, about 43 ms.
  • Buenos Aires: 10,050 km to Madrid, a floor above 100 ms, against 1,650 km to São Paulo, about 17 ms.
  • From São Paulo itself, Madrid is 8,400 km away, a floor of about 84 ms.

What an address in Spain is useful for

Most reasons to choose Madrid come down to being near it, or to needing an address in Spain. The common cases are these.

  • A short detour from anywhere on the peninsula: from mainland Spain or Portugal, routing through Madrid adds only a few milliseconds of distance, so the tunnel can stay on all day at little cost in latency.
  • Spanish services used from abroad: some banks and other services treat a sign-in from an unfamiliar country as a risk signal and ask for extra verification. Through Madrid, they see an address in Spain, although an address that many users share can prompt checks of its own.
  • Local information before or during a trip: searches made through Madrid tend to return results ranked for Spain, with Spanish businesses, opening hours and listings first.
  • One country across a summer of changing networks: a trip that moves between a rental, a hotel, a ferry and mobile data changes the local network many times, but the exit stays in Madrid, so while you are connected, the services you are signed in to keep seeing an address in Spain.

How websites change when they see an address in Spain

An IP address carries an approximate location, and many websites use it to choose a language, a currency and which country's content to show. Connected through Madrid, expect Spanish pages, prices in euros, and maps, weather and search results centred on Spain. Where a site offers a language selector, a choice made there usually takes precedence over the address.

Formatting tends to follow. A site that sets its locale from your address writes amounts with a decimal comma and the euro sign after the figure, and puts the day before the month in dates.

Time can shift as well. Mainland Spain keeps Central European Time, one hour ahead of Portugal and the Canary Islands. A service that estimates your time zone from your address rather than from your device will show Madrid time, which matters for anything with a delivery slot or a booking time attached.

Downloads tend to come from a nearby copy. Content delivery networks commonly pick a cache from the location of the address that requests a file, or of the DNS resolver that looked up the name, and through WrapVPN both requests come from the exit's address. App updates, software packages and video therefore tend to arrive from a cache in or near Madrid, which is a short path from anywhere on the peninsula.

Summer networks on the coasts and islands

A summer visit to Spain's coasts or islands usually means Wi-Fi that belongs to someone else: a holiday rental's router, a hotel's guest network, or a café network whose password every customer shares.

A holiday rental feels private, but its network is not yours. The page on holiday-rental Wi-Fi, linked below, covers what the host's router can observe and what to change on your devices before joining it.

Hotel and resort guest networks are shared by everyone staying, so in high season more people divide the same capacity. The tunnel adds no capacity, but it changes what the hotel's equipment carries: one encrypted session to Madrid rather than the names of the sites you open.

An island trip multiplies the networks: the rental, the hotel, the ferry and the café are each a new one. Where a network has a sign-in page, disconnect, complete the page and connect again; on iPhone or iPad with Auto-Connect on, pause instead of disconnecting. Where it has none, the tunnel on iPhone, iPad, Mac and Android carries on across the change.

Note

Complete a network's sign-in page before connecting. Until the page is accepted, the network lets little or nothing through, so a tunnel started first cannot reach Madrid, the page never appears and the network seems to have no internet access.

What the Madrid exit server can see, and what WrapVPN records

A tunnel moves the point where your traffic can be observed; it does not remove that point. Traffic in the tunnel is encrypted by WireGuard all the way to Madrid, so the rental's router, the hotel network and your mobile operator see a single session to a single address, with its timing and volume, but not what travels inside it.

In Madrid, the traffic leaves the tunnel and continues as ordinary traffic from the exit's address. To forward each packet, the exit server has to know where it is going, so destination addresses are visible there. Most websites and apps now encrypt their connections with HTTPS, and that content cannot be read at the exit; content sent without encryption can.

Every user of the Madrid exit shares its IPv4 address, so websites see the exit's address in place of yours, and the same address for many people at once.

Of WrapVPN's own records, two concern the exit server directly; for the others, see the privacy policy. Each connection and disconnection is recorded with your account, the time, the exit server and the length of the session. Each exit server also reports, once an hour and for each tunnel address, the data transferred, the external addresses reached over TCP and the domain names associated with them, and those reports can be linked to your account.

Clean Web, WrapVPN's DNS filter, runs on the exit server too. It answers a lookup for a domain on its blocklist as though the name did not exist, so an app that relies on the tunnel's DNS receives no address to connect to. It judges by domain name alone and does not inspect pages. It is on by default on Android and off by default on iPhone, iPad and Mac; on Windows, check its switch in Settings. A browser or app that sends its own encrypted DNS queries bypasses it.

Common uses

A summer let on the coast

Several weeks in a holiday rental means several weeks on a router the host controls. Join the rental's Wi-Fi, connect to Madrid, and keep the tunnel on while you use that network. For a stay of more than two weeks, the monthly plan at $3.99 costs less than the weekly plan, which comes to $5.97 over three weeks. Either plan renews until you cancel it in your store's subscription settings.

Connecting from Portugal

From Lisbon or Porto, Madrid is the short route east rather than a long one north: Lisbon to Madrid is 500 km, Lisbon to London 1,600 km. The cost is localisation. Sites see an address in Spain, so many present Spanish pages and Spanish search results until you choose Portuguese where a site offers it, and those that set the time from the address show Madrid time, one hour ahead of Lisbon.

Spanish accounts used elsewhere in Europe

Connecting through Madrid keeps presenting an address in Spain to the services you use at home. From elsewhere in Europe the detour stays modest: Paris is 1,050 km from Madrid, London 1,250 km, Rome 1,350 km and Frankfurt 1,450 km, floors between about 10 and 15 ms.

How to set up WrapVPN

  1. 1

    Install the app and keep one sign-in

    Install WrapVPN from the App Store on iPhone, iPad or Mac, from Google Play on Android, or from the Microsoft Store on Windows. Sign in with Apple or Google, and use the same method on every device: an Apple sign-in that uses Hide My Email creates a separate account from a Google sign-in, because the email addresses differ. A plan bought in either store belongs to the account, so every device signed in to it is covered.

  2. 2

    Select Madrid in the server list

    Look for the Spanish flag; Android and Windows also show the ES country code. On Android, tap the 'SERVER LOCATION' card; in the 'Choose Exit Destination' list, the entry takes the form 'ES - Madrid'. On iPhone and iPad, tap 'Change' on the same card and pick the Spanish entry in 'Pick a Server'; when the app opens while disconnected, it selects the location that measured fastest, so check the card again after a restart. On a Mac, click the Spanish entry in the 'Locations' column. Choosing the entry connects on all of these. On Windows, select it in the 'Locations' panel and then select 'Connect'; the Windows app returns to its automatic choice each time it starts, so select Madrid again after reopening it.

  3. 3

    Connect, then check the address and the latency

    Open a page that reports your IP address. It should place you in Spain, though the city it names may differ, because geolocation databases estimate a location rather than record it. On iPhone, iPad, Android and Windows, the server list shows a latency figure beside each location, measured by the app on your device. Compare Madrid with a neighbouring location on the same device, since each app times the route in its own way, and during a free session on iPhone or iPad, disconnect before switching.

Plans and prices

Weekly and monthly plans renew automatically until cancelled, and there is no annual commitment. You can cancel at any time in your App Store or Google Play subscription settings.

$1.99per week

$3.99per month

There is no annual or multi-year plan.

The monthly plan may include a 7-day free trial for eligible new subscribers.

See all plans

Common questions

Where is WrapVPN's server in Spain?

In Madrid. Traffic you send through the Spanish server location leaves the tunnel there, so websites see an address in Spain. In the server list, look for the Spanish flag, shown with the ES code on Android and Windows; the city names in the list come from the location data recorded for each server's address.

Is Madrid a good exit from Mexico, Colombia or Argentina?

Usually not. Mexico City is 9,050 km from Madrid and 3,350 km from Cedar Knolls, Bogotá is 8,000 km from Madrid and 4,000 km from Cedar Knolls, and Buenos Aires is 10,050 km from Madrid and 1,650 km from São Paulo. Through Madrid, many Spanish-language sites also serve Spain's version, priced in euros, rather than a Latin American one. Compare Cedar Knolls and São Paulo first; the iPhone, iPad, Android and Windows apps show a latency figure for each in the server list.

How much latency does Madrid add from the Balearic and Canary Islands?

From Palma, 550 km away, the floor is about 5.5 ms, close to Barcelona's. From Las Palmas, 1,750 km away, it is about 17 ms. Measured figures sit above these floors, and on iPhone, iPad, Android and Windows the server list shows the figure for your own connection.

Will websites switch to Spanish and euros while I am connected?

Often, yes. Many sites choose a language, a currency and local content from your IP address, and through Madrid that address is in Spain. Some also show Madrid time, an hour ahead of Portugal and the Canary Islands. A language selector on the site usually overrides the address.

What can WrapVPN see of my traffic through Madrid?

The exit server forwards your traffic, so it knows the addresses you reach, but it cannot read content protected by HTTPS; unencrypted traffic can be read there. WrapVPN records each connection and disconnection, and an hourly summary for each tunnel address of the data transferred, the external addresses reached over TCP and the associated domain names, which can be linked to your account. The privacy policy sets out the rest.

Which plan suits a summer in Spain?

The free plan gives three one-hour sessions a week, shared by all of your devices with no device limit, which is enough to try Madrid from where you are staying. For the stay itself, the weekly plan costs $1.99 and the monthly plan $3.99, and from the third week the monthly plan is the cheaper. Both renew until you cancel them in your App Store or Google Play subscription settings, and cancelling keeps access until the end of the period already paid for. The monthly plan may include a seven-day free trial for eligible new subscribers; the store decides who is eligible, and the app shows the offer before you confirm.

Download WrapVPN

One account works on your phone, tablet and computer, with no device limit on any plan. Every server location is available on every plan, including the free plan.