<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Benjamín Santana</title>
    <description>The latest articles on DEV Community by Benjamín Santana (@bsantanad).</description>
    <link>https://dev.to/bsantanad</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F685107%2F39601d65-8bfd-4ae6-8368-504188932be6.png</url>
      <title>DEV Community: Benjamín Santana</title>
      <link>https://dev.to/bsantanad</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bsantanad"/>
    <language>en</language>
    <item>
      <title>what in the world is a vpn?</title>
      <dc:creator>Benjamín Santana</dc:creator>
      <pubDate>Thu, 12 Aug 2021 20:53:10 +0000</pubDate>
      <link>https://dev.to/bsantanad/what-in-the-world-is-a-vpn-3ic6</link>
      <guid>https://dev.to/bsantanad/what-in-the-world-is-a-vpn-3ic6</guid>
      <description>&lt;h1&gt;
  
  
  What?
&lt;/h1&gt;

&lt;p&gt;I'll tell you straight, and without any fancy words, after&lt;br&gt;
this (I hope) you'll understand what a vpn is.&lt;/p&gt;

&lt;p&gt;So..., what's a network? A bunch of computers connected with each other&lt;br&gt;
right? nothing spooky, nothing new. For the sake of the argument, let's&lt;br&gt;
say that all these computers are in the same physical place, say a lab,&lt;br&gt;
or a building. These computers are visible to each other, so you can chat,&lt;br&gt;
send files or whatever between them. Each of these computers have an&lt;br&gt;
unique id, otherwise we wouldn't know which computer is which, let's call&lt;br&gt;
this unique id: &lt;em&gt;IP&lt;/em&gt; ;). So now every computer in our network has an IP.&lt;br&gt;
And since each computer is in the same building, let's say they are in&lt;br&gt;
a &lt;em&gt;local network&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Now say there's a computer in some other location (physical location),&lt;br&gt;
let's assume that the first lab we talked about was in the UK, and this&lt;br&gt;
other computer is in the US. This computer, let's call it Cliff, wants&lt;br&gt;
to chat, send files and everything with his buddies in the UK, he wants&lt;br&gt;
to be in the same &lt;em&gt;local network&lt;/em&gt;. But he is so far away, poor Cliff :(.&lt;/p&gt;

&lt;p&gt;What does Cliff do? He uses a &lt;strong&gt;vpn&lt;/strong&gt;!!!&lt;/p&gt;

&lt;p&gt;First there must be a server (there can be several, but for the sake of&lt;br&gt;
simplicity let's assume there's only one) that hosts the vpn, let's be&lt;br&gt;
creative and call this server &lt;em&gt;the host&lt;/em&gt;. If Cliff want's to do all this&lt;br&gt;
cool things (chat and share files) with his friends in the UK, he will&lt;br&gt;
ask them politely to connect to &lt;em&gt;the host&lt;/em&gt; (the vpn server) he just&lt;br&gt;
set up. Now all he has to do is connect to &lt;em&gt;the host&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;What happens now?, well, remember this id every computer had? I think we&lt;br&gt;
called it &lt;em&gt;IP&lt;/em&gt;. Well now every computer has two of them, the one from&lt;br&gt;
the &lt;em&gt;local network&lt;/em&gt; and the one that &lt;em&gt;the host&lt;/em&gt; gave to each computer.&lt;/p&gt;

&lt;p&gt;Now Cliff can see all the machines connected to the vpn host as if he&lt;br&gt;
were in the UK. Ha lucky Cliff.&lt;/p&gt;

&lt;p&gt;That's it, no bells no whistles, that is a vpn.&lt;/p&gt;

&lt;h2&gt;
  
  
  But Hey! What about all those ads I see from SouthVPN.
&lt;/h2&gt;

&lt;p&gt;(This is a bit more technical sorry :()&lt;/p&gt;

&lt;p&gt;Oh yeah, that's right. I almost forgot that, thanks for the reminder.&lt;br&gt;
Well, you see, there are people in this world who want to make money.&lt;br&gt;
Just kidding :).&lt;/p&gt;

&lt;p&gt;What these companies are doing is quite creative. So I'll oversimplify&lt;br&gt;
again, but, do you remember the folks from the lab in UK connected&lt;br&gt;
to the VPN? Well, now whenever they &lt;em&gt;surf&lt;/em&gt; the internet, the requests they&lt;br&gt;
are making (Say they want to log in to facepad.com) will&lt;br&gt;
first go to &lt;em&gt;the host&lt;/em&gt;, and then they'll reach their destiny.&lt;/p&gt;

&lt;h2&gt;
  
  
  What? And do that helps them in any way?
&lt;/h2&gt;

&lt;p&gt;It depends, this means all the requests they are making first go to&lt;br&gt;
&lt;em&gt;the host&lt;/em&gt; (if you already forgot &lt;em&gt;the host&lt;/em&gt; is the vpn server), this&lt;br&gt;
means all the web pages they visit, think they are making the request&lt;br&gt;
from the place where &lt;em&gt;the host&lt;/em&gt; is. In this case, US.&lt;/p&gt;

&lt;p&gt;To put it briefly, all the web pages the folks from UK visit now will&lt;br&gt;
think they're not from the UK, but from the US. (because that is where&lt;br&gt;
&lt;em&gt;the host is&lt;/em&gt;)&lt;/p&gt;

