Squid: Difference between revisions
Jump to navigation
Jump to search
| Line 97: | Line 97: | ||
# make our Squid listen for SNMP queries on port 3401 | # make our Squid listen for SNMP queries on port 3401 | ||
snmp_port 3401 | snmp_port 3401 | ||
</pre> | |||
*TAG: snmp_access | |||
<pre> | |||
# allow localhost to query our Squid and deny all others | |||
snmp_access allow snmppublic localhost | |||
snmp_access deny all | |||
</pre> | |||
*TAG: error_directory | |||
<pre> | |||
# localize our error messages | |||
error_directory /usr/share/squid/errors/German | |||
</pre> | |||
*TAG: always_direct | |||
<pre> | |||
# Tell Squid to bypass our cache_peer for our local servers and networks | |||
always_direct allow local-servers | |||
always_direct allow local-network | |||
</pre> | |||
*TAG: never_direct | |||
<pre> | |||
# Tell Squid to use our cache_peer for everything else | |||
never_direct allow all | |||
</pre> | </pre> | ||
}} | }} | ||
Revision as of 13:45, 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
Packages
Installation
# emerge squid
# chown root:squid /var/cache/samba/winbindd_privileged
# chmod 750 /var/cache/samba/winbindd_privileged
Configuration
Finalize
# /etc/init.d/squid start
# rc-update add squid default