HTTP Redirect using ProxyPass
Posted: Fri Oct 16, 2020 9:54 am
I have a number of containerised apps on my HDA that use ProxyPass to accept input on HTTP Port 80 or HTTPS Port 443 and redirect to the correct internal port, as is the norm with Amahi, but I would like to do some additional customisation.
Since my system is behind a residential gateway with only one public IP Address I have routed all external HTTPS traffic to my HDA using my personal domain (which matches the Amahi domain, and with split DNS I am able to access the services both inside and outside my network). I have a device on my network that I would like to be able to access with a web browser from the Internet using the same ports, but my residential router lacks the smarts to do this, and I was hoping Amahi would do the trick.
Basically what I'd like to do is have the URL abc.mydomain.com resolve to an internal address on my network that isn't the HDA, in a similar fashion to how sickbeard.mydomain.com resolves to an internal address on my network that is the HDA, but has a different port. I suspect that this is possible, but I just don't know how it's done. Any suggestions would be appreciated.
Since my system is behind a residential gateway with only one public IP Address I have routed all external HTTPS traffic to my HDA using my personal domain (which matches the Amahi domain, and with split DNS I am able to access the services both inside and outside my network). I have a device on my network that I would like to be able to access with a web browser from the Internet using the same ports, but my residential router lacks the smarts to do this, and I was hoping Amahi would do the trick.
Basically what I'd like to do is have the URL abc.mydomain.com resolve to an internal address on my network that isn't the HDA, in a similar fashion to how sickbeard.mydomain.com resolves to an internal address on my network that is the HDA, but has a different port. I suspect that this is possible, but I just don't know how it's done. Any suggestions would be appreciated.