Skip to content

Instantly share code, notes, and snippets.

@s151003
Forked from joepie91/vpn.md
Last active September 23, 2019 08:36
Show Gist options
  • Save s151003/a8aa0ea682f7116c5a3b555670cc29fe to your computer and use it in GitHub Desktop.
Save s151003/a8aa0ea682f7116c5a3b555670cc29fe to your computer and use it in GitHub Desktop.
Don't use VPN services.

VPNサービスを使うな

マジで使うな。これを読んでいるということは、どのVPNサービスを使うべきかを知りに来たのかと思いますが、これが答えです。

注意: これは第三者によって提供されている、見せかけのプロキシに対しての投稿で、VPNの本来の使い方に対して向けたものではありません。

(A Russian translation of this article can be found here, contributed by Timur Demin.)

なぜダメなの?

なぜなら、VPNはハッタリのProxyに過ぎないからです。VPNのプロバイダはあなたのトラフィックを監視できますし、ログを保存など、なんでもすることができます。

でも私のVPNプロバイダはNologだと言ってますけど!

それを私たちが確認する手立てはありません、そしてもちろん怪しいプロバイダでもそのように騙ることも可能です。つまり、我々は全てのVPNプロバイダがログをとっているという仮定でいたほうが安全なのです。

さらに、覚えておきたいのは、VPNを提供することというのはユーザの通信ログをとるのに最適であることです。

でもそんなことしたらユーザが減ると思うんですけど!

もしHideMyAssが撤退したらその説を支持するかもね。彼らは数年前ユーザーを裏切り、広く報道されました. 実際のほとんどのユーザは気にしてないか、気づいていないでしょう。

でもBitcoinとかPaysafeCardとか現金とかドラッグで匿名で払いましたけど!

関係ありません。あなたは自分のIPアドレスを通してVPNサーバーに接続してるわけですから、ログが取れます。

でもセキュリティを確保したい!

VPNはセキュリティの向上に役立ちません。見せかけのプロキシに過ぎません。

でも通信を暗号化したい!

中央集権型のサービスにはSSL/TLSとHTTPSを、P2Pのアプリーケーションにはend-to-endの暗号化を使ってください。VPNサービスは魔法のようにトラフィックを暗号化させることはできません。これは単純に技術的に不可能なのです。接続先がプレーンテキストを要求してきた場合、あなたが成せることは一切ありません。

VPNを使うときには、あなたとVPNプロバイダーの間の通信だけが暗号化されます。VPNプロバイダから先の通信はVPNを使わっていないのと同じことです。ですから、 VPNプロバイダーはあなたの通信をのぞき見てめちゃくちゃにすることも可能 だということを覚えておいてください。

でも共用IPを使ってトラッキングから逃れたい!

IPアドレスは最新のトラッキングの仕組みにおいては無関係であることが多いです。キャリアグレードNAT(CGNAT)の導入や増え続ける世帯ごとの端末に、信用し得るデータではもはやありません。もはやIPアドレスは信用できる資料ではなくなっています。

マーケターは顧客を区別するため他の方法を取ります。取得できるすべてのUserAgentからフィンガープリンティングプロファイル(fingerprinting profile)を生成するのです。VPNではこれを防ぐことはできません。

ではどんな時にVPNを使うべきなの?

この2つのケースでは使えるかもしれない。

  1. 敵意のあるネットワーク(例:空港の公共WiFi、MITMをするとされるISP)に接続していて、そこで仕事がしたい時。
  2. IPアドレスを特定の 例えば、チャットルームのBANを回避するとか、反海賊版の人たちからの怖い手紙を受け取りたくないとか

この二つのケースでは、普通のプロキシだけで事足りる - あなたがVPNを介して行う全ての通信は (ほとんどのVPNクライアントの設定では) めちゃくちゃにすることができる

でも、実際には、これらのケースでもVPNを使うことはない

で、だから何?

もし、あなたが本当にVPNが必要で、その限界を理解しているというのであれば、VPSを借りて、自分のVPNを作ろう。私は特定のプロバイダはおすすめしないけれど、LowEndBoxで、安いのが見つけられるよ。

