{"id":151,"date":"2018-09-21T18:10:05","date_gmt":"2018-09-21T16:10:05","guid":{"rendered":"http:\/\/blog.viking-studios.net\/en\/?p=151"},"modified":"2022-09-02T11:11:21","modified_gmt":"2022-09-02T09:11:21","slug":"external-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6","status":"publish","type":"post","link":"https:\/\/blog.viking-studios.net\/en\/external-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6\/","title":{"rendered":"External access on a DiskStation (Nextcloud on a DiskStation\/DSM6)"},"content":{"rendered":"<p><strong>I skipped this topic in my Nextcloud posts. It is related to Nextcloud but not required to run Nextcloud. Also most the steps that are needed to externally access your Nextcloud, apply to any other service, provided by your DiskStation (or servers in general).&nbsp;Also I did the setup in DSM5. When updating to DSM6 the settings got applied automatically. Unfortunately the places where to find those options changed and I also experimented a lot which made it hard to note down which steps are necessary and where to change things. Nevertheless, the topic is important and I reconstructed the setup.<br \/>\nIn the meantime I did a complete reset of my DiskStation and verified the steps.<\/strong><\/p>\n<p>This tutorial works (beside the Synology part) for any server based service in you LAN.<br \/>\nAbout the Synology part: The tutorial shows how to set up external access to the Web Station but with a few changes it also works on any other package like the Photo Station or the Video Station. But keep in mind that different services need different steps to keep them secure. This article covers only security related to Web Station and Nextcloud, also it isn&#8217;t a complete guide to network security.<\/p>\n<h2>Prerequisites<\/h2>\n<ul>\n<li>Nextcloud running on your DiskStation. See <a href=\"https:\/\/blog.viking-studios.net\/en\/your-own-cloud-nextcloud-installation-on-a-synology-diskstation-and-dsm-6\/\">here<\/a> how to do that.<\/li>\n<li>A router, that you are able to configure (NAT\/Portforwarding, optional DDNS) that has access to the internet.<\/li>\n<li>One of the following options:\n<ul>\n<li>either a static IP, usually you don&#8217;t have that as a private customer (this may vary, depending on the country you live in), sometimes you can negotiate with your provider to get one. At some providers you are able to order a business package (and those are sometimes not more expensive than the private ones) even as a private customer.<\/li>\n<li>or you get a DDNS-Account somewhere. Read below for more details.<\/li>\n<\/ul>\n<\/li>\n<li>A device that has internet access but is not connected to your LAN (e.g. smart phone)<\/li>\n<li>(Optional) Your own domain. It is not required, you can use the (static) IP, also DDNS provider mostly five you domains like this: &lt;aName&gt;.&lt;DDNSprovider&gt;.&lt;com\/net\/&#8230;&gt; .<\/li>\n<\/ul>\n<h2>Setup DDNS<\/h2>\n<p>If you don&#8217;t have a static IP you need DDNS. You get a free DDNS-Entry from Synology, if you register your DiskStation. Beside being free, you can access the Synology-DDNS directly via DiskStation. Downside: You only have von Subdomain per registered DiskStation: &lt;YourDS&gt;.synology.me. Usually this is OK, you only have one external IP anyway. Even if you want to expose different services (even on different servers),&nbsp; this is not an issue. With the DDNS hostname that is linked to your external IP, you will reach your router. The router has to forward the request to the actual target.<\/p>\n<pre class=\"lang:sh decode:true\">Examples:\nyourDS.synology.me(:8080)                - Webserver via http\nhttps:\/\/yourDS.synology.me               - Webserver via https\nhttp(s):\/\/yourDS.synology.me\/Nextcloud   - Nextcloud\nhttp(s):\/\/yourDS.synology.me\/photo       - PhotoStation\nhttps:\/\/yourDS.synology.me:5001          - DSM\nhttp(s):\/\/yourDS.synology.me\/blog        - DS Blog, your homepage, any other website\nyourDS.synology.me:&lt;Port&gt;                - Service provided by any other device in your LAN<\/pre>\n<p>If you want to use different sub domains or virtual hosts, you need another DDNS provider\/a provider that offers several sub domains. If you don&#8217;t have your own domain, you could use different DDNS sub domains. DiskStation and some router offer access to certain provider. Some router and the DS allow to extend the list.<\/p>\n<h3>How DDNS works<\/h3>\n<p>DNS maps a domain to a certain IP. If someone wants to visit the domain, a DNS server tells you which IP address should be used for the network communication. But those DNS entries are static. If you get a new IP address assigned every day, the DNS will not work. Sure you could update the DNS entry ever day but that is dumb and will not work if your host should be reachable at anytime. DDNS solves this by offering an update mechanism who does the work for you. The downside of this is, that you need a client that tells the DDNS entry the new IP address. The client has to run within your LAN. You can install a DDNS client on your PC\/a raspberry but the device has to be up and running to do its job. Gladly, router and DiskStations have already such a client.<\/p>\n<h3>Pick the solution that fits you<\/h3>\n<p>Now you have to check several things. It is better to have DDNS configured on your router (the router knows when the external IP changes). Otherwise you have to use the DiskStation, this usually works fine.* Check which providers are offered by your router, if none of the preinstalled fits, check if you can add your own, otherwise use the DiskStation.<br \/>\nI use the Synology DDNS but also used spDyn (for free) for some time and tried others as well. If you look for a provider, not in the list, check if it offers an update mechanism for your device (router or DiskStation). Also update tokens\/separate credentials should be offered. The separate login or the token is linked to exactly one sub domain and can only be used for updating the IP. You can&#8217;t log in with them into your DDNS account. This increases the security. Add a new entry to your DDNS account (Synology DDNS does that automatically).&nbsp;Generate a token or credentials. The detailed setup differs from one provider to another, check the documentation or FAQ but mostly it is self explaining and easy to setup.<\/p>\n<figure id=\"attachment_158\" aria-describedby=\"caption-attachment-158\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_addhost.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-158\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_addhost-1024x273.png\" alt=\"Add a new host entry\" width=\"640\" height=\"171\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_addhost-1024x273.png 1024w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_addhost-300x80.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_addhost-768x205.png 768w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_addhost.png 1118w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-158\" class=\"wp-caption-text\">Add a new host entry<\/figcaption><\/figure>\n<figure id=\"attachment_171\" aria-describedby=\"caption-attachment-171\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_synoddns.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-171\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_synoddns-1024x135.png\" alt=\"Synology DDNS Service\" width=\"640\" height=\"84\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_synoddns-1024x135.png 1024w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_synoddns-300x39.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_synoddns-768x101.png 768w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_synoddns.png 1035w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-171\" class=\"wp-caption-text\">Synology DDNS Service<\/figcaption><\/figure>\n<p>* My DiskStation shuts down during the night. Sometimes I have issues that the IP doesn&#8217;t get updated. It seems that a network issues prevents a connection with the internet\/the DDNS provider to update the IP. I don&#8217;t know why the DS doesn&#8217;t do a retry or where the network issue comes from. I reduced the occurrence by changing the time when the DS boots up in the morning.<\/p>\n<h2>DiskStation configuration<\/h2>\n<h3>DDNS<\/h3>\n<p>Use the DiskStation as update client if your router doesn&#8217;t offer a suitable provider and you can&#8217;t add one.<\/p>\n<ol>\n<li>Open the <em>Control Panel<\/em>.<\/li>\n<li>Go to <em>External Access<\/em>.<\/li>\n<li>In the DDNS tab click &#8220;Add&#8221;, if your provider is available continue at step 7.\n<p><figure id=\"attachment_163\" aria-describedby=\"caption-attachment-163\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-163\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns2-1024x483.png\" alt=\"DDNS Management\" width=\"640\" height=\"302\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns2-1024x483.png 1024w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns2-300x141.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns2-768x362.png 768w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns2.png 1332w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-163\" class=\"wp-caption-text\">DDNS Management<\/figcaption><\/figure><\/li>\n<li>If you can&#8217;t find your provider, close the window and click &#8220;Customize&#8221;.<\/li>\n<li>Enter a name and enter the update URL. The URL has to be provided by your DDNS provider and can look differently. __HOSTNAME__ and __MYIP__ are variables provided by the DiskStation, you only have these two, so not every URL is compatible. Keep in mind that the __ are two _ without space in between.\n<p><figure id=\"attachment_162\" aria-describedby=\"caption-attachment-162\" style=\"width: 686px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-162\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns1.png\" alt=\"add additional DDNS providers\" width=\"686\" height=\"462\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns1.png 686w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns1-300x202.png 300w\" sizes=\"auto, (max-width: 686px) 100vw, 686px\" \/><\/a><figcaption id=\"caption-attachment-162\" class=\"wp-caption-text\">add additional DDNS providers<\/figcaption><\/figure><\/li>\n<li>Save and go to the add entry window again.<\/li>\n<li>Select your provider and fill out the required data. <em>Hostname<\/em> is the DDNS sub domain. Replace the password with the token, if you have one.<\/li>\n<li>The DiskStation tells you if the update works or if it failed.\n<p><figure id=\"attachment_157\" aria-describedby=\"caption-attachment-157\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-157\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns3-1024x489.png\" alt=\"successfully configured DDNS\" width=\"640\" height=\"306\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns3-1024x489.png 1024w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns3-300x143.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns3-768x367.png 768w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalAccess_addddns3.png 1345w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-157\" class=\"wp-caption-text\">successfully configured DDNS<\/figcaption><\/figure><\/li>\n<\/ol>\n<h3>NAT\/Port forwarding<\/h3>\n<p>More network trickery is needed to get things done. NAT (network address translation) is done on the router. It checks if an external request needs to be redirected to a certain host in the LAN. The DiskStation offers a menu for this, that sends the entries directly to your router (if it is compatible).Otherwise you have to directly configure it on your router.<br \/>\nHint: Even if your router gets supported, take a look into the router config and check if everything is there. My router is compatible and the entries got transferred but added in the wrong sub menu (UPnP instead of NAT).<br \/>\nI recommend to just open the ports that you really need. Every open port is a security risk. So for any web server related, use only port 443 (https) and not 80. Details can be found in the chapter below.<\/p>\n<h2>Router configuration<\/h2>\n<p>Many internet provider hand out router\/modem combo devices.&nbsp;Those often have limited configuration options. It is better to have your own router that connects to the internet (directly or via modem). The devices that you can use may vary depending on your internet provider. If you are not able to do the following configuration on your devices and you can&#8217;t replace the devices, you can us a DMZ and\/or double NAT. This option is a bit complicated and slow. You have to research this on your own, as I don&#8217;t have experience with it.<br \/>\nSo the following steps require, that you are able to configure your router. I can&#8217;t give detailed explanations, as the steps may vary on the device you use.<\/p>\n<h3>DHCP &#8211; static IP<\/h3>\n<p>This is not about a static external IP, it is about static internal IPs. To make external configuration &#8211; and most of the internal configuration, that you can find in other articles in my blog &#8211; work, you have to ensure, that your server\/DiskStation always has the same internal IP (e.g. 192.168.x.x or 10.0.0.x). Many router are configured to provide IPs dynamically and temporarily. Go to the DHCP settings in your router config. Here, you have to add the MAC address of your DiskStation and assign it an internal IP.<\/p>\n<h3>DDNS<\/h3>\n<p>If your router offers DDNS and has your provider in its list (or is able to add new providers) do it here. Otherwise do it on your DiskStation as described above. I can&#8217;t explain how to, as it is different on each brand\/firmware and mine doesn&#8217;t offer it anyway.<\/p>\n<h3>NAT\/Port forwarding<\/h3>\n<p>The entries that you have to create are the same, no matter if you configure it on your DiskStation or your router.<\/p>\n<ol>\n<li>Go to the corresponding menu of your router.<\/li>\n<li>Add a new entry.<\/li>\n<li>If you forward requests from an external IP to an internal IP with the same port number, it is called NAT. If you forward the request to a different port number, it is called port forwarding. For our needs, simple NAT is enough. Enter 443 (https) as external port\/service port (or how ever it is called in your firmware). The internal port is also 443 and the IP is the IP of your DiskStation im LAN (internal static IP you assigned).<\/li>\n<li>Create an entry for port 80 to port 80 as well, this one is used for testing purpose only and should be removed afterwards if you don&#8217;t explicitly need it.\n<p><figure id=\"attachment_159\" aria-describedby=\"caption-attachment-159\" style=\"width: 932px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_nat.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-159\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_nat.png\" alt=\"NAT (Network Address Translation)\" width=\"932\" height=\"286\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_nat.png 932w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_nat-300x92.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_nat-768x236.png 768w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><\/a><figcaption id=\"caption-attachment-159\" class=\"wp-caption-text\">NAT (Network Address Translation)<\/figcaption><\/figure><\/li>\n<\/ol>\n<p>To use https instead of http, you need an SSL certificate, how to get one, is explained below. You can see an entry for port 80 in the picture, but it is deactivated. Why it is there, you will also read in the SSL part of this tutorial. The port 1194 is used for OpenVPN which is not part of this tutorial. The other ports are for TeamSpeak, that I just tried out but never actually used. As you can see, the IP address is not the address of my DiskStation. The TS server was running on a different computer. This can be done with a single DDNS domain.<\/p>\n<p>Check now if you can reach your web server. We use http for now as we haven&#8217;t covered SSL certificates yet. Enter your DDNS domain in your browser (use a smart phone or any other device that has internet access but is not connected to your LAN). You should see the blue dummy page of your Web Station (if you haven&#8217;t changed the index.php in the \/web folder).<\/p>\n<h4>Nextcloud<\/h4>\n<p>To access your Nextcloud, enter http:\/\/your.ddns.com\/&lt;NextcloudFolder&gt;.<br \/>\nNextcloud will most probably tell you, that you are accessing it via an untrusted domain. You can add the domain as trusted domain, either directly in the Nextcloud config file or by clicking the button. You have to log in with an user with admin privileges to make this happen.<\/p>\n<figure id=\"attachment_172\" aria-describedby=\"caption-attachment-172\" style=\"width: 702px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_vertrauen.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-172\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_vertrauen.png\" alt=\"untrusted domain\" width=\"702\" height=\"196\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_vertrauen.png 702w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_vertrauen-300x84.png 300w\" sizes=\"auto, (max-width: 702px) 100vw, 702px\" \/><\/a><figcaption id=\"caption-attachment-172\" class=\"wp-caption-text\">untrusted domain<\/figcaption><\/figure>\n<p>That&#8217;s basically it you can access your Nextcloud\/webserver via internet, but we want to use secure https so continue reading. I will also explain how to use your own domain and how to create a vhost on your DiskStation.<\/p>\n<h2>https encryption\/SSL certificate<\/h2>\n<p>With an open port 443 you can reach Nextcloud (and all other services) via https. But the traffic isn&#8217;t encrypted yet. Your browser will show you an error message. You need an SSL certificate in order to secure the traffic and actually make https possible.<br \/>\nIn DSM you are able to configure SSL certificates. You have several options, you can either use a self generated certificate, add a certificate from external providers or create a Let&#8217;s Encrypt certificate. The self signed certificate is enough for your own purpose and it&#8217;s easy to generate and lasts quite a long time. But the browser will show a warning first, you can still visit the page, and the page is secure, but many inexperienced users will not get past the warning (you have to expand the message and hit &#8220;continue to unsecured page&#8221;). Also many tools and apps do not allow self signed certificates. Some people only use self signed certificates because there are rumors that NSA has access to certification authorities, that means, they are able to bypass SSL certificates, signed by those CAs. Let&#8217;s Encrypt certificates are easy to get, for free and trusted, so no issues with browsers or apps. Disadvantage: You have to renew the certificate every 90 days.<\/p>\n<h3>Let&#8217;s Encrypt certificate<\/h3>\n<ol>\n<li>To be able to request a certificate, your DiskStation must be reachable via port 80. Remember what I said? Do not open port 80 if it isn&#8217;t necessary. And you saw that it is still in my NAT list but disabled? I open port 80 only for the certificate request and close it afterwards. Renewing the certificate also requires port 80, that&#8217;s why I keep it in the list but disable it.<\/li>\n<li>Open the <em>Control Panel<\/em>.<\/li>\n<li>Go to <em>Security<\/em>.<\/li>\n<li>Go to <em>Certificates<\/em> tab.<\/li>\n<li>Click the &#8220;Add&#8221; button.<\/li>\n<li>Choose &#8220;add new certificate&#8221;.<\/li>\n<li>Choose &#8220;Let&#8217;s Encrypt certificate&#8221;.<\/li>\n<li>Settings:\n<ol>\n<li>Enter the domain name the certificate is used for. You could create separate certificates for each service or you create one certificate for several domains. You can choose which service uses which certificate, also each vhost can have its own certificate**.<\/li>\n<li>Enter an email address.<\/li>\n<li>Alternative domains: here you can add additional domains that should use the certificate. Don&#8217;t forget the add the original domain as well (it will work without but to pass high SSL standards, you have to have it also here). IPs are not allowed, neither external nor internal, also the DiskStation alias is not working.***<\/li>\n<\/ol>\n<\/li>\n<li>Send the request. It will take a bit. Unfortunately, the error message is not very helpful. There are 2 main reasons for an error:\n<ol>\n<li>Either your DiskStation is not reachable via port 80 or<\/li>\n<li>the certificate can&#8217;t be generated for one or more of the domains, e.g. 127.0.0.1 is not allowed. Wildcards are also not allowed yet.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>Let&#8217;s Encrypt limits the number of certificates per top level domain, so it&#8217;s hard to get a certificate for DDNS sub domains or hoster sub domains. If you don&#8217;t have an own domain, try it out, synology.me doesn&#8217;t work anymore. Some DDNS provider (e.g. spDyn) offer different domains, you can choose from. Eventually one of those is working. If this doesn&#8217;t work and you don&#8217;t get your own domain, you have to generate a self signed certificate.<\/p>\n<p>** There are some limitations. E.g. it isn&#8217;t possible to configure the Photo Station as vhost. So the Photo Station always uses the default certificate. Also Nextcloud has its issue here. You can create a vhost and access via browser works fine, but the Desktop Client seems to get the default certificate. So using one certificate as default one and a second certificate for the vhost doesn&#8217;t work.<br \/>\n***This does not apply to self signed certificates.<\/p>\n<h2>Setup your own domain<\/h2>\n<p>If you want to use your own domain, go to the DNS settings of your domain administration. You have to add a CNAME entry. Your (sub) domain refers to the DDNS domain.<\/p>\n<figure id=\"attachment_160\" aria-describedby=\"caption-attachment-160\" style=\"width: 717px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/cname.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-160\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/cname.png\" alt=\"cname entry\" width=\"717\" height=\"37\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/cname.png 717w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/cname-300x15.png 300w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/a><figcaption id=\"caption-attachment-160\" class=\"wp-caption-text\">cname entry<\/figcaption><\/figure>\n<p>Usually you have to wait a few minutes up to some hours until the new DNS entries got propagated and are usable. Try to enter your domain into the browser (keep in mind, use your smart phone, to make it work in your LAN, read <a href=\"#owndns\">here<\/a>).<\/p>\n<p>Now you could access your server with your own domain. You can let more than one sub domain point to your DDNS domain. This helps especially when you want to use vhosts. Keep in mind that all sub domains will lead to your router, you can&#8217;t add a protocol (http, https, ftp, &#8230;) or a specific port number here. The router decides, based on the port number, where to forward the request. So as long as you do not enter any protocol or port number, you will end up on port 80. You have to add https:\/\/ when you enter the domain in your browser or anywhere else. If you want to reach a certain service, you have to add the port number.<br \/>\nIf you want to limit your sub domain to a certain website\/service, you have to work with .htaccess, vhosts and other techniques to achieve that.<\/p>\n<h4>Nextcloud<\/h4>\n<p>Enter this domain as trusted domain as well.<\/p>\n<h2>vhost configuration (optional)<\/h2>\n<p>This is optional. By default, all domains + port 80 or 443 end up in the web servers document root. On your DiskStation the root is the shared folder \/web. To get into a subfolder, you use yourdomain.com\/subfolder. If you want to access a subfolder with a certain (sub) domain you can either use redirect rules in .htaccess, or you create a vhost. The vhost also allows to use a certain web server and PHP profile.<\/p>\n<ol>\n<li>Open the <em>Web Station<\/em> (in DSM).<\/li>\n<li>Go to virtual host.<\/li>\n<li>Click &#8220;Add&#8221;.<\/li>\n<li>Enter a hostname that points to your DiskStation.<\/li>\n<li>Activate port 80\/443.<\/li>\n<li>As document root, choose the installation folder of Nextcloud or any other sub folder you want to reach with the domain.<\/li>\n<li>Activate HSTS and HTTP\/2.<\/li>\n<li>Choose the web server and PHP profile you want to use. I use Apache 2.4 and PHP 7.0, it can be changed at any time.<\/li>\n<\/ol>\n<figure id=\"attachment_161\" aria-describedby=\"caption-attachment-161\" style=\"width: 577px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/external_accessvhost.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-161\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/external_accessvhost.png\" alt=\"Virtual Host\" width=\"577\" height=\"644\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/external_accessvhost.png 577w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/external_accessvhost-269x300.png 269w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/a><figcaption id=\"caption-attachment-161\" class=\"wp-caption-text\">Virtual Host<\/figcaption><\/figure>\n<p>Now you reach your Nextcloud or web site directly with the entered domain. But don&#8217;t forget, if you want to reach any other service\/site, you have to configure an additional (sub) domain to point to your DiskStation. You can configure a an additional (sub) domain pointing to your DDNS domain, you don&#8217;t have to configure a second DDNS domain.<\/p>\n<h2 id=\"owndns\">Name resolution within your LAN (optional)<\/h2>\n<p>Until now, we used our smart phone to test everything. The domains will not work from computers within your LAN. If you want to reach a domain, you computer asks a DNS server which IP is behind that domain. The DNS server is provided by your router and is usually a DNS server from your internet provider. You can also configure other DNS servers. So for you domain you will get the external IP of your router. But actually you need the internal IP of your DiskStation.<br \/>\nTo solve that issue, you need your own DNS server that gives back the correct IP for devices in your LAN. Luckily there is a DNS server package for your DiskStation.<\/p>\n<ol>\n<li>Download and install the <em>DNS server<\/em> via <em>Package Center<\/em>.<\/li>\n<li>Open the DNS server.<\/li>\n<li>Create a new Master zone.\n<p><figure id=\"attachment_164\" aria-describedby=\"caption-attachment-164\" style=\"width: 225px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_createdns.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-164\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_createdns.png\" alt=\"new Zone entry\" width=\"225\" height=\"199\"><\/a><figcaption id=\"caption-attachment-164\" class=\"wp-caption-text\">new Zone entry<\/figcaption><\/figure><\/li>\n<li>Choose type &#8220;Forward Zone&#8221; enter the domain (e.g. yourDS.synology.me, yourdomain.com). The other settings you can copy from the screenshot.\n<p><figure id=\"attachment_165\" aria-describedby=\"caption-attachment-165\" style=\"width: 666px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_dnsmaster.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-165\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_dnsmaster.png\" alt=\"Forward Zone\" width=\"666\" height=\"756\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_dnsmaster.png 666w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_dnsmaster-264x300.png 264w\" sizes=\"auto, (max-width: 666px) 100vw, 666px\" \/><\/a><figcaption id=\"caption-attachment-165\" class=\"wp-caption-text\">Forward Zone<\/figcaption><\/figure><\/li>\n<li>Click on the new entry and open Edit -&gt; Resource Record. Complete the list with the entries from the screenshot. Instead of 192.168.0.110 use the IP of your DiskStation.\n<p><figure id=\"attachment_167\" aria-describedby=\"caption-attachment-167\" style=\"width: 734px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_forwardressource.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-167 size-full\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_forwardressource.png\" alt=\"Resource records\" width=\"734\" height=\"511\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_forwardressource.png 734w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_forwardressource-300x209.png 300w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/a><figcaption id=\"caption-attachment-167\" class=\"wp-caption-text\">Resource records<\/figcaption><\/figure><\/li>\n<li>Now go to Edit -&gt; SOA Record. The settings should look like in the screenshot.\n<p><figure id=\"attachment_168\" aria-describedby=\"caption-attachment-168\" style=\"width: 662px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_forwardsoa.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-168\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_forwardsoa.png\" alt=\"SOA record\" width=\"662\" height=\"409\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_forwardsoa.png 662w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_forwardsoa-300x185.png 300w\" sizes=\"auto, (max-width: 662px) 100vw, 662px\" \/><\/a><figcaption id=\"caption-attachment-168\" class=\"wp-caption-text\">SOA record<\/figcaption><\/figure><\/li>\n<li>Create a second Mater zone but this time choose &#8220;Reverse Zone&#8221;. As domain enter the local IP net, you need only the first 3 segments and the order has to be back to front. (e.g.: your local net is 192.168.0.0 &#8211;&gt; enter 0.168.192, if our local net address is 10.0.0.0 &#8211;&gt; enter 0.0.10).\n<p><figure id=\"attachment_166\" aria-describedby=\"caption-attachment-166\" style=\"width: 667px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_dnsreverse.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-166\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_dnsreverse.png\" alt=\"Reverse Zone\" width=\"667\" height=\"755\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_dnsreverse.png 667w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_dnsreverse-265x300.png 265w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><\/a><figcaption id=\"caption-attachment-166\" class=\"wp-caption-text\">Reverse Zone<\/figcaption><\/figure><\/li>\n<li>Edit the resource records and for the two PTR records enter the local IP of your DiskStation backwards.\n<p><figure id=\"attachment_169\" aria-describedby=\"caption-attachment-169\" style=\"width: 733px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_reverseressource.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-169\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_reverseressource.png\" alt=\"Resource records of the reverse zone\" width=\"733\" height=\"511\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_reverseressource.png 733w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_reverseressource-300x209.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/a><figcaption id=\"caption-attachment-169\" class=\"wp-caption-text\">Resource records of the reverse zone<\/figcaption><\/figure><\/li>\n<li>The SOA records should look like following:\n<p><figure id=\"attachment_170\" aria-describedby=\"caption-attachment-170\" style=\"width: 655px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_reversesoa.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-170\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_reversesoa.png\" alt=\"SOA records of the reverse zone\" width=\"655\" height=\"405\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_reversesoa.png 655w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/09\/externalaccess_reversesoa-300x185.png 300w\" sizes=\"auto, (max-width: 655px) 100vw, 655px\" \/><\/a><figcaption id=\"caption-attachment-170\" class=\"wp-caption-text\">SOA records of the reverse zone<\/figcaption><\/figure><\/li>\n<li>The configuration is done. Now you have to tell your hosts which DNS server they should ask. Open the router settings and go to DHCP settings. You should be able to enter several DNS servers, those get delivered to to hosts together with their IP address. As first server, you enter the local IP of your DiskStation, as second server, enter the gateway IP of your router. The gateway ip is the local IP of your router, it is usually the IP with .1 as last segment. It&#8217;s the same IP that you use to open the router settings in your browser. So first your hosts are asking your DiskStation to resolve the domain name, if the DiskStation doesn&#8217;t know the host, the router is asked, which forwards the request to the ISP DNS. Instead of the router gateway IP you can also enter the IP of any available DNS server. Now open the command line of your PC and enter&nbsp;<em>ipconfig \/flushdns<\/em>, you will now get the new configuration from your router. Now you should be able to use your domain to reach your DS also internally.<br \/>\nIf you have issues (e.g. you are not able to reach other websites), stop the DNS server on your DiskStation or remove the DS IP from the routers DHCP settings. Enter&nbsp;<em>ipconfig \/flushdns<\/em>&nbsp;in your command line again. Now you can use the internet for trouble shooting again. Eventually the gateway IP doesn&#8217;t work and you have to enter an actual DNS server IP.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>I hope the setup is working now as you wanted. There are many points of failure and often you have to research on your own or get help in a forum (the Synology forums are a good place to ask for help). You can also leave a comment, unfortunately, the time I was familiar with network technologies are long gone and my knowledge is limited.<\/p>\n<p>Also I&#8217;m not a network security specialist. That&#8217;s a topic for its own anyway. I recommend you to do some research on your own. Don&#8217;t skip that topic but also don&#8217;t get to paranoid. You have done the basics with limiting the open ports and using https. Try out if everything works and be sure, that only the things that should be reachable are reachable. Check if you can reach services that should not be reachable from the outside, check if http is working or not. Keep in mind, that some services share the same port, e.g. DSM and the Video Station use 5000 (http) and 5001 (https) by default, those you can change in the <em>App Portal<\/em>. The DiskStation has its own Firewall, that I will handle in a separate post.<\/p>\n<div class=\"shariff shariff-align-flex-start shariff-widget-align-flex-start\" style=\"display:none\" data-services=\"facebook%7Creddit%7Ctumblr%7Cpinterest%7Cvk\" data-url=\"https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F\" data-timestamp=\"1662117081\" data-hidezero=\"1\" data-backendurl=\"https:\/\/blog.viking-studios.net\/en\/wp-json\/shariff\/v1\/share_counts?\"><div class=\"ShariffHeadline\"><h3 class=\"shariff_headline\">Share the knowledge!<\/h3><\/div><ul class=\"shariff-buttons theme-round orientation-horizontal buttonsize-medium\"><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F\" title=\"Share on Facebook\" aria-label=\"Share on Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span data-service=\"facebook\" style=\"color:#3b5998\" class=\"shariff-count shariff-hidezero\"><\/span>&nbsp;<\/a><\/li><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F&text=External%20access%20on%20a%20DiskStation%20%28Nextcloud%20on%20a%20DiskStation%2FDSM6%29\" title=\"Share on X\" aria-label=\"Share on X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F\" title=\"Share on Reddit\" aria-label=\"Share on Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><span data-service=\"reddit\" style=\"color:#ff4500\" class=\"shariff-count shariff-hidezero\"><\/span>&nbsp;<\/a><\/li><li class=\"shariff-button telegram shariff-nocustomcolor\" style=\"background-color:#4084A6\"><a href=\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F&text=External%20access%20on%20a%20DiskStation%20%28Nextcloud%20on%20a%20DiskStation%2FDSM6%29\" title=\"Share on Telegram\" aria-label=\"Share on Telegram\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0088cc; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#0088cc\" d=\"M30.8 6.5l-4.5 21.4c-.3 1.5-1.2 1.9-2.5 1.2L16.9 24l-3.3 3.2c-.4.4-.7.7-1.4.7l.5-7L25.5 9.2c.6-.5-.1-.8-.9-.3l-15.8 10L2 16.7c-1.5-.5-1.5-1.5.3-2.2L28.9 4.3c1.3-.5 2.3.3 1.9 2.2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button whatsapp shariff-nocustomcolor\" style=\"background-color:#5cbe4a\"><a href=\"https:\/\/api.whatsapp.com\/send?text=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F%20External%20access%20on%20a%20DiskStation%20%28Nextcloud%20on%20a%20DiskStation%2FDSM6%29\" title=\"Share on Whatsapp\" aria-label=\"Share on Whatsapp\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#34af23; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#34af23\" d=\"M17.6 17.4q0.2 0 1.7 0.8t1.6 0.9q0 0.1 0 0.3 0 0.6-0.3 1.4-0.3 0.7-1.3 1.2t-1.8 0.5q-1 0-3.4-1.1-1.7-0.8-3-2.1t-2.6-3.3q-1.3-1.9-1.3-3.5v-0.1q0.1-1.6 1.3-2.8 0.4-0.4 0.9-0.4 0.1 0 0.3 0t0.3 0q0.3 0 0.5 0.1t0.3 0.5q0.1 0.4 0.6 1.6t0.4 1.3q0 0.4-0.6 1t-0.6 0.8q0 0.1 0.1 0.3 0.6 1.3 1.8 2.4 1 0.9 2.7 1.8 0.2 0.1 0.4 0.1 0.3 0 1-0.9t0.9-0.9zM14 26.9q2.3 0 4.3-0.9t3.6-2.4 2.4-3.6 0.9-4.3-0.9-4.3-2.4-3.6-3.6-2.4-4.3-0.9-4.3 0.9-3.6 2.4-2.4 3.6-0.9 4.3q0 3.6 2.1 6.6l-1.4 4.2 4.3-1.4q2.8 1.9 6.2 1.9zM14 2.2q2.7 0 5.2 1.1t4.3 2.9 2.9 4.3 1.1 5.2-1.1 5.2-2.9 4.3-4.3 2.9-5.2 1.1q-3.5 0-6.5-1.7l-7.4 2.4 2.4-7.2q-1.9-3.2-1.9-6.9 0-2.7 1.1-5.2t2.9-4.3 4.3-2.9 5.2-1.1z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button mailto shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"mailto:?body=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F&subject=External%20access%20on%20a%20DiskStation%20%28Nextcloud%20on%20a%20DiskStation%2FDSM6%29\" title=\"Send by email\" aria-label=\"Send by email\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#999\" d=\"M32 12.7v14.2q0 1.2-0.8 2t-2 0.9h-26.3q-1.2 0-2-0.9t-0.8-2v-14.2q0.8 0.9 1.8 1.6 6.5 4.4 8.9 6.1 1 0.8 1.6 1.2t1.7 0.9 2 0.4h0.1q0.9 0 2-0.4t1.7-0.9 1.6-1.2q3-2.2 8.9-6.1 1-0.7 1.8-1.6zM32 7.4q0 1.4-0.9 2.7t-2.2 2.2q-6.7 4.7-8.4 5.8-0.2 0.1-0.7 0.5t-1 0.7-0.9 0.6-1.1 0.5-0.9 0.2h-0.1q-0.4 0-0.9-0.2t-1.1-0.5-0.9-0.6-1-0.7-0.7-0.5q-1.6-1.1-4.7-3.2t-3.6-2.6q-1.1-0.7-2.1-2t-1-2.5q0-1.4 0.7-2.3t2.1-0.9h26.3q1.2 0 2 0.8t0.9 2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button tumblr shariff-nocustomcolor\" style=\"background-color:#529ecc\"><a href=\"https:\/\/www.tumblr.com\/widgets\/share\/tool?posttype=link&canonicalUrl=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F&tags=blog.viking-studios.net\" title=\"Share on tumblr\" aria-label=\"Share on tumblr\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#36465d; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#36465d\" d=\"M18 14l0 7.3c0 1.9 0 2.9 0.2 3.5 0.2 0.5 0.7 1.1 1.2 1.4 0.7 0.4 1.5 0.6 2.4 0.6 1.6 0 2.6-0.2 4.2-1.3v4.8c-1.4 0.6-2.6 1-3.7 1.3-1.1 0.3-2.3 0.4-3.6 0.4-1.5 0-2.3-0.2-3.4-0.6-1.1-0.4-2.1-0.9-2.9-1.6-0.8-0.7-1.3-1.4-1.7-2.2s-0.5-1.9-0.5-3.4v-11.2h-4.3v-4.5c1.3-0.4 2.7-1 3.6-1.8 0.9-0.8 1.6-1.7 2.2-2.7 0.5-1.1 0.9-2.4 1.1-4.1h5.2l0 8h8v6h-8z\"\/><\/svg><\/span><span data-service=\"tumblr\" style=\"color:#36465d\" class=\"shariff-count shariff-hidezero\"><\/span>&nbsp;<\/a><\/li><li class=\"shariff-button pinterest shariff-nocustomcolor\" style=\"background-color:#e70f18\"><a href=\"https:\/\/www.pinterest.com\/pin\/create\/link\/?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F&media=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fwp-content%2Fuploads%2F2016%2F12%2Fsyno_next.jpg&description=External%20access%20on%20a%20DiskStation%20%28Nextcloud%20on%20a%20DiskStation%2FDSM6%29\" title=\"Pin it on Pinterest\" aria-label=\"Pin it on Pinterest\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#cb2027; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#cb2027\" d=\"M27.4 16q0 3.7-1.8 6.9t-5 5-6.9 1.9q-2 0-3.9-0.6 1.1-1.7 1.4-2.9 0.2-0.6 1-3.8 0.4 0.7 1.3 1.2t2 0.5q2.1 0 3.8-1.2t2.7-3.4 0.9-4.8q0-2-1.1-3.8t-3.1-2.9-4.5-1.2q-1.9 0-3.5 0.5t-2.8 1.4-2 2-1.2 2.3-0.4 2.4q0 1.9 0.7 3.3t2.1 2q0.5 0.2 0.7-0.4 0-0.1 0.1-0.5t0.2-0.5q0.1-0.4-0.2-0.8-0.9-1.1-0.9-2.7 0-2.7 1.9-4.6t4.9-2q2.7 0 4.2 1.5t1.5 3.8q0 3-1.2 5.2t-3.1 2.1q-1.1 0-1.7-0.8t-0.4-1.9q0.1-0.6 0.5-1.7t0.5-1.8 0.2-1.4q0-0.9-0.5-1.5t-1.4-0.6q-1.1 0-1.9 1t-0.8 2.6q0 1.3 0.4 2.2l-1.8 7.5q-0.3 1.2-0.2 3.2-3.7-1.6-6-5t-2.3-7.6q0-3.7 1.9-6.9t5-5 6.9-1.9 6.9 1.9 5 5 1.8 6.9z\"\/><\/svg><\/span><span data-service=\"pinterest\" style=\"color:#cb2027\" class=\"shariff-count shariff-hidezero\"><\/span>&nbsp;<\/a><\/li><li class=\"shariff-button rss shariff-nocustomcolor\" style=\"background-color:#ff8c00\"><a href=\"https:\/\/blog.viking-studios.net\/en\/feed\/rss\/\" title=\"RSS feed\" aria-label=\"RSS feed\" role=\"button\" class=\"shariff-link\" style=\"; background-color:#fe9312; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#fe9312\" d=\"M4.3 23.5c-2.3 0-4.3 1.9-4.3 4.3 0 2.3 1.9 4.2 4.3 4.2 2.4 0 4.3-1.9 4.3-4.2 0-2.3-1.9-4.3-4.3-4.3zM0 10.9v6.1c4 0 7.7 1.6 10.6 4.4 2.8 2.8 4.4 6.6 4.4 10.6h6.2c0-11.7-9.5-21.1-21.1-21.1zM0 0v6.1c14.2 0 25.8 11.6 25.8 25.9h6.2c0-17.6-14.4-32-32-32z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button linkedin shariff-nocustomcolor\" style=\"background-color:#1488bf\"><a href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F\" title=\"Share on LinkedIn\" aria-label=\"Share on LinkedIn\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0077b5; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#0077b5\" d=\"M6.2 11.2v17.7h-5.9v-17.7h5.9zM6.6 5.7q0 1.3-0.9 2.2t-2.4 0.9h0q-1.5 0-2.4-0.9t-0.9-2.2 0.9-2.2 2.4-0.9 2.4 0.9 0.9 2.2zM27.4 18.7v10.1h-5.9v-9.5q0-1.9-0.7-2.9t-2.3-1.1q-1.1 0-1.9 0.6t-1.2 1.5q-0.2 0.5-0.2 1.4v9.9h-5.9q0-7.1 0-11.6t0-5.3l0-0.9h5.9v2.6h0q0.4-0.6 0.7-1t1-0.9 1.6-0.8 2-0.3q3 0 4.9 2t1.9 6z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button xing shariff-nocustomcolor\" style=\"background-color:#29888a\"><a href=\"https:\/\/www.xing.com\/spi\/shares\/new?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F\" title=\"Share on XING\" aria-label=\"Share on XING\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#126567; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 25 32\"><path fill=\"#126567\" d=\"M10.7 11.9q-0.2 0.3-4.6 8.2-0.5 0.8-1.2 0.8h-4.3q-0.4 0-0.5-0.3t0-0.6l4.5-8q0 0 0 0l-2.9-5q-0.2-0.4 0-0.7 0.2-0.3 0.5-0.3h4.3q0.7 0 1.2 0.8zM25.1 0.4q0.2 0.3 0 0.7l-9.4 16.7 6 11q0.2 0.4 0 0.6-0.2 0.3-0.6 0.3h-4.3q-0.7 0-1.2-0.8l-6-11.1q0.3-0.6 9.5-16.8 0.4-0.8 1.2-0.8h4.3q0.4 0 0.5 0.3z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button printer shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"javascript:window.print()\" title=\"print\" aria-label=\"print\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 30 32\"><path fill=\"#999\" d=\"M6.8 27.4h16v-4.6h-16v4.6zM6.8 16h16v-6.8h-2.8q-0.7 0-1.2-0.5t-0.5-1.2v-2.8h-11.4v11.4zM27.4 17.2q0-0.5-0.3-0.8t-0.8-0.4-0.8 0.4-0.3 0.8 0.3 0.8 0.8 0.3 0.8-0.3 0.3-0.8zM29.7 17.2v7.4q0 0.2-0.2 0.4t-0.4 0.2h-4v2.8q0 0.7-0.5 1.2t-1.2 0.5h-17.2q-0.7 0-1.2-0.5t-0.5-1.2v-2.8h-4q-0.2 0-0.4-0.2t-0.2-0.4v-7.4q0-1.4 1-2.4t2.4-1h1.2v-9.7q0-0.7 0.5-1.2t1.2-0.5h12q0.7 0 1.6 0.4t1.3 0.8l2.7 2.7q0.5 0.5 0.9 1.4t0.4 1.6v4.6h1.1q1.4 0 2.4 1t1 2.4z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button diaspora shariff-nocustomcolor\" style=\"background-color:#b3b3b3\"><a href=\"https:\/\/share.diasporafoundation.org\/?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F&title=External%20access%20on%20a%20DiskStation%20%28Nextcloud%20on%20a%20DiskStation%2FDSM6%29\" title=\"Share on diaspora*\" aria-label=\"Share on diaspora*\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 33 32\"><path fill=\"#999\" d=\"M20.6 28.2c-0.8-1.2-2.1-2.9-2.9-4-0.8-1.1-1.4-1.9-1.4-1.9s-1.2 1.6-2.8 3.8c-1.5 2.1-2.8 3.8-2.8 3.8 0 0-5.5-3.9-5.5-3.9 0 0 1.2-1.8 2.8-4s2.8-4 2.8-4.1c0-0.1-0.5-0.2-4.4-1.5-2.4-0.8-4.4-1.5-4.4-1.5 0 0 0.2-0.8 1-3.2 0.6-1.8 1-3.2 1.1-3.3s2.1 0.6 4.6 1.5c2.5 0.8 4.6 1.5 4.6 1.5s0.1 0 0.1-0.1c0 0 0-2.2 0-4.8s0-4.7 0.1-4.7c0 0 0.7 0 3.3 0 1.8 0 3.3 0 3.4 0 0 0 0.1 1.4 0.2 4.6 0.1 5.2 0.1 5.3 0.2 5.3 0 0 2-0.7 4.5-1.5s4.4-1.5 4.4-1.5c0 0.1 2 6.5 2 6.5 0 0-2 0.7-4.5 1.5-3.4 1.1-4.5 1.5-4.5 1.6 0 0 1.2 1.8 2.6 3.9 1.5 2.1 2.6 3.9 2.6 3.9 0 0-5.4 4-5.5 4 0 0-0.7-0.9-1.5-2.1z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button flipboard shariff-nocustomcolor\" style=\"background-color:#373737\"><a href=\"https:\/\/share.flipboard.com\/bookmarklet\/popout?v=2&title=External%20access%20on%20a%20DiskStation%20%28Nextcloud%20on%20a%20DiskStation%2FDSM6%29&url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F\" title=\"Share on Flipboard\" aria-label=\"Share on Flipboard\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#f52828; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"24px\" height=\"24px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#f52828\" d=\"M0 0h8v24H0V0zm9 9h7v7H9V9zm0-9h15v8H9V0z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button mastodon shariff-nocustomcolor\" style=\"background-color:#563ACC\"><a href=\"https:\/\/s2f.kytta.dev\/?text=External%20access%20on%20a%20DiskStation%20%28Nextcloud%20on%20a%20DiskStation%2FDSM6%29 https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F\" title=\"Share on Mastodon\" aria-label=\"Share on Mastodon\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#6364FF; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"75\" height=\"79\" viewBox=\"0 0 75 79\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M37.813-.025C32.462-.058 27.114.13 21.79.598c-8.544.621-17.214 5.58-20.203 13.931C-1.12 23.318.408 32.622.465 41.65c.375 7.316.943 14.78 3.392 21.73 4.365 9.465 14.781 14.537 24.782 15.385 7.64.698 15.761-.213 22.517-4.026a54.1 54.1 0 0 0 .01-6.232c-6.855 1.316-14.101 2.609-21.049 1.074-3.883-.88-6.876-4.237-7.25-8.215-1.53-3.988 3.78-.43 5.584-.883 9.048 1.224 18.282.776 27.303-.462 7.044-.837 14.26-4.788 16.65-11.833 2.263-6.135 1.215-12.79 1.698-19.177.06-3.84.09-7.692-.262-11.52C72.596 7.844 63.223.981 53.834.684a219.453 219.453 0 0 0-16.022-.71zm11.294 12.882c5.5-.067 10.801 4.143 11.67 9.653.338 1.48.471 3 .471 4.515v21.088h-8.357c-.07-7.588.153-15.182-.131-22.765-.587-4.368-7.04-5.747-9.672-2.397-2.422 3.04-1.47 7.155-1.67 10.735v6.392h-8.307c-.146-4.996.359-10.045-.404-15.002-1.108-4.218-7.809-5.565-10.094-1.666-1.685 3.046-.712 6.634-.976 9.936v14.767h-8.354c.109-8.165-.238-16.344.215-24.5.674-5.346 5.095-10.389 10.676-10.627 4.902-.739 10.103 2.038 12.053 6.631.375 1.435 1.76 1.932 1.994.084 1.844-3.704 5.501-6.739 9.785-6.771.367-.044.735-.068 1.101-.073z\"\/><defs><linearGradient id=\"paint0_linear_549_34\" x1=\"37.0692\" y1=\"0\" x2=\"37.0692\" y2=\"79\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#6364FF\"\/><stop offset=\"1\" stop-color=\"#563ACC\"\/><\/linearGradient><\/defs><\/svg><\/span><\/a><\/li><li class=\"shariff-button pocket shariff-nocustomcolor\" style=\"background-color:#444\"><a href=\"https:\/\/getpocket.com\/save?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F&title=External%20access%20on%20a%20DiskStation%20%28Nextcloud%20on%20a%20DiskStation%2FDSM6%29\" title=\"Save to Pocket\" aria-label=\"Save to Pocket\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff0000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 28\"><path fill=\"#ff0000\" d=\"M24.5 2q1 0 1.7 0.7t0.7 1.7v8.1q0 2.8-1.1 5.3t-2.9 4.3-4.3 2.9-5.2 1.1q-2.7 0-5.2-1.1t-4.3-2.9-2.9-4.3-1.1-5.2v-8.1q0-1 0.7-1.7t1.7-0.7h22zM13.5 18.6q0.7 0 1.3-0.5l6.3-6.1q0.6-0.5 0.6-1.3 0-0.8-0.5-1.3t-1.3-0.5q-0.7 0-1.3 0.5l-5 4.8-5-4.8q-0.5-0.5-1.3-0.5-0.8 0-1.3 0.5t-0.5 1.3q0 0.8 0.6 1.3l6.3 6.1q0.5 0.5 1.3 0.5z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button threema shariff-nocustomcolor shariff-mobile\" style=\"background-color:#4fbc24\"><a href=\"threema:\/\/compose?text=External%20access%20on%20a%20DiskStation%20%28Nextcloud%20on%20a%20DiskStation%2FDSM6%29%20https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F\" title=\"Share on Threema\" aria-label=\"Share on Threema\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#1f1f1f; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#1f1f1f\" d=\"M30.8 10.9c-0.3-1.4-0.9-2.6-1.8-3.8-2-2.6-5.5-4.5-9.4-5.2-1.3-0.2-1.9-0.3-3.5-0.3s-2.2 0-3.5 0.3c-4 0.7-7.4 2.6-9.4 5.2-0.9 1.2-1.5 2.4-1.8 3.8-0.1 0.5-0.2 1.2-0.2 1.6 0 0.4 0.1 1.1 0.2 1.6 0.4 1.9 1.3 3.4 2.9 5 0.8 0.8 0.8 0.8 0.7 1.3 0 0.6-0.5 1.6-1.7 3.6-0.3 0.5-0.5 0.9-0.5 0.9 0 0.1 0.1 0.1 0.5 0 0.8-0.2 2.3-0.6 5.6-1.6 1.1-0.3 1.3-0.4 2.3-0.4 0.8 0 1.1 0 2.3 0.2 1.5 0.2 3.5 0.2 4.9 0 5.1-0.6 9.3-2.9 11.4-6.3 0.5-0.9 0.9-1.8 1.1-2.8 0.1-0.5 0.2-1.1 0.2-1.6 0-0.7-0.1-1.1-0.2-1.6-0.3-1.4 0.1 0.5 0 0zM20.6 17.3c0 0.4-0.4 0.8-0.8 0.8h-7.7c-0.4 0-0.8-0.4-0.8-0.8v-4.6c0-0.4 0.4-0.8 0.8-0.8h0.2l0-1.6c0-0.9 0-1.8 0.1-2 0.1-0.6 0.6-1.2 1.1-1.7s1.1-0.7 1.9-0.8c1.8-0.3 3.7 0.7 4.2 2.2 0.1 0.3 0.1 0.7 0.1 2.1v0 1.7h0.1c0.4 0 0.8 0.4 0.8 0.8v4.6zM15.6 7.3c-0.5 0.1-0.8 0.3-1.2 0.6s-0.6 0.8-0.7 1.3c0 0.2 0 0.8 0 1.5l0 1.2h4.6v-1.3c0-1 0-1.4-0.1-1.6-0.3-1.1-1.5-1.9-2.6-1.7zM25.8 28.2c0 1.2-1 2.2-2.1 2.2s-2.1-1-2.1-2.1c0-1.2 1-2.1 2.2-2.1s2.2 1 2.2 2.2zM18.1 28.2c0 1.2-1 2.2-2.1 2.2s-2.1-1-2.1-2.1c0-1.2 1-2.1 2.2-2.1s2.2 1 2.2 2.2zM10.4 28.2c0 1.2-1 2.2-2.1 2.2s-2.1-1-2.1-2.1c0-1.2 1-2.1 2.2-2.1s2.2 1 2.2 2.2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button vk shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/vk.com\/share.php?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F\" title=\"Share on VK\" aria-label=\"Share on VK\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#527498; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 34 32\"><path fill=\"#527498\" d=\"M34.2 9.3q0.4 1.1-2.7 5.3-0.4 0.6-1.2 1.5-1.4 1.8-1.6 2.3-0.3 0.7 0.3 1.4 0.3 0.4 1.4 1.5h0l0.1 0.1q2.5 2.3 3.4 3.9 0.1 0.1 0.1 0.2t0.1 0.5 0 0.6-0.4 0.5-1.1 0.2l-4.6 0.1q-0.4 0.1-1-0.1t-0.9-0.4l-0.4-0.2q-0.5-0.4-1.2-1.1t-1.2-1.4-1.1-1-1-0.3q-0.1 0-0.1 0.1t-0.3 0.3-0.4 0.5-0.3 0.9-0.1 1.4q0 0.3-0.1 0.5t-0.1 0.3l-0.1 0.1q-0.3 0.3-0.9 0.4h-2.1q-1.3 0.1-2.6-0.3t-2.3-0.9-1.8-1.2-1.3-1l-0.4-0.4q-0.2-0.2-0.5-0.5t-1.3-1.6-1.9-2.7-2.2-3.8-2.3-4.9q-0.1-0.3-0.1-0.5t0.1-0.3l0.1-0.1q0.3-0.3 1-0.3l4.9 0q0.2 0 0.4 0.1t0.3 0.2l0.1 0.1q0.3 0.2 0.4 0.6 0.4 0.9 0.8 1.8t0.7 1.5l0.3 0.5q0.5 1.1 1 1.9t0.9 1.2 0.7 0.7 0.6 0.3 0.5-0.1q0 0 0.1-0.1t0.2-0.4 0.2-0.8 0.2-1.4 0-2.2q0-0.7-0.2-1.3t-0.2-0.8l-0.1-0.2q-0.4-0.6-1.5-0.8-0.2 0 0.1-0.4 0.3-0.3 0.7-0.5 0.9-0.5 4.3-0.4 1.5 0 2.4 0.2 0.4 0.1 0.6 0.2t0.4 0.4 0.2 0.6 0.1 0.8 0 1 0 1.3 0 1.5q0 0.2 0 0.8t0 0.9 0.1 0.7 0.2 0.7 0.4 0.4q0.1 0 0.3 0.1t0.5-0.2 0.7-0.6 0.9-1.2 1.2-1.9q1.1-1.9 1.9-4 0.1-0.2 0.2-0.3t0.2-0.2l0.1-0.1 0.1 0t0.2-0.1 0.4 0l5.1 0q0.7-0.1 1.1 0t0.6 0.3z\"\/><\/svg><\/span><span data-service=\"vk\" style=\"color:#527498\" class=\"shariff-count shariff-hidezero\"><\/span>&nbsp;<\/a><\/li><li class=\"shariff-button wallabag shariff-nocustomcolor\" style=\"background-color:#2bbbad\"><a href=\"https:\/\/app.wallabag.it\/bookmarklet?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fexternal-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6%2F\" title=\"Save to wallabag\" aria-label=\"Save to wallabag\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#26a69a; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 600 500\"><path fill=\"#26a69a\" d=\"M381 474l-5 7c-15 19-29 20-45 2-14-15-30-28-47-38a75 75 0 0 1-15-12c-8-8-10-19-8-30 2-8-2-12-8-16l-3 12c-8 33-31 51-64 57-36 6-73 7-109 5l-57-4c-9-1-9-1-7-9h46c28 0 55-1 82-9 45-14 67-49 62-96l-4-25 43 13q101 24 197-11c6-2 10-2 14 5l-49 53-15 15c-8 8-8 15 1 23l24 18 50 34c-8 20-26 26-43 14l-43-34c-14-10-23-25-31-39-3-4-6-6-10-5h-36c-5-1-8 1-9 6zM409 4l-6 49c-2 19-9 35-28 45l40 50c-13 9-26 11-40 12-19 0-36-6-54-11-16-4-34-9-51-11-10-2-20 0-31 1l30-38c-16-9-25-23-28-41l-1-15-3-41c21 5 38 16 51 33l11 16 22 29c10-9 19-18 24-29 12-26 32-42 60-48l4-1zm-19 187c12 9 17 20 16 35l-2 47c-3 31-26 48-57 40a114 114 0 0 1-11-3 44 44 0 0 0-28-1 110 110 0 0 1-28 5c-16 0-28-8-33-24-6-16-6-33-6-50v-14c-2-15 2-28 17-35 10 6 19 13 17 27v32c-1 14 5 25 16 33 15-12 16-28 15-45v-30c0-11 4-15 12-16 8-2 11 0 15 10 6 13 10 27 8 41-2 17 4 30 16 40 11-10 16-23 14-38v-16c0-21 1-24 19-38z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button info shariff-nocustomcolor\" style=\"background-color:#eee\"><a href=\"http:\/\/ct.de\/-2467514\" title=\"More information\" aria-label=\"More information\" role=\"button\" rel=\"noopener \" class=\"shariff-link\" style=\"; background-color:#fff; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 11 32\"><path fill=\"#999\" d=\"M11.4 24v2.3q0 0.5-0.3 0.8t-0.8 0.4h-9.1q-0.5 0-0.8-0.4t-0.4-0.8v-2.3q0-0.5 0.4-0.8t0.8-0.4h1.1v-6.8h-1.1q-0.5 0-0.8-0.4t-0.4-0.8v-2.3q0-0.5 0.4-0.8t0.8-0.4h6.8q0.5 0 0.8 0.4t0.4 0.8v10.3h1.1q0.5 0 0.8 0.4t0.3 0.8zM9.2 3.4v3.4q0 0.5-0.4 0.8t-0.8 0.4h-4.6q-0.4 0-0.8-0.4t-0.4-0.8v-3.4q0-0.4 0.4-0.8t0.8-0.4h4.6q0.5 0 0.8 0.4t0.4 0.8z\"\/><\/svg><\/span><\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>I skipped this topic in my Nextcloud posts. It is related to Nextcloud but not required to run Nextcloud. Also most the steps that are needed to externally access your Nextcloud, apply to any other service, provided by your DiskStation (or servers in general).&nbsp;Also I did the setup in DSM5. When updating to DSM6 the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":55,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,50,19,7],"tags":[54,55,21,56,57,58,59,60,61,62,23,63,64,65,66,67],"class_list":["post-151","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-howto","category-network","category-technology","tag-access-from-the-internet","tag-ddns","tag-diskstation","tag-dns","tag-dynamic-dns","tag-dyndns","tag-external-access","tag-https","tag-lets-encrypt","tag-nat","tag-nextcloud","tag-router","tag-ssl","tag-ssl-certificate","tag-web-server","tag-webstation"],"_links":{"self":[{"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/posts\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":10,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"predecessor-version":[{"id":358,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/posts\/151\/revisions\/358"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/media\/55"}],"wp:attachment":[{"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}