Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- acl localnet src 10.3.198.0/24
- acl SSL_ports port 443
- acl Safe_ports port 80 # 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
- acl manager proto cache_object
- acl whitelist dstdomain "/etc/squid/whitelistssl"
- acl blackmails dstdomain "/etc/squid/blackmailssl"
- http_access deny !Safe_ports
- http_access deny CONNECT !SSL_ports
- http_access allow whitelist
- http_access deny blackmails
- http_access allow manager localhost
- http_access allow localnet
- http_access allow localhost
- http_access deny all
- dns_v4_first on
- dns_nameservers 10.3.198.254 10.3.102.5 10.3.100.5
- # debug_options ALL,1 26,2 83,2
- logfile_rotate 31
- http_port 10.3.198.224:3128
- http_port 10.3.198.224:3129 intercept
- https_port 10.3.198.224:3130 intercept ssl-bump \
- generate-host-certificates=on \
- dynamic_cert_mem_cache_size=16MB \
- connection-auth=off tls-cert=/etc/squid/squidCA.pem
- acl step1 at_step SslBump1
- acl blackmailssl ssl::server_name "/etc/squid/blackmailssl"
- sslcrtd_program /usr/lib/squid/security_file_certgen -s /usr/lib/squid/ssl_db -M 8MB
- ssl_bump peek step1
- ssl_bump terminate blackmailssl
- ssl_bump splice all
- cache_dir ufs /var/spool/squid 1024 16 256
- maximum_object_size 1 MB
- coredump_dir /var/spool/squid
- refresh_pattern ^ftp: 1440 20% 10080
- refresh_pattern ^gopher: 1440 0% 1440
- refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
- refresh_pattern . 0 20% 4320
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement