{"id":39,"date":"2016-07-09T19:41:00","date_gmt":"2016-07-10T02:41:00","guid":{"rendered":"https:\/\/csteele.io\/blog\/?p=39"},"modified":"2016-07-09T19:41:00","modified_gmt":"2016-07-10T02:41:00","slug":"pritunl","status":"publish","type":"post","link":"https:\/\/gravemind.sh\/blog\/?p=39","title":{"rendered":"Pritunl"},"content":{"rendered":"<p><strong>Debian (Jessie) install\u00a0commands: <\/strong>(If using LXC\u00a0Debian\u00a0template, you&#8217;ll need to install systemd first)<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">sudo nano \/etc\/apt\/sources.list.d\/mongodb-org-3.0.list\ndeb http:\/\/repo.mongodb.org\/apt\/debian wheezy\/mongodb-org\/3.0 main\n\nsudo nano \/etc\/apt\/sources.list.d\/pritunl.list\ndeb http:\/\/repo.pritunl.com\/stable\/apt jessie main\n\nsudo apt-key adv --keyserver hkp:\/\/keyserver.ubuntu.com --recv 7F0CEB10\nsudo apt-key adv --keyserver hkp:\/\/keyserver.ubuntu.com --recv CF8E292A\nsudo apt-get update\nsudo apt-get install pritunl mongodb-org\nsudo systemctl start mongod pritunl\nsudo systemctl enable mongod pritunl<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Errors:<\/strong><\/p>\n<p>If you get this\u00a0<span class=\"lang:default highlight:0 decode:true crayon-inline\">[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed<\/span>\u00a0on Debian hosts whole attempting to have Pritunl install a Let&#8217;s Encrypt certificate you need to install the <span class=\"lang:default highlight:0 decode:true crayon-inline\">ca-certificates<\/span>\u00a0 package.<\/p>\n<pre class=\"lang:default decode:true\">sudo apt-get install ca-certificates\n<\/pre>\n<p>When starting the server if this <span class=\"lang:default highlight:0 decode:true crayon-inline \">ERROR: Cannot open TUN\/TAP dev \/dev\/net\/tun: No such file or directory (errno=2)<\/span>\u00a0 shows up you can run the following two commands to fix it.<\/p>\n<pre class=\"lang:default decode:true \">sudo mkdir -p \/dev\/net\/\nsudo mknod \/dev\/net\/tun c 10 200<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Links:<\/strong><\/p>\n<p><a href=\"https:\/\/docs.pritunl.com\/docs\/installation\">https:\/\/docs.pritunl.com\/docs\/installation<\/a><br \/>\n<a href=\"https:\/\/packages.debian.org\/jessie\/ca-certificates\">https:\/\/packages.debian.org\/jessie\/ca-certifica<span style=\"text-decoration: underline;\">te<\/span><\/a><span style=\"text-decoration: underline;\">s<\/span><a href=\"https:\/\/github.com\/pritunl\/pritunl\/issues\/347\"><br \/>\nhttps:\/\/github.com\/pritunl\/pritunl\/issues\/347<br \/>\n<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debian (Jessie) install\u00a0commands: (If using LXC\u00a0Debian\u00a0template, you&#8217;ll need to install systemd first) sudo nano \/etc\/apt\/sources.list.d\/mongodb-org-3.0.list deb http:\/\/repo.mongodb.org\/apt\/debian wheezy\/mongodb-org\/3.0 main sudo nano \/etc\/apt\/sources.list.d\/pritunl.list deb http:\/\/repo.pritunl.com\/stable\/apt jessie main sudo apt-key adv &#8211;keyserver hkp:\/\/keyserver.ubuntu.com &#8211;recv 7F0CEB10 sudo apt-key adv &#8211;keyserver hkp:\/\/keyserver.ubuntu.com &#8211;recv CF8E292A sudo apt-get update sudo apt-get install pritunl mongodb-org sudo systemctl start mongod pritunl sudo systemctl &hellip; <a href=\"https:\/\/gravemind.sh\/blog\/?p=39\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Pritunl&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,1,11],"tags":[],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry","category-debian","category-uncategorized","category-vpn"],"_links":{"self":[{"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=39"}],"version-history":[{"count":0,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/posts\/39\/revisions"}],"wp:attachment":[{"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}