OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: erik.schwalbe on April 26, 2022, 05:26:40 PM

Title: [HAproxy] prevent haproxy using real addresses from openvpn
Post by: erik.schwalbe on April 26, 2022, 05:26:40 PM
Hi,

we configured a haproxy condition (source ip matches specified ip) to limit access the a website only to our public opnsense and LAN ip.
But this rule does not work for our openvpn users because haproxy logs and uses the real (original) ip of the opnvpn users. Is there an option to prevent haproxy to get access to the real address of the openvpn users from the openvpn server?

Thanks for help.
Regards,
Erik