Squid and Dansguardian not working
-
You need to tell us:
Is it a fresh 2.1 install or an upgrade?
Have you had either squid or dansguardian installed before?
What version of the packages do you have installed?
What is your pkg_info result?
What guide are you using to setup squid3+dansguardian?Also:
Not getting a WAN IP could be the device that is handing out the IP and not the WAN interface in pfsense.
Resetting the device infront of Pfsense or checking out syslogs would be the way to solve that not just endlessly rebooting pfsense
Lots of people use Squid+Dansguardian
You haven't really given us that much information to work with in solving the problem. -
Ok sure i will do best i can.
Is it a fresh 2.1 install or an upgrade?
Have you had either squid or dansguardian installed before?
What version of the packages do you have installed?
What is your pkg_info result?
What guide are you using to setup squid3+dansguardian?It´s a fresh install.
Dansguardian first, then Squid3, also tried Squid3-devel.
I have installed them with the package service, so i guess it´s the recent version of DG.
pkg_info result???
I couldn´t find any guide on this.Not getting a WAN IP could be the device that is handing out the IP and not the WAN interface in pfsense.
Resetting the device infront of Pfsense or checking out syslogs would be the way to solve that not just endlessly rebooting pfsenseThe device itself is definitely working with other firewalls. I have had a look into the syslog, but can´t remember what it was saying, sorry. It was something like LC down/LC UP trying to reconnect and so on.
I can do a fresh install again, but i have really no idea where i should have made a big mistake here..
-
Dansguardian first, then Squid3, also tried Squid3-devel.
If you don't need something specifically in squid3 can you try the squid package instead?
pkg_info result???
Do a pkg_info and then a pbi_info in ssh terminal. It will output a list of all packages installed
I couldn´t find any guide on this.
The device itself is definitely working with other firewalls. I have had a look into the syslog, but can´t remember what it was saying, sorry. It was something like LC down/LC UP trying to reconnect and so on.
What device is it plugged into? If you post about the problem you should include logs as well.
Also you should read this thread as well and other threads in this forum that have to do with dansguardian + squid
-
Sorry for warming this up again, but im sitting on this now again and i would love to get this work :D.
: pbi_info
dansguardian-2.12.0.3-i386
squid-2.7.9_3-i386So i have tried it now with every version of Squid which is available, but none of them seems to work with Dansguardian.
Squid alone works every time. As soon as i try to communicate with DG itself nothing happens. The logfile itself is also clean.
I have attached a picture of my only NAT rule at the moment, and i have also tried to activate and deactivate this rule.
Everything without success now so far.
Please tell me what im doing wrong here.
Edit:
It´s a fresh install inside a a larger network so far. The WAN interface gets an IP from another machine.
-
Anyone who can help out here?
I really need this for an elementary school.
-
OK… I guess I'd need to know more specifically how you have this setup... You should not need any NAT rules in order to get Dans working with Squid. You setup the squid proxy in the DG configuration. Then test manually connecting the browser to DG. If you want to make it "transparent", then add a redirect rule later...
I've never had any problem with this working - with any version of Squid.
Anyone who can help out here?
I really need this for an elementary school.
-
Hi,
so i do install Squid, install DG, but if i try then to point to DG with a browser nothing happens. He just won´t open ANY site. There is no log entry at all. -
Could you please upload some pictures of your settings and could you give a little description what you have installed in which order?
It would be very very helpful.
-
I install DG then Squid3. See attached pictures.
![Screenshot from 2014-03-14 18:44:22.png](/public/imported_attachments/1/Screenshot from 2014-03-14 18:44:22.png)
![Screenshot from 2014-03-14 18:44:22.png_thumb](/public/imported_attachments/1/Screenshot from 2014-03-14 18:44:22.png_thumb)
![Screenshot from 2014-03-14 18:44:30.png](/public/imported_attachments/1/Screenshot from 2014-03-14 18:44:30.png)
![Screenshot from 2014-03-14 18:44:30.png_thumb](/public/imported_attachments/1/Screenshot from 2014-03-14 18:44:30.png_thumb)
![Screenshot from 2014-03-14 18:44:40.png](/public/imported_attachments/1/Screenshot from 2014-03-14 18:44:40.png)
![Screenshot from 2014-03-14 18:44:40.png_thumb](/public/imported_attachments/1/Screenshot from 2014-03-14 18:44:40.png_thumb) -
Ive managed to work through this thread, with input and learnings from a few others and finally have a working
squid / dansguardian setup.
Ive found a strange issue in that everything works great for the first ten minutes or so, then web surfing becomes slower before eventually stopping. If I shortcut the localhost chain (NAT 80 -> DG 8080 -> Squid 3128 -> Web) by setting my proxy direct to Squids 3128 port everything resumes as normal.
If I restart Dansguardian things return to normal as well so it appears to be some kind of memory leak / cache / buffers filling up type issue.
Any ideas? Ive killed squids caching along the route of debugging this matter and that didn't help.