Guest User

Untitled

a guest
Jan 16th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. http_port 3128
  2.  
  3. visible_hostname mydomain.com
  4.  
  5. acl SSL_ports port 443
  6. acl Safe_ports port 80 # http
  7. acl Safe_ports port 21 # ftp
  8. acl Safe_ports port 443 # https
  9. acl CONNECT method CONNECT
  10.  
  11. auth_param basic program /lib/squid/basic_db_auth --user squid
  12. --password x420WVNgm2D226v --plaintext --persist
  13. auth_param basic children 5
  14. auth_param basic realm mydomain.com
  15. auth_param basic credentialsttl 1 minute
  16. auth_param basic casesensitive off
  17.  
  18. acl db-auth proxy_auth REQUIRED
  19. http_access allow db-auth
  20. http_access allow localhost
  21. http_access deny all
  22.  
  23. # Limit to 1 connection per user
  24. # OR NAT
  25. client_ip_max_connections 100
  26. authenticate_ttl 1 hour
  27. authenticate_ip_ttl 5 seconds
  28.  
  29. acl ip_unico max_user_ip -s 1
  30. http_access deny ip_unico
  31.  
  32. server_persistent_connections off
  33.  
  34. acl RandomIP random 1/754
  35.  
  36. #anonymizer paranoid
  37. request_header_access Allow allow all
  38. request_header_access Authorization allow all
  39. request_header_access WWW-Authenticate allow all
  40. request_header_access Proxy-Authorization allow all
  41. request_header_access Proxy-Authenticate allow all
  42. request_header_access Cache-Control allow all
  43. request_header_access Content-Encoding allow all
  44. request_header_access Content-Length allow all
  45. request_header_access Content-Type allow all
  46. request_header_access Date allow all
  47. request_header_access Expires allow all
  48. request_header_access Host allow all
  49. request_header_access If-Modified-Since allow all
  50. request_header_access Last-Modified allow all
  51. request_header_access Location allow all
  52. request_header_access Pragma allow all
  53. request_header_access Accept allow all
  54. request_header_access Accept-Charset allow all
  55. request_header_access Accept-Encoding allow all
  56. request_header_access Accept-Language allow all
  57. request_header_access Content-Language allow all
  58. request_header_access Mime-Version allow all
  59. request_header_access Retry-After allow all
  60. request_header_access Title allow all
  61. request_header_access Connection allow all
  62. request_header_access All deny all
  63.  
  64. header_replace User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4 AlexaToolbar/alxg-3.1
  65.  
  66. # RandomIP Pool
  67. tcp_outgoing_address xx.xxx.68.10 RandomIP
  68. tcp_outgoing_address xx.xxx.68.11 RandomIP
  69. tcp_outgoing_address xx.xxx.68.12 RandomIP
  70. tcp_outgoing_address xx.xxx.68.13 RandomIP
  71. tcp_outgoing_address xx.xxx.68.14 RandomIP
  72. tcp_outgoing_address xx.xxx.68.15 RandomIP
  73. tcp_outgoing_address xx.xxx.68.16 RandomIP
  74. tcp_outgoing_address xx.xxx.68.17 RandomIP
  75. .... 745 tot
  76.  
  77. # Fallback IP
  78. tcp_outgoing_address xx.xxx.67.255
Add Comment
Please, Sign In to add comment