Skip to content

Instantly share code, notes, and snippets.

@authmane512
Last active October 25, 2018 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save authmane512/c8682d6ca1fc9289522e5975c02e77a3 to your computer and use it in GitHub Desktop.
Save authmane512/c8682d6ca1fc9289522e5975c02e77a3 to your computer and use it in GitHub Desktop.
# port of proxy
http_port 5000
# hostname of proxy
visible_hostname SuperProxy
# IP header HTTP masking (X-Forwarded-For: unknown)
forwarded_for off
# logs
access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
# no cache
cache deny all
# DNS servers
dns_nameservers 80.67.169.12 80.67.169.40
# DNS cache
positive_dns_ttl 5 minutes #réponse positive
negative_ttl 5 minutes #réponse en erreur
# no wait before close Squid (30 seconds else, use of cache if enabled)
shutdown_lifetime 0 seconds
# allows a specific IP address
acl me src <your computer IP address>
http_access allow me
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment