Upon completion of this course you should be able to:
Course Prerequisites:
NAS 324: Using HTTPS to Secure NAS Communication
Students are expected to have a working knowledge of:
HTTP/HTTPS
1. Introducing Reverse Proxies
2. Protecting the Connections of Multiple NAS Devices
2.1 Adding Proxy Domains
2.2 Add Rules to Existing Proxy Domains
3. Upgrading NAS App Security
3.1 Setting Reverse Proxies to work with Jellyfin
3.2 Setting ownCloud to work with Reverse Proxies
3.3 Set up the HTTPS connection of Syncthing
3.4 Setting Nextcloud to work with Reverse Proxies
3.5 Set up the HTTPS connection of Plex Web
4. Editing Proxy Domains and Rules
4.1 Editing or Removing Proxy Domain
4.2 Edit or Remove Proxy Domain Rules
Web browsing is becoming more and more secure. Most apps on an ASUSTOR NAS use a web browser for functionality but don’t necessarily support HTTP Secure.Reverse proxy servers help clients provide web information while protecting the security of transmitted data. Reverse proxy servers on an ASUSTOR NAS that has a valid HTTPS certificate protects data transmitted by an external HTTPS connection.ADM 3.5.2 adds reverse proxies as a new feature. Reverse proxy servers are used to implement HTTPS connections on content or web apps that would not otherwise be protected. Set the domain name on the NAS where the reverse proxy server is to be enabled. And apply for a legal certificate, please refer to the setting method:NAS 324: Using HTTPS to Secure NAS Communication
When you set up multiple NAS in the same local network and want to connect to the NAS using https securely from the outside, turn on ADM and use the reverse proxy server of one of the NAS to protect the secure connection of multiple NAS, It is not necessary to open all NAS to external network and apply for different domain names.
To use the legal domain of this NAS to log in to the ADM of other NAS with HTTPS, proxy domains will need to be added first.
Step 1
Step 2
Step 3
Note: If there is only one service in this proxy domain, the path can only keep "/". If you need to add other rules, you can use Edit to add a path for the first rule.
Step 4
Step 5
Step 6
On Chrome:
On Firefox:
Additional rules may be added to the existing proxy domain in order to use a different path to open another service. These instructions show how to add a reverse proxy rule to log in to the ADM of another NAS in the domain added in the previous chapter.
Note: Because this function is to add rules to the existing proxy domain, the domain name and port of the proxy domain cannot be changed during this process, but a different path must be entered.
Apps that are unable to use HTTPS in a NAS can use a reverse proxy server to enable remote HTTPS connections. This chapter will introduce several apps that require specific communication ports and cannot directly use the HTTPS certificate installed on the NAS.
The Docker version of Jellyfin does not use the default web server of the NAS. A reverse proxy server needs to be configured in order support HTTPS remote connections. After the NAS has applied for a valid HTTPS certificate, you can now use the reverse proxy server to configure Jellyfin HTTPS connection.
The Docker version of ownCloud does not use the default web server of the NAS. A reverse proxy server needs to be configured in order support HTTPS remote connections. After the NAS has applied for a valid HTTPS certificate, you can now use the reverse proxy server to configure ownCloud HTTPS connection.
ownCloud has strict restrictions on the domains it can access. When setting up a reverse proxy server for ownCloud, you need to add this domain to ownCloud's "trusted_domains" configuration for normal use.
Note: Using ADM 5.0 and above, you can download and install Text Editor from App Central and edit [/share/Docker/ownCloud/data/config/zz-user.config.php] directly in ADM.
The Docker version of Syncthing does not use the default web server of the NAS. A reverse proxy server needs to be configured in order support HTTPS remote connections. After the NAS has applied for a valid HTTPS certificate, you can now use the reverse proxy server to configure Syncthing HTTPS connection.
Note: In this example, an existing proxy domain is used to add rules, and there is no need to set an additional port. Users can also use "Create new proxy domain" and add another port to set up a reverse proxy for Syncthing.
A default reverse proxy for Nextcloud has been added on ADM 4.1, users no longer need to configure it themselves if the NAS is updated to ADM 4.1.0 or above. Currently, the default reverse proxy cannot be allowed for users to add a new rule.
The Docker version of Nextcloud does not use the default web server of the NAS. A reverse proxy server needs to be configured in order support HTTPS remote connections. After the NAS has applied for a valid HTTPS certificate, you can now use the reverse proxy server to configure Nextcloud HTTPS connection.
Nextcloud has strict restrictions on the domains it can access. The Nextcloud document explains that when setting up a reverse proxy server, you’ll need to add other settings to Nextcloud's config.php for normal use. For details, please refer to Nextcloud documentation.
A default reverse proxy for Plex Media Server has been added on ADM 4.1, users no longer need to configure it themselves if the NAS is updated to ADM 4.1.0 or above. Currently, the default reverse proxy cannot be allowed for users to add a new rule.
With Plex Media Server installed on a NAS, directly use a web browser to open Plex to manage media libraries as well as play audio and video files. The HTTPS certificate bound to the NAS is for the NAS IP. The Dynamic DNS in an ASUSTOR NAS cannot be used to open Plex securely. Use reverse proxy server to open Plex using the DDNS with an HTTPS connection.
Before setting a reverse proxy domain, you’ll need to open Plex with HTTPS and log in to your Plex account. For Plex Media Server installation and media library settings, please refer to: NAS 235: Introducing Plex Media Server
4.1 Editing or Removing Proxy Domains