openvpn.is
English
简体中文繁體中文EnglishРусскийفارسی

HomeBlogSafety

A gate without a guard

Are free OpenVPN configs and VPN Gate volunteer servers usable: who runs them, what they see, the risk of hidden scripts, and checking a file first.

Compiled on

Anyone can walk in, and nobody looks after you
Anyone can walk in, and nobody looks after you Dosseman, CC BY-SA 4.0

A search for free ovpn finds thousands of files. Few connect, and with those that do, think about who is behind the gate.

Free ovpn files have their place: looking something up, seeing a regional page. Not for logging in anywhere, not for files. With that line drawn, here is how to choose and check.

Three kinds of sources

SourceWho runs itVerdict
VPN GateA project of the University of Tsukuba, on volunteers' computersOrigin is clear; volunteers can see unencrypted traffic
Free tier of a commercial VPNA companyLimited, with a privacy policy
Forums, file sharing, chat groupsUnknownNot recommended
An open gate: a free .ovpn connects, but you do not know who is on the other side
An open gate: a free .ovpn connects, but you do not know who is on the other side kallahar, CC BY 3.0

What they can see

Most pages are HTTPS, so not the contents, but which sites you visit and when. Anything unencrypted can be read and changed.

The file itself

  1. up, down, route-upRuns a script on connecting
  2. script-security 2Allows scripts
  3. pluginLoads an outside program
  4. auth-user-pass with a fileReads the account from a file
Open it and look for

An ordinary profile needs none of the first three. The profile check points them out. Phone apps do not run these scripts; computers do.

A neglected gate: many free configs have long been abandoned
A neglected gate: many free configs have long been abandoned A.-K. D., CC BY-SA 4.0

If you must

  • Only for browsing; no banking, mail or work accounts.
  • Disconnect afterwards.
  • Use a virtual machine or a separate browser.

Two safer ways

Rent a cheap server and follow the guide, a few dollars a month. Or use a provider with a free tier that says who runs it.

What VPN Gate is

A research project of the University of Tsukuba with volunteers' computers as servers. Origin is clear and no account is needed. Volunteers can see unencrypted traffic, and connection records are kept for a while and given out on lawful request. Everyone shares the same certificate, so it does not prove who you are. On strict networks take TCP with the IP, otherwise UDP. The listed speeds are the volunteers' own.

Read the file line by line

An ordinary one
client
dev tun
proto tcp
remote 203.0.113.9 443
cipher AES-128-CBC
resolv-retry infinite
nobind
persist-key
persist-tun
verb 3
<ca>
-----BEGIN CERTIFICATE-----
…
</ca>

Stop if you find:

LineWhat it can do
up, down, route-up, ipchange with a programRun anything on your computer
script-security 2 or 3Opens the door for that
plugin something.dllLoad outside code
http-proxy addressTraffic passes a third party first
log pathWrite files to your disk

After connecting

  1. Has the IP changed?
  2. DNS leak test.
  3. The lock of an https site: is the issuer a known one? An unknown issuer or warning means disconnect at once.
  4. Are there new adverts in pages?

Why most do not connect

They use old ciphers that new clients refuse. One line allows it for now:

Add to the file
data-ciphers AES-256-GCM:AES-128-GCM:AES-128-CBC

Otherwise the server is off or the address is blocked. Public lists are blocked first.

Compared

Free publicPaid serviceYour own
Who sees trafficStrangersA companyThe host
StableHoursUsuallyDepends on the line
Cost0A few dollarsA few dollars
Who helpsNobodySupportYou
Fit for logging inNoYesYes

With no budget, a provider with a free tier, a known company and open source or audits is better than a found file.

Why do free ones stop working so soon?

They fill up, sites blacklist their addresses, and nobody has a reason to look after them.

Does VPN Gate keep records?

Its own description says connection records are kept for a while. Read it first.

Safer on a phone?

Phone clients do not run scripts; the visibility of traffic is the same.

Someone shared a company's ovpn?

No. It is the entrance to their network, and using it may be illegal.

What to clean up?

Delete the profile, clear the browser cache, set DNS back to automatic.

Walk on

Nearby gates

Signposts: free ovpn files, free OpenVPN config, VPN Gate