Squid+DansGuardian loguje samo localhost

E pa ako vam se posle ovakve instalacije u /var/log/squid/access javlja kao IP adresa samo 127.0.0.1, ima leka!!!
Evo šta treba uraditi :
Fajl /etc/dansguardian/dansguardian.conf
# if on it adds an X-Forwarded-For: to the HTTP request
# header. This may help solve some problem sites that need to know the
# source ip. on | off
forwardedfor = on

Fajl /etc/squid/squid.conf
# acl localhost src 127.0.0.1
# acl my_other_proxy srcdomain .proxy.example.com
# follow_x_forwarded_for allow localhost
# follow_x_forwarded_for allow my_other_proxy
#Default:
# follow_x_forwarded_for deny all
follow_x_forwarded_for allow localhost

Ako linije ne postoje, dodati ih.
Posle restartovati oba servisa, i to je to 🙂

Dobar link.