A nice little feature when hosting several Web services on several different machines, it is the reverse proxy (or inverted proxy in French:))
I will not explain what it is because if you are here it is mostly to know how to set it up. So we’ll see together how to configure the reverse proxy on NAS Synology.
Reverse proxy on NAS Synology
Configuring Reverse proxy on NAS Synology
To access the setting of the feature you have to go to:
Control Panel > Application portal > Reverse Proxy
Click on “Create“, and you should arrive on this page:
- Description of the service
- protocol used (HTTP or HTTPS)
- Full domain name, ex: toto.vdays.net
- Port to used (80 usually for HTTP)
- Listening protocol on your destination server
- Destination server name or IP
- Service listening Port on destination server (ex: 32400 for Plex)
Validate by OK, your entry is now active. Repeat the operation to add other Web services and/or configure HTTPS as well.
Access from the outside
To access your services from the outside, you will still have to do two things:
- Redirect the ports of your box (80 and 443) to the IP address of the synology which acts as reverse Proxy
- Point your toto.vdays.net DNS name to the public IP of your home
In fact here is what will happen when you will want to access your services (see diagram below):
- I open my web page to http://toto.vdays.net
- My box/router redirects the stream to my Synology NAS on port 80
- The NAS identifies the request for access to Http://toto.vdays.net
- The entry that we created earlier corresponds to this request, the proxy then redirects the stream to the host:port that corresponds to the input
- I then access my resource.
Securing via HTTPS and SSL certificate
It’s nice to have opened its feeds directly from the internet, now it will be necessary to secure all this by generating, easily, and free SSL certificate to access its resources in HTTPS.
For this you can follow this tutorial [TUTO] – Synology : Generate and install a Let’s Encrypt SSL certificate for free that explains to you how to do with a NAS Synology!
Do not hesitate if you have any questions, leave me a little comment ! Thanks ! 🙂
Hi ! I’m Maxime. Founder and independant author of vDays.net. I have worked in service IT since 6 years ago, after a 5 years’ internship. Via this blog, I would like share and discuss with you on new technologies, especially on virtualization and VMware. If you want to know more about me, check out my “about me” page or follow me on Twitter and LinkedIn
I have read so many posts on the topic of the blogger
lovers however this article is in fact a nice paragraph, keep it up.