Hi Everyone. I just setup squid yesterday which was on top of the newest version of debian that i just installed. Well at first i installed squid and then found out there was a squid3 so i installed that. The only thing i changed in the squid.config so that everyone on the network could connect was the following:
http_access deny all
to http_access allow all.
Which worked perfectly. When i entered the proxy manually everything was able to connect perfectly. I had two issues:
1. I wanted to force everything to go through the proxy. So essentially if you didn't go through the proxy you couldn't connect to the internet.
2. Some devices i have don't have proxy settings to configure.
In this example say the ip of my squid server is 192.168.1.55
So i configured my router to pass out 192.168.1.155 as the default gateway rather than the routers ip (dhcp).
Second i followed the following article:
http://www.tuxradar.com/answers/432
so i changed
http_port 3128
to
http_port 80 transparent
then i removed my proxy settings from my clients and watched the log live to make sure everything was going through the proxy and nothing was. And yes i did the simple things like restarting the squid service. I see a lot of blogs that try to use iptables to route port 80 traffic to say 3128 port of the proxy but since i changed the port of the proxy to port 80 i think it would work just like in the referenced article above. Can anyone offer some advice. Any help would be appreciated