Created
March 25, 2018 18:57
-
-
Save hexvalid/0e570f95cf94edea6c26844032de084f to your computer and use it in GitHub Desktop.
My Proxy Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get install squid3 apache2-utils | |
htpasswd -c /etc/squid/passwords hexaminer2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid/passwords | |
auth_param basic realm proxy | |
acl authenticated proxy_auth REQUIRED | |
http_access allow authenticated | |
request_header_access X-Forwarded-For deny all | |
http_access allow all | |
http_port 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment