get paid to paste

###AD Integration####
auth_param basic program /usr/lib/squid3/squid_ldap_auth -R -b "dc=domain123,dc=com" -D "cn=Ldap,cn=Users,dc=domain123,dc=com" -w "1234567" -f sAMAccountName=%s -h ldap.domain123.com
auth_param basic credentialsttl 4 hour
auth_param basic casesensitive off
auth_param basic children 30
auth_param basic realm Lals Group

acl ad-auth proxy_auth REQUIRED
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl allow_localnet dst 192.168.10.0/24 192.168.18.0/24
acl allow_localdomain dstdomain .lalsgroup.com
acl Unsafe_Ports port 5050
acl Unsafe_Ports port 1863
acl Unsafe_Ports port 5222
acl SSL_ports port 443
acl Safe_ports port 80 53 3268 88 5060 5061 5062 5075 5076 5077 50636 587 50389 58941 110 995 993 143 389 636 119 25 465 135 102 3000  # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl CONNECT method CONNECT


http_access allow localhost allow_localnet allow_localdomain
http_access allow manager localhost
http_access allow ad-auth
http_access deny manager
http_access deny Unsafe_Ports !Safe_ports
http_access deny CONNECT !SSL_ports


http_access deny all

redirect_program /usr/local/bin/squidGuard -c /usr/local/squidGuard/squidGuard.conf
redirect_children 50
icp_access deny all


htcp_access deny all


http_port 3128

cache_mem 128 MB

cache_dir aufs /var/squid3/cache 10240 16 256


hierarchy_stoplist cgi-bin ?

access_log /var/log/squid3/access.log squid


refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern (cgi-bin|\?)    0       0%      0
refresh_pattern .               0       20%     4320


icp_port 3130
pipeline_prefetch off
cache_mgr [email protected]
cachemgr_passwd 123456 all

Pasted: Mar 16, 2011, 2:04:18 pm
Views: 51