&lt;p&gt;This also means that their ISP (internet service provider), will not&lt;br&gt;
know what websites they are visiting. All they'll see is them making&lt;br&gt;
connections to some server in the US: &lt;em&gt;the host&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Does this help privacy?
&lt;/h2&gt;

&lt;p&gt;You bet it does, your ISP can sell the info of the websites you visit&lt;br&gt;
legally. Now all they'll sell is you connecting to &lt;em&gt;the host&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Wohoo we are anonymous, that's great! Wait.. are we forgetting something?&lt;/p&gt;

&lt;p&gt;Cliff!! He set up the server, he can see the websites we visit. Damn&lt;br&gt;
Cliff I bet this was his plan from the beginning, we should have never&lt;br&gt;
trusted him.&lt;/p&gt;

&lt;p&gt;Now he can see the logs from &lt;em&gt;the host&lt;/em&gt; and sell them or do whatever&lt;br&gt;
he wants to.&lt;/p&gt;

&lt;p&gt;Wait! Are we forgetting about anyone else? The ISP from &lt;em&gt;the host&lt;/em&gt;!!&lt;br&gt;
He can also see our logs and sell them. Damn Cliff.&lt;/p&gt;

&lt;h2&gt;
  
  
  Let's get serious
&lt;/h2&gt;

&lt;p&gt;In the section above, instead of reading Cliff you can read &lt;em&gt;your vpn&lt;br&gt;
provider&lt;/em&gt;. This means they can see all the data your ISP used to log.&lt;/p&gt;

&lt;p&gt;Can you trust them with that data? Well, that's up to you. There are&lt;br&gt;
VPNs that have a no-logs policy, meaning they don't store anything.&lt;br&gt;
But to be honest, you can't be sure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Personal Opinion Warning&lt;/strong&gt;&lt;br&gt;
I'd recommend Mullvad VPN, they are the best I've seen in the privacy&lt;br&gt;
aspect. Why? Go read a review on them. I don't want to make this post&lt;br&gt;
to long.&lt;/p&gt;

&lt;h2&gt;
  
  
  Do vpn help in privacy in other way?
&lt;/h2&gt;

&lt;p&gt;yes! and I'll talk about it in my next post. Then I'll discuss what&lt;br&gt;
gives you more privacy, self-host a vpn or buying the service from&lt;br&gt;
someone else.&lt;/p&gt;

&lt;h2&gt;
  
  
  Self-Hosting?
&lt;/h2&gt;

&lt;p&gt;Can I be Cliff and make my own &lt;em&gt;the host&lt;/em&gt;. Well glad you ask, I'll&lt;br&gt;
cover that in the next article.&lt;/p&gt;

&lt;h3&gt;
  
  
  Where did you get this info?
&lt;/h3&gt;

&lt;p&gt;teacher and co-workers. No Google Scholar, so take all this with a&lt;br&gt;
grain of salt. :)&lt;/p&gt;

&lt;p&gt;happy coding :)&lt;/p&gt;

&lt;p&gt;ben&lt;/p&gt;

</description>
      <category>vpn</category>
      <category>privacy</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
