{"id":328,"date":"2017-11-17T17:13:41","date_gmt":"2017-11-17T17:13:41","guid":{"rendered":"http:\/\/kitewp.ecko.me\/?p=328"},"modified":"2017-11-17T17:13:41","modified_gmt":"2017-11-17T17:13:41","slug":"install-tinc-and-vpn-setup-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/crownandluxury.com\/?p=328","title":{"rendered":"Install Tinc and VPN Setup on Debian &#038; Ubuntu"},"content":{"rendered":"\n<p>A few of the features that Tinc has that makes it useful include encryption, optional compression, automatic mesh routing (VPN traffic is routed directly between the communicating servers, if possible), and easy expansion. These features differentiate Tinc from other VPN solutions such as OpenVPN, and make it a good solution for creating a VPN out of many small networks that are geographically distributed. Tinc is supported on many operating systems, including Linux, Windows, and Mac OS X.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"691\" height=\"270\" src=\"https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/05\/tinc.png\" alt=\"tinc\" class=\"wp-image-896\" srcset=\"https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/05\/tinc.png 691w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/05\/tinc-300x117.png 300w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/05\/tinc-680x266.png 680w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/05\/tinc-500x195.png 500w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/05\/tinc-400x156.png 400w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/05\/tinc-250x98.png 250w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/05\/tinc-200x78.png 200w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/05\/tinc-100x39.png 100w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/05\/tinc-76x30.png 76w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/05\/tinc-50x20.png 50w\" sizes=\"auto, (max-width: 691px) 100vw, 691px\" \/><figcaption>Tinc is a mesh networking protocol, used for virtual private networks.<\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<p>To complete this tutorial, you will require root access on at least three Ubuntu 14.04 servers. Instructions to set up root access can be found here (steps 3 and 4): Initial Server Setup with Ubuntu 14.04.<\/p>\n\n\n\n<p>If you are planning on using this in your own environment, you will have to plan out how your servers need to access each other, and adapt the examples presented in this tutorial to your own needs. If you are adapting this to your own setup, be sure to substitute the highlighted values in the examples with your own values.<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"564\" src=\"https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/01\/bridge_small.jpg\" alt=\"bridge_small\" class=\"wp-image-657\" srcset=\"https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/01\/bridge_small.jpg 900w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/01\/bridge_small-300x188.jpg 300w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/01\/bridge_small-768x481.jpg 768w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/01\/bridge_small-860x539.jpg 860w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/01\/bridge_small-680x426.jpg 680w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/01\/bridge_small-500x313.jpg 500w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/01\/bridge_small-400x251.jpg 400w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/01\/bridge_small-250x157.jpg 250w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/01\/bridge_small-200x125.jpg 200w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/01\/bridge_small-100x63.jpg 100w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/01\/bridge_small-76x48.jpg 76w, https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/01\/bridge_small-50x31.jpg 50w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<p>If you would like to follow this tutorial exactly, create two VPSs in the same datacenter, with private networking, and create another VPS in a separate datacenter. We will create two VPSs in the NYC2 datacenter and one in AMS2 datacenter with the following names:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>externalnyc<\/strong>: All of the VPN nodes will connect to this server, and the connection must be maintained for proper VPN functionality. Additional servers can be configured in a similarly to this one to provide redundancy, if desired.<\/li><li><strong>internalnyc<\/strong>: Connects to <em>externalnyc<\/em> VPN node using its <em>private<\/em> network interface<\/li><li><strong>ams1<\/strong>: Connects to <em>externalnyc<\/em> VPN node over the public Internet<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Tinc Configuration<\/h3>\n\n\n\n<p>Tinc uses a &#8220;netname&#8221; to distinguish one Tinc VPN from another (in case of multiple VPNs), and it is recommended to use a netname even if you are only planning on configuring one VPN. We will call our VPN &#8220;netname&#8221; for simplicity.<\/p>\n\n\n\n<p>The ping should work fine, and you should see some debug output in the other windows about the connection on the VPN. This indicates that ams1 is able to communicate over the VPN through externalnyc to internalnyc. This indicates that ams1 is able to communicate over the VPN through externalnyc to internalnyc.<\/p>\n\n\n\n<p>Continue reading this guide at\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-tinc-and-set-up-a-basic-vpn-on-ubuntu-14-04\" target=\"_blank\">Digital Ocean<\/a>. This article has been used as an example of an\u00a0Ecko\u00a0WordPress theme. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will go over how to use Tinc, an open source Virtual Private Network (VPN) daemon, to create a secure VPN that your servers can communicate on as if they were on a local network. We will also demonstrate how to use Tinc to set up a secure tunnel into a private network. We will be using Ubuntu 14.04 servers, but the configurations can be adapted for use with any other OS.<\/p>\n","protected":false},"author":1,"featured_media":922,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[23,25],"class_list":["post-328","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administration","tag-project","tag-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Install Tinc and VPN Setup on Debian &amp; Ubuntu - Crown an Luxury Timepieces<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crownandluxury.com\/?p=328\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Tinc and VPN Setup on Debian &amp; Ubuntu - Crown an Luxury Timepieces\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we will go over how to use Tinc, an open source Virtual Private Network (VPN) daemon, to create a secure VPN that your servers can communicate on as if they were on a local network. We will also demonstrate how to use Tinc to set up a secure tunnel into a private network. We will be using Ubuntu 14.04 servers, but the configurations can be adapted for use with any other OS.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crownandluxury.com\/?p=328\" \/>\n<meta property=\"og:site_name\" content=\"Crown an Luxury Timepieces\" \/>\n<meta property=\"article:published_time\" content=\"2017-11-17T17:13:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/05\/tinc.png\" \/>\n\t<meta property=\"og:image:width\" content=\"691\" \/>\n\t<meta property=\"og:image:height\" content=\"270\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"CrownAndLuxury\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"CrownAndLuxury\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crownandluxury.com\/?p=328\",\"url\":\"https:\/\/crownandluxury.com\/?p=328\",\"name\":\"Install Tinc and VPN Setup on Debian & Ubuntu - Crown an Luxury Timepieces\",\"isPartOf\":{\"@id\":\"https:\/\/crownandluxury.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/crownandluxury.com\/?p=328#primaryimage\"},\"image\":{\"@id\":\"https:\/\/crownandluxury.com\/?p=328#primaryimage\"},\"thumbnailUrl\":\"https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/11\/windows-reflection-nyon-theme-reflections.jpg\",\"datePublished\":\"2017-11-17T17:13:41+00:00\",\"author\":{\"@id\":\"https:\/\/crownandluxury.com\/#\/schema\/person\/689dd98bb396b64007dc7139deb62482\"},\"breadcrumb\":{\"@id\":\"https:\/\/crownandluxury.com\/?p=328#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crownandluxury.com\/?p=328\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crownandluxury.com\/?p=328#primaryimage\",\"url\":\"https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/11\/windows-reflection-nyon-theme-reflections.jpg\",\"contentUrl\":\"https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/11\/windows-reflection-nyon-theme-reflections.jpg\",\"width\":1680,\"height\":1260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crownandluxury.com\/?p=328#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crownandluxury.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Tinc and VPN Setup on Debian &#038; Ubuntu\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crownandluxury.com\/#website\",\"url\":\"https:\/\/crownandluxury.com\/\",\"name\":\"Crown an Luxury Timepieces\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crownandluxury.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/crownandluxury.com\/#\/schema\/person\/689dd98bb396b64007dc7139deb62482\",\"name\":\"CrownAndLuxury\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crownandluxury.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1eef7995d66a0a390150f32f123dda9c52df4bb23af2e403d2f9d5ea8babaa82?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1eef7995d66a0a390150f32f123dda9c52df4bb23af2e403d2f9d5ea8babaa82?s=96&d=mm&r=g\",\"caption\":\"CrownAndLuxury\"},\"sameAs\":[\"https:\/\/crownandluxury.com\"],\"url\":\"https:\/\/crownandluxury.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install Tinc and VPN Setup on Debian & Ubuntu - Crown an Luxury Timepieces","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crownandluxury.com\/?p=328","og_locale":"en_US","og_type":"article","og_title":"Install Tinc and VPN Setup on Debian & Ubuntu - Crown an Luxury Timepieces","og_description":"In this tutorial, we will go over how to use Tinc, an open source Virtual Private Network (VPN) daemon, to create a secure VPN that your servers can communicate on as if they were on a local network. We will also demonstrate how to use Tinc to set up a secure tunnel into a private network. We will be using Ubuntu 14.04 servers, but the configurations can be adapted for use with any other OS.","og_url":"https:\/\/crownandluxury.com\/?p=328","og_site_name":"Crown an Luxury Timepieces","article_published_time":"2017-11-17T17:13:41+00:00","og_image":[{"width":691,"height":270,"url":"https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/05\/tinc.png","type":"image\/png"}],"author":"CrownAndLuxury","twitter_card":"summary_large_image","twitter_misc":{"Written by":"CrownAndLuxury","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crownandluxury.com\/?p=328","url":"https:\/\/crownandluxury.com\/?p=328","name":"Install Tinc and VPN Setup on Debian & Ubuntu - Crown an Luxury Timepieces","isPartOf":{"@id":"https:\/\/crownandluxury.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/crownandluxury.com\/?p=328#primaryimage"},"image":{"@id":"https:\/\/crownandluxury.com\/?p=328#primaryimage"},"thumbnailUrl":"https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/11\/windows-reflection-nyon-theme-reflections.jpg","datePublished":"2017-11-17T17:13:41+00:00","author":{"@id":"https:\/\/crownandluxury.com\/#\/schema\/person\/689dd98bb396b64007dc7139deb62482"},"breadcrumb":{"@id":"https:\/\/crownandluxury.com\/?p=328#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crownandluxury.com\/?p=328"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crownandluxury.com\/?p=328#primaryimage","url":"https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/11\/windows-reflection-nyon-theme-reflections.jpg","contentUrl":"https:\/\/crownandluxury.com\/wp-content\/uploads\/2015\/11\/windows-reflection-nyon-theme-reflections.jpg","width":1680,"height":1260},{"@type":"BreadcrumbList","@id":"https:\/\/crownandluxury.com\/?p=328#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crownandluxury.com\/"},{"@type":"ListItem","position":2,"name":"Install Tinc and VPN Setup on Debian &#038; Ubuntu"}]},{"@type":"WebSite","@id":"https:\/\/crownandluxury.com\/#website","url":"https:\/\/crownandluxury.com\/","name":"Crown an Luxury Timepieces","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crownandluxury.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/crownandluxury.com\/#\/schema\/person\/689dd98bb396b64007dc7139deb62482","name":"CrownAndLuxury","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crownandluxury.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1eef7995d66a0a390150f32f123dda9c52df4bb23af2e403d2f9d5ea8babaa82?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1eef7995d66a0a390150f32f123dda9c52df4bb23af2e403d2f9d5ea8babaa82?s=96&d=mm&r=g","caption":"CrownAndLuxury"},"sameAs":["https:\/\/crownandluxury.com"],"url":"https:\/\/crownandluxury.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/crownandluxury.com\/index.php?rest_route=\/wp\/v2\/posts\/328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crownandluxury.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crownandluxury.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crownandluxury.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crownandluxury.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=328"}],"version-history":[{"count":0,"href":"https:\/\/crownandluxury.com\/index.php?rest_route=\/wp\/v2\/posts\/328\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/crownandluxury.com\/index.php?rest_route=\/wp\/v2\/media\/922"}],"wp:attachment":[{"href":"https:\/\/crownandluxury.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crownandluxury.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crownandluxury.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}