[2026.3] Source IP not longer captured while using a reverse proxy
Posted: Wednesday 09 September 2026 19:45
I still have a problem with the change in behavior when using a reverse proxy (before the update to 2026.3 all worked well). My trusted networks are set to 192.168.1.*. Synogogy server (proxy) and domoticz RPI are running in the local network.
I have the reverse proxy configuration as defined in https://wiki.domoticz.com/WebServer_Proxy#Synology_NAS.
Before the upgrade, all traffic coming through the reverse proxy was recognised as "untrusted" (as it should be - asking for a login). After the upgrade, all traffic through the proxy is recoginised as "trusted" (so no login anymore).
A test I did: when I put my mobile in 5G only (so no local network - I checked the IP of my mobile and it has 100.x.x.x) and I connect through the proxy, I see in the log Status: [web:443] Incoming connection from: 192.168.1.67, 192.168.1.67 the local IP of my synology... This means that te external IP addres of my mobile (100.x.x.x) is not read by domoticz.
Am I doing something fundamentally wrong? Of has something changed in reading the custom headers information?
Following the settings defined in https://wiki.domoticz.com/WebServer_Proxy#Synology_NAS, the source address should be transferred in the custom headers... Unfortunately I don't know the order in which domoticz takes the custom headers to define the IP address used...
I have the reverse proxy configuration as defined in https://wiki.domoticz.com/WebServer_Proxy#Synology_NAS.
Before the upgrade, all traffic coming through the reverse proxy was recognised as "untrusted" (as it should be - asking for a login). After the upgrade, all traffic through the proxy is recoginised as "trusted" (so no login anymore).
A test I did: when I put my mobile in 5G only (so no local network - I checked the IP of my mobile and it has 100.x.x.x) and I connect through the proxy, I see in the log Status: [web:443] Incoming connection from: 192.168.1.67, 192.168.1.67 the local IP of my synology... This means that te external IP addres of my mobile (100.x.x.x) is not read by domoticz.
Am I doing something fundamentally wrong? Of has something changed in reading the custom headers information?
Following the settings defined in https://wiki.domoticz.com/WebServer_Proxy#Synology_NAS, the source address should be transferred in the custom headers... Unfortunately I don't know the order in which domoticz takes the custom headers to define the IP address used...