Squid: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
Tgurr (talk | contribs)
Line 129: Line 129:
*TAG: cache_peer
*TAG: cache_peer
<pre>
<pre>
# Optional: tell our squid to send everything to our content-filter/firewall gateway
# Optional: Tell our Squid to send everything to our content-filter/firewall gateway
# Comment this out if you don't have another proxy infront of Squid
# Comment this out if you don't have another proxy infront of Squid
cache_peer fw.yourdomain.local parent 8080 7 no-query no-delay default
cache_peer fw.yourdomain.local parent 8080 7 no-query no-delay default
Line 175: Line 175:
*TAG: always_direct
*TAG: always_direct
<pre>
<pre>
# Optional: Only required when using a cache_peer
# Tell Squid to bypass our cache_peer for our local servers and networks
# Tell Squid to bypass our cache_peer for our local servers and networks
always_direct allow local-servers
always_direct allow local-servers
Line 181: Line 182:
*TAG: never_direct
*TAG: never_direct
<pre>
<pre>
# Optional: Only required when using a cache_peer
# Tell Squid to use our cache_peer for everything else
# Tell Squid to use our cache_peer for everything else
never_direct allow all
never_direct allow all

Revision as of 14:47, 22 April 2008

Description

Now that our Samba is connected to our Windows ADS we can start to authentificate our Squid users against Windows ADS Accounts and/or Groups.

Dependencies

USE-Flags

Template:Box File

Packages

Template:Box Code

Installation

# emerge squid

# chown root:squid /var/cache/samba/winbindd_privileged

# chmod 750 /var/cache/samba/winbindd_privileged

Configuration

Template:Box File

Finalize

# /etc/init.d/squid start

# rc-update add squid default