![]() ![]() Request_header_access User-Agent allow all Request_header_access Proxy-Connection allow all Request_header_access Connection allow all Request_header_access Retry-After allow all Request_header_access Mime-Version allow all Request_header_access Content-Language allow all Request_header_access Accept-Language allow all Request_header_access Accept-Encoding allow all Request_header_access Accept-Charset allow all Request_header_access Last-Modified allow all Request_header_access If-Modified-Since allow all Request_header_access Content-Type allow all ![]() Request_header_access Content-Length allow all Request_header_access Content-Encoding allow all Request_header_access Cache-Control allow all Request_header_access Proxy-Authenticate allow all Request_header_access Proxy-Authorization allow all Request_header_access WWW-Authenticate allow all Request_header_access Authorization allow all You can repeat this step at any time to create new users.Ĭheck the location of the nsca_auth file: sudo rpm -ql squid | grep ncsa_authĮdit the Squid configuration file and add the following lines at the beginning of the file: Note You will be prompted to create a password for this user: New password: sudo yum install httpd-toolsĬreate a file to store Squid users and passwords: sudo touch /etc/squid/squid_passwdĬhange ownership of the password file: sudo chown squid /etc/squid/squid_passwdĬreate a username password pair, replacing user1 with the name of the user you’d like to add: sudo htpasswd /etc/squid/squid_passwd user1 If you have installed Apache on your Linode, you will already have it and can skip this step. Install htpasswd by installing the Apache utility programs. You can also configure your Squid HTTP proxy to accept authentication with usernames and passwords. ![]() Access to the proxy is granted by adding the names defined by each acl to the http_access allow line. Update the optional comments # Home IP and # Work IP with accurate descriptions to help keep track of multiple clients. Replace client1 and client2 with names that identify the client computers, then replace 192.0.2.0 and 192.0.2.1 with their corresponding IP addresses. Acl client1 src 192.0.2.0 # Home IP acl client2 src 192.0.2.1 # Work IP http_access allow client1 client2 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |