Setting lusca and dansguardian iptables on Ubuntu 12.04 to prevent loop

Posted by Heri YT on Server Fault See other posts from Server Fault or by Heri YT
Published on 2012-06-05T16:28:29Z Indexed on 2012/06/05 16:41 UTC
Read the original article Hit count: 468

Filed under:
|

I have a server with ubuntu 12:04 operating system, which runs as a proxy cache server lusca and DansGuardian as well as internet content filter.

With the following composition: the client browser -> lusca -> DansGuardian -> internet. And all this running only on one machine only, the following is a partial configuration on my server lusca:

http_port 3128 transparent

cache_peer 192.168.0.1 parent 8080 0 no-query no-digest no-netdb-exchange default

which is also only found on the DansGuardian default settings namely:

filterip="blank" filterport=8080 proxyip=192.168.0.1 proxyport=3128

The question is:

  1. Can all goes well? By simply relying on one machine only?
  2. What causes the "WARNING: Forwarding loop detected for:"? is not problematic if we leave?
  3. How to solve "WARNING: Forwarding loop detected for:" found in / var / log / lusca / cache.log

Thank you.

© Server Fault or respective owner

Related posts about dansguardian

Related posts about ubuntu-12.04