Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http_port 3128
- visible_hostname mydomain.com
- acl SSL_ports port 443
- acl Safe_ports port 80 # http
- acl Safe_ports port 21 # ftp
- acl Safe_ports port 443 # https
- acl CONNECT method CONNECT
- auth_param basic program /lib/squid/basic_db_auth --user squid
- --password x420WVNgm2D226v --plaintext --persist
- auth_param basic children 5
- auth_param basic realm mydomain.com
- auth_param basic credentialsttl 1 minute
- auth_param basic casesensitive off
- acl db-auth proxy_auth REQUIRED
- http_access allow db-auth
- http_access allow localhost
- http_access deny all
- # Limit to 1 connection per user
- # OR NAT
- client_ip_max_connections 100
- authenticate_ttl 1 hour
- authenticate_ip_ttl 5 seconds
- acl ip_unico max_user_ip -s 1
- http_access deny ip_unico
- server_persistent_connections off
- acl RandomIP random 1/754
- #anonymizer paranoid
- request_header_access Allow allow all
- request_header_access Authorization allow all
- request_header_access WWW-Authenticate allow all
- request_header_access Proxy-Authorization allow all
- request_header_access Proxy-Authenticate allow all
- request_header_access Cache-Control allow all
- request_header_access Content-Encoding allow all
- request_header_access Content-Length allow all
- request_header_access Content-Type allow all
- request_header_access Date allow all
- request_header_access Expires allow all
- request_header_access Host allow all
- request_header_access If-Modified-Since allow all
- request_header_access Last-Modified allow all
- request_header_access Location allow all
- request_header_access Pragma allow all
- request_header_access Accept allow all
- request_header_access Accept-Charset allow all
- request_header_access Accept-Encoding allow all
- request_header_access Accept-Language allow all
- request_header_access Content-Language allow all
- request_header_access Mime-Version allow all
- request_header_access Retry-After allow all
- request_header_access Title allow all
- request_header_access Connection allow all
- request_header_access All deny all
- header_replace User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4 AlexaToolbar/alxg-3.1
- # RandomIP Pool
- tcp_outgoing_address xx.xxx.68.10 RandomIP
- tcp_outgoing_address xx.xxx.68.11 RandomIP
- tcp_outgoing_address xx.xxx.68.12 RandomIP
- tcp_outgoing_address xx.xxx.68.13 RandomIP
- tcp_outgoing_address xx.xxx.68.14 RandomIP
- tcp_outgoing_address xx.xxx.68.15 RandomIP
- tcp_outgoing_address xx.xxx.68.16 RandomIP
- tcp_outgoing_address xx.xxx.68.17 RandomIP
- .... 745 tot
- # Fallback IP
- tcp_outgoing_address xx.xxx.67.255
Add Comment
Please, Sign In to add comment