![]() Why? Well if we will push them via one port then RP needs to know how each request from the internet should be separated and forwarded to a specific destination (app). Now before we can make all this work nice and easy there is also a need to make all your apps respond to a different domain name. Wouldn't it be better to have one port and push all access to those 10 apps via a single port number? Sure why not? Ok, what happens when you have 10 separate apps running on 10 different ports? The number of ports that you are exposing your LAN to the internet is rapidly growing. What about getting access to this via the Internet? Well, you will have to 1st open up a port 1030 on your router in order to make this work. If you want to access that app in your LAN you would access it via your browser using something like this:Īs we can see from this example, we are accessing the service via http not https, using your local IP address of your NAS and specifying its port number of 1030. Let's take a web app hosted on your NAS as an example running on port 1030. One of the main reasons RP is useful is the fact that it will prevent you to have to open up a large number of ports on your router in order to get access to your apps that you have hosted on your NAS. How to setup apps and services on your NAS on a custom domain name and hide internal port number? The only thing that might be worth mentioning here is that Synology DSM uses NGINX as its revers proxy platform in case some of you are wondering. No reason to break it down here considering there is a perfectly good explanation here: ![]() It will also help you to avoid exposing your real IP address, custom port or simply to have a nice load balance solution in case you need it. ![]() ![]() This tutorial will cover a few short steps that you need to know and setup in order to make your apps and services accessible via the internet (or LAN) using a specific domain name and custom (or default) port. UPDATE: in case you do not wanna use Synology's reverse proxy, look into a custom NGINX Docker setup that will in the end give more options and features when it comes to some other custom modifications ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |