Changes

From Amahi Wiki
Jump to: navigation, search
247 bytes removed ,  00:32, 25 September 2008
m
add one fix
== Configuration ==
Getting basic Squid running wasn't too hard at all, but there are some issues that make it not ready to use. Hopefully we can work through those issues here. But if you want to test it out at least, following these instructions.
As root user edit:
visible_hostname hda.local
http_port 3128
dns_defnames on
cache_dir ufs /var/spool/squid 1000 16 256
cache_access_log /var/log/squid/access.log
</pre>
Referred to Built on top of [http://www.redhatmagazine.com/2007/04/11/squid-in-5-minutes/ this articleapproach] for the approach. But note that there is a correction to the ''acl intranet src 192.168.0.0/24'' line, included above. He was missing ''src'' in that line.
== Start Up ==
== Issues ==
*<s>Browsing to our custom HDA domains doesn't work, e.g. http://wiki or http://calendar.</s>There are various approaches to fixing this, but I don** '''SOLVED:''' adding ''dns_defnames on''t know how to do them so far.configuration did the trick
* Making it transparent, so clients don't need any web browser proxy server settings, is also very possible. You use iptables (also already installed and running) to forward port 80 traffic to the squid server port 3128. I tried but didn't get it working. I was sure how to remove the iptables entries, so I just turned that service off and all was back to normal.** Referring to [http://tldp.org/HOWTO/TransparentProxy-5.html TransparentProxy howto]** And more details from [http://wiki.squid-cache.org/SquidFaq/InterceptionProxy#head-182f30adede2d8daf8569aef5027629ed799b0d4 the Squid FAQ]** others say you can use DHCP or DNS to forward to the proxy too
180

edits