Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GNU nano 2.2.6 File: sq.conf
- #Port you want your proxy to run on
- http_port 7654
- #Hostname that will showup in your browser
- visible_hostname yourdomain.com
- #Turns all identifiable trackable header traffic off
- forwarded_for off
- #Custom Access control Modifications
- #Currently set to accept connections from all ip addresses
- acl all src 0.0.0.0/0.0.0.0
- #Defines what authentication scheme to use to authenticate users
- #Currently set for .htaccess via a txt file in the root directory called squid_passwd
- auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
- #How many threads to have running on squid startup
- auth_param basic children 5
- #What web realm you want your proxy to masquerade it is from
- auth_param basic realm yourdomainname.com proxy server
- #How long till your sessionID expires
- auth_param basic credentialsttl 4 hours
- #Require a passowrd to access the proxy
- acl password proxy_auth REQUIRED
- http_access allow password
- #Deny all without a password access to the proxy
- http_access deny all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement