{"id":344,"date":"2023-08-23T20:49:50","date_gmt":"2023-08-23T17:49:50","guid":{"rendered":"https:\/\/gronlier.fr\/blog\/?p=344"},"modified":"2023-08-23T20:49:50","modified_gmt":"2023-08-23T17:49:50","slug":"install-tailscale-on-synology-dsm-7-via-quickconnect","status":"publish","type":"post","link":"https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/","title":{"rendered":"Install Tailscale on Synology DSM 7 via Quickconnect"},"content":{"rendered":"\n<p>To keep this tutorial short, I'm assuming that the reader has the minimal level of knowledge to use upload file, launch a container on the NAS and use SSH.<\/p>\n\n\n\n<p>This is a solution to configure Tailscale remotely when you only have a quickconnect access to your NAS.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install Container Manager on the NAS<\/h2>\n\n\n\n<p>Click on 'Package Center' -> Search for 'Container Manager\" -> and install it.<br>It'll create a <kbd>docker <\/kbd>volume that we are going to use next.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Enable SSH on the NAS<\/h2>\n\n\n\n<p>Click on 'Control Panel' -> 'Terminal &amp; SNMP' -> 'Enable SSH service'.<br>Keep the default port to 22. If you modify it, modify also the port value in the <code>ngrok.yml<\/code> config file below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setup NGROK<\/h2>\n\n\n\n<p><a href=\"https:\/\/ngrok.com\/\">https:\/\/ngrok.com\/<\/a> is a tool to easily expose services behind NATs to public internet.<\/p>\n\n\n\n<ol>\n<li>Create a free account<\/li>\n\n\n\n<li>Retrieve your <code>NGROK_AUTHTOKEN<\/code><\/li>\n\n\n\n<li>Create a file <kbd><code>ngrok.yml<\/code><\/kbd> with this content<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>version: 2\nauthtoken: NGROK_AUTHTOKEN\ntunnels:\n  dsm:\n    proto: http\n    addr: https:\/\/localhost:5001\n  ssh:\n    proto: tcp\n    addr: 22<\/code><\/pre>\n\n\n\n<p>The first <code>dsm <\/code>service will expose the DSM web interface service.<br>The second <code>ssh <\/code>service will expose the SSH service<\/p>\n\n\n\n<ol start=\"4\">\n<li>Replace  <code>NGROK_AUTHTOKEN <\/code>by the value you got from step 2.<\/li>\n\n\n\n<li>Upload the file in the <kbd><code>docker <\/code><\/kbd>volume.<\/li>\n\n\n\n<li>Open the 'Container Manager'<\/li>\n\n\n\n<li>From the Registry menu, download the <code>ngrok\/ngrok<\/code> image for the release <code>3-alpine<\/code>.<br>(It's always better to fix the release version instead of taking <code>latest <\/code>for later compatibility)<\/li>\n\n\n\n<li>From the 'Container' menu, create a container\n<ul>\n<li>image: ngrok\/ngrok:3-alpine<\/li>\n\n\n\n<li>keep 'Enable auto-restart' disable. It's not needed.<\/li>\n\n\n\n<li>'Add File' in 'Volume settings' mapping '\/docker\/ngrok.yml' to '\/ngrok.yml' in Read-Only<\/li>\n\n\n\n<li>Select 'Host' in the 'Network'<\/li>\n\n\n\n<li>Set <code>start --config \/ngrok.yml --all<\/code> as 'Command' in the 'Execution Command'<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>And run it<\/li>\n\n\n\n<li><\/li>\n<\/ol>\n\n\n\n<p>If ok, the container should be green and you will have two endpoints in your ngrok <a href=\"https:\/\/dashboard.ngrok.com\/cloud-edge\/endpoints\">endpoints<\/a> dashboard.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setup Tailscale<\/h2>\n\n\n\n<p>Use the HTTPS endpoints to connect to your NAS and once connected, install Tailscale from the 'Package Center'.<\/p>\n\n\n\n<p>From the NAS, click on 'Open' Tailscale, log in and add your devices to your account.<\/p>\n\n\n\n<p>From the NAS, click again on 'Open' and activate the 'Advertise as Exit Node'<\/p>\n\n\n\n<p>From that point on, I'm assuming you know how to configure and use Tailscale.<\/p>\n\n\n\n<p>The last step is to advertise route. For this step, you'll need to use the TCP endpoint you configured with ngrok.<br>Use it to ssh to your NAS<code> ssh -p &lt;the port> &lt;user>:&lt;the tcp url without tcp:\/\/><\/code><br>Once connected, configure the advertising route with this command<code><br>sudo tailscale up --advertise-routes 192.168.1.0\/24 --advertise-exit-node --reset<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Congrats, you're done !<br>For security, you can stop the ngrok container and even deactivate the SSH service.<\/p>\n<div class='skype-share' data-href='https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/' data-lang='auto' data-style='large' data-source='WordPress' ><\/div><div style='clear:both;padding-bottom:10px;'><\/div>\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=ticapix\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>To keep this tutorial short, I'm assuming that the reader has the minimal level of knowledge to use upload file, launch a container on the NAS and use SSH. This is a solution to configure Tailscale remotely when you only have a quickconnect access to your NAS. Install Container Manager on the NAS Click on &hellip; <a href=\"https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Install Tailscale on Synology DSM 7 via Quickconnect<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3,32,33],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Install Tailscale on Synology DSM 7 via Quickconnect - Bits and Bytes<\/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:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Tailscale on Synology DSM 7 via Quickconnect - Bits and Bytes\" \/>\n<meta property=\"og:description\" content=\"To keep this tutorial short, I&#039;m assuming that the reader has the minimal level of knowledge to use upload file, launch a container on the NAS and use SSH. This is a solution to configure Tailscale remotely when you only have a quickconnect access to your NAS. Install Container Manager on the NAS Click on &hellip; Continue reading Install Tailscale on Synology DSM 7 via Quickconnect &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/\" \/>\n<meta property=\"og:site_name\" content=\"Bits and Bytes\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-23T17:49:50+00:00\" \/>\n<meta name=\"author\" content=\"ticapix\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ticapix\" \/>\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:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/\",\"url\":\"https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/\",\"name\":\"Install Tailscale on Synology DSM 7 via Quickconnect - Bits and Bytes\",\"isPartOf\":{\"@id\":\"https:\/\/gronlier.fr\/blog\/#website\"},\"datePublished\":\"2023-08-23T17:49:50+00:00\",\"dateModified\":\"2023-08-23T17:49:50+00:00\",\"author\":{\"@id\":\"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/9abd8d0260a4d942d7069de75446e2bc\"},\"breadcrumb\":{\"@id\":\"https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/gronlier.fr\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Tailscale on Synology DSM 7 via Quickconnect\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/gronlier.fr\/blog\/#website\",\"url\":\"https:\/\/gronlier.fr\/blog\/\",\"name\":\"Bits and Bytes\",\"description\":\"As the default template said: &quot;Just another WordPress site&quot;\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/gronlier.fr\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/9abd8d0260a4d942d7069de75446e2bc\",\"name\":\"ticapix\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/94bba7228ec3665afea02078abebfa94?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/94bba7228ec3665afea02078abebfa94?s=96&d=monsterid&r=g\",\"caption\":\"ticapix\"},\"url\":\"https:\/\/gronlier.fr\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install Tailscale on Synology DSM 7 via Quickconnect - Bits and Bytes","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:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/","og_locale":"en_US","og_type":"article","og_title":"Install Tailscale on Synology DSM 7 via Quickconnect - Bits and Bytes","og_description":"To keep this tutorial short, I'm assuming that the reader has the minimal level of knowledge to use upload file, launch a container on the NAS and use SSH. This is a solution to configure Tailscale remotely when you only have a quickconnect access to your NAS. Install Container Manager on the NAS Click on &hellip; Continue reading Install Tailscale on Synology DSM 7 via Quickconnect &rarr;","og_url":"https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/","og_site_name":"Bits and Bytes","article_published_time":"2023-08-23T17:49:50+00:00","author":"ticapix","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ticapix","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/","url":"https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/","name":"Install Tailscale on Synology DSM 7 via Quickconnect - Bits and Bytes","isPartOf":{"@id":"https:\/\/gronlier.fr\/blog\/#website"},"datePublished":"2023-08-23T17:49:50+00:00","dateModified":"2023-08-23T17:49:50+00:00","author":{"@id":"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/9abd8d0260a4d942d7069de75446e2bc"},"breadcrumb":{"@id":"https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/gronlier.fr\/blog\/2023\/08\/install-tailscale-on-synology-dsm-7-via-quickconnect\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gronlier.fr\/blog\/"},{"@type":"ListItem","position":2,"name":"Install Tailscale on Synology DSM 7 via Quickconnect"}]},{"@type":"WebSite","@id":"https:\/\/gronlier.fr\/blog\/#website","url":"https:\/\/gronlier.fr\/blog\/","name":"Bits and Bytes","description":"As the default template said: &quot;Just another WordPress site&quot;","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gronlier.fr\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/9abd8d0260a4d942d7069de75446e2bc","name":"ticapix","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/94bba7228ec3665afea02078abebfa94?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/94bba7228ec3665afea02078abebfa94?s=96&d=monsterid&r=g","caption":"ticapix"},"url":"https:\/\/gronlier.fr\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/posts\/344"}],"collection":[{"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/comments?post=344"}],"version-history":[{"count":1,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/posts\/344\/revisions"}],"predecessor-version":[{"id":345,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/posts\/344\/revisions\/345"}],"wp:attachment":[{"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/media?parent=344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/categories?post=344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/tags?post=344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}