Hello guys,
I have a speedport with an edgerouter (openwrt) and behind the edgerouter a haproxy instance.
haproxy frontend listens on port 443 which is forwarded in openwrt. All is working very well and stable.
In the firewall the WAN interface is masqueraded. This causes the problem that i only see the edgerouters ip in the haproxy logs and not the real ip from the internet. Is there a possibility to forward the real ip adress from openwrt to haproxy? Maybe over header "X-Forwarded-Host" ?
Thank you in advice