Skip to content

Instantly share code, notes, and snippets.

@hexvalid
Created March 25, 2018 18:57
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 hexvalid/0e570f95cf94edea6c26844032de084f to your computer and use it in GitHub Desktop.
Save hexvalid/0e570f95cf94edea6c26844032de084f to your computer and use it in GitHub Desktop.
My Proxy Configuration
#!/bin/bash
apt-get install squid3 apache2-utils
htpasswd -c /etc/squid/passwords hexaminer2
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