{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System » Parameter Authentikasi Squid
Parameter Authentikasi Squid
Cek dahulu Library NCSA …
—
root~/># locate ncsa_auth
—
/usr/lib/squid/ncsa_auth
/usr/share/doc/squid/README.auth_module.ncsa_auth.gz
—
auth_param basic program /usr/lib/squid/ncsa_auth /root/usersquid
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl MENANGGAL src 192.168.1.0/255.255.255.0
redirect_children 5
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80Â Â Â Â Â Â Â Â Â # http
acl Safe_ports port 110Â Â Â Â Â Â Â Â # pop
acl Safe_ports port 119 20Â Â Â Â Â # Lain2x
acl Safe_ports port 21Â Â Â Â Â Â Â Â Â # ftp
acl Safe_ports port 443 563Â Â Â Â # https, snews
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 Safe_ports port 6667-7002Â Â # IRC ports
acl Safe_ports port 5050Â Â Â Â Â Â Â # YM ports
acl CONNECT method CONNECT
#acl porno1 url_regex -i “/etc/porno.txt”
#acl porno2 url_regex -i “/etc/squid/deny_access/domains”
acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users
Â
Filed under: 7. Operating System