Using squid reverse proxy i´d like to get the visitors real ipaddress



  • I´m getting this on my apache server

    192.168.60.1 - - [20/Oct/2016:12:04:57 +0200] "GET /munin/static/logo-h.png HTTP/1.1" 200 2079 "http://192.168.60.41/munin/static/style-new.css" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36"

    and would like to see this in access.log

    111.222.111.222 - - [20/Oct/2016:12:04:57 +0200] "GET /munin/static/logo-h.png HTTP/1.1" 200 2079 "http://192.168.60.41/munin/static/style-new.css" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36"

    can i get squid/pfsense to send the src address of the user instead of the gw of that vlan

    ideas?
    /d