でも、VPN

なら、なぜVPNサービスは存在するの?何かの役に立っているのでは?

イージーマネーだからですよ。ただOpenVPNをサーバにインストールして、後は帯域を上乗せして転売するだけ。

うんでも、1点だけ役に立ってる - プロバイダがね、君じゃない

WIP

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

(A Russian translation of this article can be found here, contributed by Timur Demin.)

Why not?

Because a VPN in this sense is just a glorified proxy. The VPN provider can see all your traffic, and do with it what they want - including logging.

But my provider doesn't log!

There is no way for you to verify that, and of course this is what a malicious VPN provider would claim as well. In short: the only safe assumption is that every VPN provider logs.

And remember that it is in a VPN provider's best interest to log their users - it lets them deflect blame to the customer, if they ever were to get into legal trouble. The $10/month that you're paying for your VPN service doesn't even pay for the lawyer's coffee, so expect them to hand you over.

But a provider would lose business if they did that!

I'll believe that when HideMyAss goes out of business. They gave up their users years ago, and this was widely publicized. The reality is that most of their customers will either not care or not even be aware of it.

But I pay anonymously, using Bitcoin/PaysafeCard/Cash/drugs!

Doesn't matter. You're still connecting to their service from your own IP, and they can log that.

But I want more security!

VPNs don't provide security. They are just a glorified proxy.

But I want more privacy!

VPNs don't provide privacy, with a few exceptions (detailed below). They are just a proxy. If somebody wants to tap your connection, they can still do so - they just have to do so at a different point (ie. when your traffic leaves the VPN server).

But I want more encryption!

Use SSL/TLS and HTTPS (for centralized services), or end-to-end encryption (for social or P2P applications). VPNs can't magically encrypt your traffic - it's simply not technically possible. If the endpoint expects plaintext, there is nothing you can do about that.

When using a VPN, the only encrypted part of the connection is from you to the VPN provider. From the VPN provider onwards, it is the same as it would have been without a VPN. And remember, the VPN provider can see and mess with all your traffic.

But I want to confuse trackers by sharing an IP address!

Your IP address is a largely irrelevant metric in modern tracking systems. Marketers have gotten wise to these kind of tactics, and combined with increased adoption of CGNAT and an ever-increasing amount of devices per household, it just isn't a reliable data point anymore.

Marketers will almost always use some kind of other metric to identify and distinguish you. That can be anything from a useragent to a fingerprinting profile. A VPN cannot prevent this.

So when should I use a VPN?

There are roughly two usecases where you might want to use a VPN:

  1. You are on a known-hostile network (eg. a public airport WiFi access point, or an ISP that is known to use MITM), and you want to work around that.
  2. You want to hide your IP from a very specific set of non-government-sanctioned adversaries - for example, circumventing a ban in a chatroom or preventing anti-piracy scareletters.

In the second case, you'd probably just want a regular proxy specifically for that traffic - sending all of your traffic over a VPN provider (like is the default with almost every VPN client) will still result in the provider being able to snoop on and mess with your traffic.

However, in practice, just don't use a VPN provider at all, even for these cases.

So, then... what?

If you absolutely need a VPN, and you understand what its limitations are, purchase a VPS and set up your own. I will not recommend any specific providers (diversity is good!), but there are plenty of cheap ones to be found on LowEndBox.

But how is that any better than a VPN service?

A VPN provider specifically seeks out those who are looking for privacy, and who may thus have interesting traffic. Statistically speaking, it is more likely that a VPN provider will be malicious or a honeypot, than that an arbitrary generic VPS provider will be.

So why do VPN services exist? Surely they must serve some purpose?

Because it's easy money. You just set up OpenVPN on a few servers, and essentially start reselling bandwidth with a markup. You can make every promise in the world, because nobody can verify them. You don't even have to know what you're doing, because again, nobody can verify what you say. It is 100% snake-oil.

So yes, VPN services do serve a purpose - it's just one that benefits the provider, not you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment