{"id":362,"date":"2023-11-28T12:02:36","date_gmt":"2023-11-28T20:02:36","guid":{"rendered":"https:\/\/junsun.net\/wordpress\/?p=362"},"modified":"2023-12-11T10:52:24","modified_gmt":"2023-12-11T18:52:24","slug":"set-up-your-own-nordvpn-meshnet-vpn-server","status":"publish","type":"post","link":"https:\/\/junsun.net\/wordpress\/2023\/11\/set-up-your-own-nordvpn-meshnet-vpn-server\/","title":{"rendered":"Set Up Your Own NordVPN Meshnet VPN Server"},"content":{"rendered":"\n<p>China great firewall is having a dreaded effect on my decision whether I should go visit.  With a typical hacker fashion I decided to roll my own sleeves and take the matter under my own control &#8211; set up my VPN servers.<\/p>\n\n\n\n<p>A long story short, two solutions emerge, OpenVPN and NordVPN meshnet.  Both have some commercial backing.  So it is not exactly under my own control in some sense, but the solutions are all free.  This article  talks about NordVPN meshnet.<\/p>\n\n\n\n<h2>Set up VPN Server on AWS Ubuntu 22.04<\/h2>\n\n\n\n<p>I mostly follow <a href=\"https:\/\/meshnet.nordvpn.com\/getting-started\/how-to-start-using-meshnet\/using-meshnet-on-linux\">this page<\/a> that describes well.  Below are the the commands I used.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;register nordvpn account>  # max 10 devices are allowed\n\nsh &lt;(curl -sSf https:\/\/downloads.nordcdn.com\/apps\/linux\/install.sh)\n\nnordvpn login --token\nnordvpn set technology nordlynx\nnordvpn set meshnet on\nnordvpn mesh peer list\n\nnordvpn mesh peer inv send &lt;email>  # invite others\n\nnordvpn mesh peer routing allow &lt;peer node>  # allow others to connect and route\n\n# to stop\/disable nordvpn\nsudo systemctl disable --now nordvpnd\n\n# to uninstall nordvpn\nsudo apt-get --purge remove 'nordvpn*'\n<\/code><\/pre>\n\n\n\n<h2>Set up on Ubuntu Client<\/h2>\n\n\n\n<p>The primary source information is at <a href=\"https:\/\/meshnet.nordvpn.com\/features\/routing-traffic-in-meshnet\/traffic-routing-linux\">this page<\/a>.  Below are commands I used<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\n&lt;register nordvpn account&gt;\n\nsh &lt;(curl -sSf https:\/\/downloads.nordcdn.com\/apps\/linux\/install.sh)\n\nnordvpn login --token\nnordvpn set technology nordlynx\nnordvpn set meshnet on\n\n# accept invitation, if using other's server\nnordvpn mesh inv list\nnordvpn mesh inv accept &lt;email of Server user, if needed&gt;\n\n# connect and route internet traffic via meshnet VPN server\nnordvpn mesh peer list\nnordvpn mesh peer connect &lt;server node&gt;\n\n# status and disconnect\nnordvpn status\nnordvpn disconnect\n\n<\/code><\/pre>\n\n\n\n<h2>Set up Android Client and Other Clients<\/h2>\n\n\n\n<ul><li>install <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.nordvpn.android\">NordVPN Android app<\/a><\/li><li>Sign up and\/or log into NordVPN account<\/li><li>(optional) If using others&#8217; VPN server, accept their invitation first<\/li><li>Then follow <a href=\"https:\/\/meshnet.nordvpn.com\/features\/routing-traffic-in-meshnet\/traffic-routing-android\">this page<\/a> to start VPN<\/li><\/ul>\n\n\n\n<p>Other platforms are most likely similar, but I have not tried them.  See<a href=\"https:\/\/meshnet.nordvpn.com\/features\/routing-traffic-in-meshnet\/traffic-routing-ios\"> iOS page<\/a> and <a href=\"https:\/\/meshnet.nordvpn.com\/features\/routing-traffic-in-meshnet\/traffic-routing-macos\">macOS page<\/a>.  Note if you use someone else&#8217;s VPN servers, you will need to accept their invitation first so that you can see their servers on your peer list.<\/p>\n\n\n\n<p>Also note NordVPN is mixing meshnet features with their own paid VPN services, which make the UI very confusing.  Just follow this guide and steer clear from the paid subscriptions. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>China great firewall is having a dreaded effect on my decision whether I should go visit. With a typical hacker fashion I decided to roll my own sleeves and take the matter under my own control &#8211; set up my VPN servers. A long story short, two solutions emerge, OpenVPN and NordVPN meshnet. Both have &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/junsun.net\/wordpress\/2023\/11\/set-up-your-own-nordvpn-meshnet-vpn-server\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Set Up Your Own NordVPN Meshnet VPN Server&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[3],"tags":[76,84,82,83],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/junsun.net\/wordpress\/wp-json\/wp\/v2\/posts\/362"}],"collection":[{"href":"https:\/\/junsun.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/junsun.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/junsun.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/junsun.net\/wordpress\/wp-json\/wp\/v2\/comments?post=362"}],"version-history":[{"count":6,"href":"https:\/\/junsun.net\/wordpress\/wp-json\/wp\/v2\/posts\/362\/revisions"}],"predecessor-version":[{"id":379,"href":"https:\/\/junsun.net\/wordpress\/wp-json\/wp\/v2\/posts\/362\/revisions\/379"}],"wp:attachment":[{"href":"https:\/\/junsun.net\/wordpress\/wp-json\/wp\/v2\/media?parent=362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junsun.net\/wordpress\/wp-json\/wp\/v2\/categories?post=362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junsun.net\/wordpress\/wp-json\/wp\/v2\/tags?post=362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}