Domoticz and Apache
Posted: Tuesday 01 November 2016 17:47
Dear all,
I am currently using Domoticz with Apache server which is configured as a reverse proxy and handles the requests from the internet on port 80 and passes them to port 8080 of the Domoticz server. Both servers, the Domoticz and Apache are running on the same PC (Windows 7 64 bit) with a single Network card.
Naturally, because the two internal servers are within the same IP range, the Domoticz cannot differentiate that a request passed from Apache comes actually from the internet and not from my intranet, which, in case the "no login" option for the internal IP range is active in Domoticz, leads to opening of the Domoticz interface to the rest of the world without asking to log in. You do not need to be a hacker to control my home then:)
So, I had to de-select the option "no login" for the intranet.
May be somebody knows a way how to configure Apache such that the requests it passes to Domoticz can be identified by Domoticz as external (internet) requests?
Thanks in advance any hint.
Henry.
I am currently using Domoticz with Apache server which is configured as a reverse proxy and handles the requests from the internet on port 80 and passes them to port 8080 of the Domoticz server. Both servers, the Domoticz and Apache are running on the same PC (Windows 7 64 bit) with a single Network card.
Naturally, because the two internal servers are within the same IP range, the Domoticz cannot differentiate that a request passed from Apache comes actually from the internet and not from my intranet, which, in case the "no login" option for the internal IP range is active in Domoticz, leads to opening of the Domoticz interface to the rest of the world without asking to log in. You do not need to be a hacker to control my home then:)
So, I had to de-select the option "no login" for the intranet.
May be somebody knows a way how to configure Apache such that the requests it passes to Domoticz can be identified by Domoticz as external (internet) requests?
Thanks in advance any hint.
Henry.