When setting up (that's immediately when user enables it in settings) Opera VPN sends few API requests to https://api.surfeasy.com to obtain credentials and proxy IPs, see below, also see The Oprah Proxy.
The browser then talks to a proxy
de0.opera-proxy.net (when VPN location is set to Germany), it's IP address can only be resolved from within Opera when VPN is on, it's
188.8.131.52 (or similar, see below). It's an HTTP/S proxy which requires auth.
When loading a page with Opera VPN enabled, the browser sends a lot of requests to
Proxy-Authorization request header.
Proxy-Authorization header decoded:
device_password come from the
POST /v2/register_device API call, please note that this decoded header is from another Opera installation and thus contains different
device_password than what is shown below)
These creds can be used with the
de0.opera-proxy.net even when connecting from a different machine, it's just an HTTP proxy anyway.
When you use the proxy on a different machine (with no Opera installed), you'll get the same IP as when using Opera's VPN, of course.
This Opera "VPN" is just a preconfigured HTTP/S proxy protecting just the traffic between Opera and the proxy, nothing else. It's not a VPN.
They even call it Secure proxy (besides calling it VPN, sure) in Opera settings.
The API calls are:
I have automated the API calls and have built The Oprah Proxy, a simple Python script which will fetch the credentials for you. It will also list available locations and proxies.
does anyone know if it is possible to set up a specific country instead of a generic different one? I mean, a friend of mine with very limited knowledge is trying to use his Eurosport subscription in Costarica, but he needs to present itself as "Italian". I've noticed Opera got some Italian proxy, and it uses it by default if you flag the first option (it sounds like "best location" translated from Italian) and you really are in Italy. So I wonder if it possible to force the server choice. By choosing EU as location it seems there is a random forward mostly to France and Germany.