HA Proxy not to show itself on Website log?



  • Hi,
    I was wondering if someone could shed some light on the issue i have. Currently trying to install NAXSI on my website which is behind of pfSense, I currently have HA proxy on pfSense because i have only 1 Static IP and i host cloud.mydomain.com and mydomain.com. The issue is that when i try to pen test or access the website on another WAN on the logs of my webserver shows the IP of pfSense. I could imagine that because HA proxy is infront of it. But would there be a way just to use HA proxy without showing the IP on the webservers logs?

    Ex: user1 with wan 191.xx.xx.xx-------goes to site mydomain.com------HA proxy------mydomain.com------on the log registered 192.168.3.254 (pfSense box)

    when i need something like this

    ex: user1 with wan 191.xx.xx.xx-------goes to site mydomain.com------HA proxy------mydomain.com------on the log registered user1 with wan 191.xx.xx.xx instead of my pfSense Box

    Thank you

    SOLVED: had to add on the backend on advance the client transparent mode


Log in to reply