{"id":93,"date":"2019-10-03T11:22:16","date_gmt":"2019-10-03T15:22:16","guid":{"rendered":"http:\/\/iheinrich.com\/?p=93"},"modified":"2019-10-03T11:43:51","modified_gmt":"2019-10-03T15:43:51","slug":"vpn-protocols-and-wireguard","status":"publish","type":"post","link":"https:\/\/iheinrich.com\/index.php\/2019\/10\/03\/vpn-protocols-and-wireguard\/","title":{"rendered":"VPN Protocols and Wireguard"},"content":{"rendered":"\n<p>In a previous post, I discussed WHAT a VPN is and WHY you need a VPN. If you missed it, it\u2019s called, \u201c<a href=\"https:\/\/web.archive.org\/web\/20190120085514\/http:\/\/www.iheinrich.com\/wordpress\/?p=268\">VPN and you<\/a>\u201c.<\/p>\n\n\n\n<p>So now that you know WHAT and WHY, let\u2019s talk about the HOW.<\/p>\n\n\n\n<p>A VPN Protocol is HOW the connection from you to the server is \ncreated and encrypted. It\u2019s really important as this will determine how \nFAST and SECURE your connection will be.<\/p>\n\n\n\n<p><strong>Old and Useless Protocols:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>PPTP2: Written in 1995, it has been cracked by nearly everyone.<\/li><li>LPT2\/IPSEC: Written by Microsoft, LPT2 provides ZERO encryption and \nrequires IPSEC for the encryption part. But even that is useless as it\u2019s\n rumored that the NSA has cracked the encryption. The default port is \nUDP 500 making easy to spot and block if you\u2019re in a country that \nactively blocks VPNs, like China or the United Arab Emirates.<\/li><li>IKEV2: Another Microsoft classic, another NSA cracked. See a trend here?<\/li><\/ol>\n\n\n\n<p><strong>Current Protocols:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>OpenVPN: An open source project, it has yet to be cracked and is \nconsidered the model of security. Most VPNs use this, as you can change \nports, use UDP or TDP, and change encryption methods (but just don\u2019t use\n Blowfish).<\/li><li>RouterPro: This is only available as a JFIF applet installed on a \ncustomized firmware router and connecting to Astrill. Why do I mention \nthis obscure protocol? Because when I lived in a part of the world where\n they blocked every VPN connection, and OpenVPN connections were \nunreliable*, this worked like a champ.<\/li><\/ol>\n\n\n\n<p><strong>There\u2019s a new protocol and it\u2019s awesome:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><a href=\"https:\/\/web.archive.org\/web\/20190120085514\/http:\/\/www.iheinrich.com\/wordpress\/wp-content\/uploads\/2018\/12\/WireGuard.jpg\"><img decoding=\"async\" src=\"https:\/\/web.archive.org\/web\/20190120085514im_\/http:\/\/www.iheinrich.com\/wordpress\/wp-content\/uploads\/2018\/12\/WireGuard.jpg\" alt=\"\" class=\"wp-image-314\"\/><\/a><figcaption>This EXIT sign has a wire guard, shouldn&#8217;t you? \ud83d\ude09<\/figcaption><\/figure><\/div>\n\n\n\n<p> <\/p>\n\n\n\n<p><a href=\"https:\/\/web.archive.org\/web\/20190120085514\/https:\/\/www.wireguard.com\/\">WireGuard<\/a>.\n WireGuard is a new protocol written using a fraction of the code that \nOpenVPN uses and even Linus Torvalds approves of the code. For a super \ndeep dive into WireGuard, check out the <a href=\"https:\/\/web.archive.org\/web\/20190120085514\/https:\/\/arstechnica.com\/gadgets\/2018\/08\/wireguard-vpn-review-fast-connections-amaze-but-windows-support-needs-to-happen\/\">Ars Technica initial write up<\/a>.<\/p>\n\n\n\n<p>I tested WireGuard at home and found it to <strong>3x to 4x faster<\/strong> than my OpenVPN connection. It blew my socks off and forced me to re-think my VPN configuration for 2019.<\/p>\n\n\n\n<p>You can even run WireGuard on your router if you have OpenWRT firmware.<\/p>\n\n\n\n<p>As of this writing, there are only TWO VPN (<strong><em>Update: Many providers now offer WireGuard<\/em><\/strong>) providers who offer the WireGuard protocol.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/web.archive.org\/web\/20190120085514\/https:\/\/www.mullvad.net\/\">Mullvad<\/a>.\n Based in Sweden, they offer a free trial for 3 hours. They are also the\n perfect choice if you are SUPER paranoid. Example, you can create an \naccount with them, SEND THEM AN ENVELOPE WITH CASH and your account \nnumber, and you\u2019re good to go. No names, no e-mail addresses, no paper \ntrail. You can pay with Bitcoin, or credit card as well. They have very \nsimple documentation on connecting using WireGuard. Mullvad also donates\n to the WireGuard project, so your subscription helps WireGuard \n(indirectly). While they cost a bit more, they offer 48 WireGuard \nservers to connect to, with 13 in the US and 2 being in New York. \u20ac60 \nEuros\/$68 USD for a year.<\/li><li><a href=\"https:\/\/web.archive.org\/web\/20190120085514\/https:\/\/www.azirevpn.com\/\">AzireVPN<\/a>.\n Another Swedish company, they also offer a \u201cpay in cash\u201d model for \nultimate security. While they are less expensive than Mullvad, they only\n offer 5 WireGuard servers. \u20ac45 Euros\/$51 USD for a year.<\/li><li>UPDATE: <a href=\"https:\/\/web.archive.org\/web\/20190120085514\/https:\/\/www.ivpn.net\/\">iVPN<\/a>. They offer a three day free trial, have an easy to use app, and seem to have plenty of Wireguard servers. $100 a year.<\/li><li>You can roll your own WireGuard server on DigitalOcean or any other cloud computing host.<\/li><\/ul>\n\n\n\n<p><strong>\u2026and now for some bad news:<br>\n<\/strong>It\u2019s still early days for WireGuard. When you connect, you will\n get a warning that this is still considered \u2018alpha\u2019 software. It\u2019s not \nfully tested, could disconnect unexpectedly, and isn\u2019t for people who \nare afraid of the command line. (this wasn\u2019t my experience, but your \nmilage may vary).<\/p>\n\n\n\n<p>Eventually, someone may write GUI interface (could be me!) that will make this easy for everyone. (<strong><em>Update: many providers now offer a GUI<\/em><\/strong>)<\/p>\n\n\n\n<p>But I think we need to give WireGuard a try.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/web.archive.org\/web\/20190120085514\/http:\/\/www.iheinrich.com\/wordpress\/wp-content\/uploads\/2018\/12\/wireguard-2.png\"><img decoding=\"async\" src=\"https:\/\/web.archive.org\/web\/20190120085514im_\/http:\/\/www.iheinrich.com\/wordpress\/wp-content\/uploads\/2018\/12\/wireguard-2.png\" alt=\"\" class=\"wp-image-315\"\/><\/a><\/figure><\/div>\n\n\n\n<p>I wish everyone a safe and healthy holidays and hope 2019 brings you all the things you wish for.<\/p>\n\n\n\n<p>* <em>While OpenVPN was not initially blocked, Etisalat was clearly \nscanning for OpenVPN connections and terminating them whenever it found \nthem. So you would make your connection, and 15 to 30 minutes later, it \nwould terminate.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a previous post, I discussed WHAT a VPN is and WHY you need a VPN. If you missed it,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":97,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-93","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","wpcat-8-id"],"_links":{"self":[{"href":"https:\/\/iheinrich.com\/index.php\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iheinrich.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iheinrich.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iheinrich.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iheinrich.com\/index.php\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":4,"href":"https:\/\/iheinrich.com\/index.php\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"predecessor-version":[{"id":98,"href":"https:\/\/iheinrich.com\/index.php\/wp-json\/wp\/v2\/posts\/93\/revisions\/98"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iheinrich.com\/index.php\/wp-json\/wp\/v2\/media\/97"}],"wp:attachment":[{"href":"https:\/\/iheinrich.com\/index.php\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iheinrich.com\/index.php\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iheinrich.com\/index.php\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}