{"id":1733,"date":"2022-09-16T11:22:03","date_gmt":"2022-09-16T03:22:03","guid":{"rendered":"https:\/\/pjq.me\/?p=1733"},"modified":"2024-12-26T10:14:55","modified_gmt":"2024-12-26T02:14:55","slug":"tailscale","status":"publish","type":"post","link":"https:\/\/pjq.me\/?p=1733","title":{"rendered":"Tailscale"},"content":{"rendered":"\n<p>Tailscale is one powerful VPN mesh solution, it&#8217;s very easy to build your internal virtual network without any complicate config or setup.<br>I just learn it today, and just follow the official website, to setup for my NAS\/Android\/Linux Server.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>https:\/\/tailscale.com\/download<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"507\" src=\"https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18-1024x507.png\" alt=\"\" class=\"wp-image-1734\" srcset=\"https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18-1024x507.png 1024w, https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18-300x149.png 300w, https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18-768x381.png 768w, https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18-1536x761.png 1536w, https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18-2048x1015.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/pjq.me\/?p=1733\/#Enable_the_exit_node\" >Enable the exit node<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/pjq.me\/?p=1733\/#Enable_the_subnet_routers\" >Enable the subnet routers<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Enable_the_exit_node\"><\/span>Enable the exit node<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>tailscale up --advertise-exit-node<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Enable_the_subnet_routers\"><\/span>Enable the subnet routers<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>tailscale up --advertise-routes=192.168.1.0\/24<\/code><\/pre>\n\n\n\n<p>Or you can enable both<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo tailscale up --advertise-routes=192.168.1.0\/24 --advertise-exit-node\nsudo tailscale up --advertise-routes=192.168.1.0\/24,192.168.71.0\/24 --advertise-exit-node<\/code><\/pre>\n\n\n\n<p>So which means after you enable the exit node, and you can use it as the proxy if you want to bypass the GFW in the Android App, you can switch the different `exit node`, maybe in local or another Country. And subnet routers means you can visit the local network directly, and which is really simple and convenient, and powerful feature.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tailscale up --exit-node=100.76.xxx.xxx --exit-node-allow-lan-access --advertise-exit-node --advertise-routes=192.168.1.0\/24,192.168.8.1\/24,192.168.71.0\/24<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Tailscale is one powerful VPN mesh solution, it&#8217;s very easy to build your internal virtual network without any complicate config or setup.I just learn it today, and just follow the official website, to setup for my NAS\/Android\/Linux Server. Enable the<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[169],"tags":[],"class_list":["post-1733","post","type-post","status-publish","format-standard","hentry","category-tech"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Tailscale - Jianqing&#039;s Blog<\/title>\n<meta name=\"description\" content=\"Using Tailscale to build your own virtual network connection with 5 mins\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pjq.me\/?p=1733\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tailscale - Jianqing&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"Using Tailscale to build your own virtual network connection with 5 mins\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pjq.me\/?p=1733\" \/>\n<meta property=\"og:site_name\" content=\"Jianqing&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-16T03:22:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-26T02:14:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2426\" \/>\n\t<meta property=\"og:image:height\" content=\"1202\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"pengjianqing\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pengjianqing\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/pjq.me\/?p=1733#article\",\"isPartOf\":{\"@id\":\"https:\/\/pjq.me\/?p=1733\"},\"author\":{\"name\":\"pengjianqing\",\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"headline\":\"Tailscale\",\"datePublished\":\"2022-09-16T03:22:03+00:00\",\"dateModified\":\"2024-12-26T02:14:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/pjq.me\/?p=1733\"},\"wordCount\":122,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"image\":{\"@id\":\"https:\/\/pjq.me\/?p=1733#primaryimage\"},\"thumbnailUrl\":\"https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18-1024x507.png\",\"articleSection\":[\"Tech\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/pjq.me\/?p=1733#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/pjq.me\/?p=1733\",\"url\":\"https:\/\/pjq.me\/?p=1733\",\"name\":\"Tailscale - Jianqing&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/pjq.me\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/pjq.me\/?p=1733#primaryimage\"},\"image\":{\"@id\":\"https:\/\/pjq.me\/?p=1733#primaryimage\"},\"thumbnailUrl\":\"https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18-1024x507.png\",\"datePublished\":\"2022-09-16T03:22:03+00:00\",\"dateModified\":\"2024-12-26T02:14:55+00:00\",\"description\":\"Using Tailscale to build your own virtual network connection with 5 mins\",\"breadcrumb\":{\"@id\":\"https:\/\/pjq.me\/?p=1733#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/pjq.me\/?p=1733\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/pjq.me\/?p=1733#primaryimage\",\"url\":\"https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18.png\",\"contentUrl\":\"https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18.png\",\"width\":2426,\"height\":1202},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/pjq.me\/?p=1733#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/pjq.me\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tailscale\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/pjq.me\/#website\",\"url\":\"https:\/\/pjq.me\/\",\"name\":\"Jianqing&#039;s Blog\",\"description\":\"Thoughts and Future\",\"publisher\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/pjq.me\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\",\"name\":\"pengjianqing\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png\",\"contentUrl\":\"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png\",\"width\":460,\"height\":752,\"caption\":\"pengjianqing\"},\"logo\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/pjq.me\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tailscale - Jianqing&#039;s Blog","description":"Using Tailscale to build your own virtual network connection with 5 mins","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:\/\/pjq.me\/?p=1733","og_locale":"en_US","og_type":"article","og_title":"Tailscale - Jianqing&#039;s Blog","og_description":"Using Tailscale to build your own virtual network connection with 5 mins","og_url":"https:\/\/pjq.me\/?p=1733","og_site_name":"Jianqing&#039;s Blog","article_published_time":"2022-09-16T03:22:03+00:00","article_modified_time":"2024-12-26T02:14:55+00:00","og_image":[{"width":2426,"height":1202,"url":"https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18.png","type":"image\/png"}],"author":"pengjianqing","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pengjianqing","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pjq.me\/?p=1733#article","isPartOf":{"@id":"https:\/\/pjq.me\/?p=1733"},"author":{"name":"pengjianqing","@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"headline":"Tailscale","datePublished":"2022-09-16T03:22:03+00:00","dateModified":"2024-12-26T02:14:55+00:00","mainEntityOfPage":{"@id":"https:\/\/pjq.me\/?p=1733"},"wordCount":122,"commentCount":0,"publisher":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"image":{"@id":"https:\/\/pjq.me\/?p=1733#primaryimage"},"thumbnailUrl":"https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18-1024x507.png","articleSection":["Tech"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pjq.me\/?p=1733#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pjq.me\/?p=1733","url":"https:\/\/pjq.me\/?p=1733","name":"Tailscale - Jianqing&#039;s Blog","isPartOf":{"@id":"https:\/\/pjq.me\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pjq.me\/?p=1733#primaryimage"},"image":{"@id":"https:\/\/pjq.me\/?p=1733#primaryimage"},"thumbnailUrl":"https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18-1024x507.png","datePublished":"2022-09-16T03:22:03+00:00","dateModified":"2024-12-26T02:14:55+00:00","description":"Using Tailscale to build your own virtual network connection with 5 mins","breadcrumb":{"@id":"https:\/\/pjq.me\/?p=1733#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pjq.me\/?p=1733"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pjq.me\/?p=1733#primaryimage","url":"https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18.png","contentUrl":"https:\/\/pjq.me\/wp-content\/uploads\/2022\/09\/2022-09-16_11-18-18.png","width":2426,"height":1202},{"@type":"BreadcrumbList","@id":"https:\/\/pjq.me\/?p=1733#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pjq.me\/"},{"@type":"ListItem","position":2,"name":"Tailscale"}]},{"@type":"WebSite","@id":"https:\/\/pjq.me\/#website","url":"https:\/\/pjq.me\/","name":"Jianqing&#039;s Blog","description":"Thoughts and Future","publisher":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pjq.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60","name":"pengjianqing","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pjq.me\/#\/schema\/person\/image\/","url":"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png","contentUrl":"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png","width":460,"height":752,"caption":"pengjianqing"},"logo":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/image\/"},"url":"https:\/\/pjq.me\/?author=1"}]}},"views":1069,"_links":{"self":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts\/1733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1733"}],"version-history":[{"count":6,"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts\/1733\/revisions"}],"predecessor-version":[{"id":2333,"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts\/1733\/revisions\/2333"}],"wp:attachment":[{"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}