Skip to content

Instantly share code, notes, and snippets.

@tsuchm
Created July 21, 2020 00:45
Show Gist options
  • Save tsuchm/ca921bfefde2a7c020ed39b6c7cdec91 to your computer and use it in GitHub Desktop.
Save tsuchm/ca921bfefde2a7c020ed39b6c7cdec91 to your computer and use it in GitHub Desktop.
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl examplenet src 198.51.100.0/255.255.255.0
http_access allow localhost
http_access allow examplenet
http_access deny all
# anonymous proxy
visible_hostname unkown
forwarded_for off
header_access X-FORWARDED-FOR deny all
header_access Via deny all
header_access Cache-Control deny all
# no cache
no_cache deny all
cache_dir null /dev/null
cache_store_log none
http_port 198.51.100.11:3128 name=port011
acl in011 myportname port011
tcp_outgoing_address 198.51.100.11 in011
http_port 198.51.100.12:3128 name=port012
acl in012 myportname port012
tcp_outgoing_address 198.51.100.12 in012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment