Advertisement
Guest User

Untitled

a guest
Jan 26th, 2015
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. # This file is automatically generated by pfSense
  2. # Do not edit manually !
  3.  
  4. http_port 192.168.1.1:3128
  5. http_port 127.0.0.1:3128 intercept
  6. icp_port 0
  7. dns_v4_first off
  8. pid_filename /var/run/squid/squid.pid
  9. cache_effective_user proxy
  10. cache_effective_group proxy
  11. error_default_language en
  12. icon_directory /usr/pbi/squid-i386/local/etc/squid/icons
  13. visible_hostname localhost
  14. cache_mgr admin@localhost
  15. access_log /var/squid/logs/access.log
  16. cache_log /var/squid/logs/cache.log
  17. cache_store_log none
  18. netdb_filename /var/squid/logs/netdb.state
  19. pinger_enable on
  20. pinger_program /usr/pbi/squid-i386/local/libexec/squid/pinger
  21.  
  22. logfile_rotate 0
  23. debug_options rotate=0
  24. shutdown_lifetime 3 seconds
  25. # Allow local network(s) on interface(s)
  26. acl localnet src 192.168.1.0/24
  27. uri_whitespace strip
  28.  
  29. acl dynamic urlpath_regex cgi-bin \?
  30. cache deny dynamic
  31.  
  32. cache_mem 8 MB
  33. maximum_object_size_in_memory 32 KB
  34. memory_replacement_policy heap GDSF
  35. cache_replacement_policy heap LFUDA
  36. cache_dir aufs /var/squid/cache 512 16 256
  37. minimum_object_size 0 KB
  38. maximum_object_size 1024 KB
  39. offline_mode off
  40. cache_swap_low 90
  41. cache_swap_high 95
  42. cache allow all
  43.  
  44. # No redirector configured
  45.  
  46.  
  47. #Remote proxies
  48.  
  49.  
  50. # Setup some default acls
  51. # From 3.2 further configuration cleanups have been done to make things easier and safer. The manager, localhost, and to_localhost ACL definitions are now built-in.
  52. # acl localhost src 127.0.0.1/32
  53. acl allsrc src all
  54. acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901 3128 3127 1025-65535
  55. acl sslports port 443 563
  56.  
  57. # From 3.2 further configuration cleanups have been done to make things easier and safer. The manager, localhost, and to_localhost ACL definitions are now built-in.
  58. #acl manager proto cache_object
  59.  
  60. acl purge method PURGE
  61. acl connect method CONNECT
  62.  
  63. # Define protocols used for redirects
  64. acl HTTP proto HTTP
  65. acl HTTPS proto HTTPS
  66. http_access allow manager localhost
  67.  
  68. http_access deny manager
  69. http_access allow purge localhost
  70. http_access deny purge
  71. http_access deny !safeports
  72. http_access deny CONNECT !sslports
  73.  
  74. # Always allow localhost connections
  75. # From 3.2 further configuration cleanups have been done to make things easier and safer.
  76. # The manager, localhost, and to_localhost ACL definitions are now built-in.
  77. # http_access allow localhost
  78.  
  79. request_body_max_size 0 KB
  80. delay_pools 1
  81. delay_class 1 2
  82. delay_parameters 1 -1/-1 -1/-1
  83. delay_initial_bucket_level 100
  84. delay_access 1 allow allsrc
  85.  
  86. # Reverse Proxy settings
  87.  
  88.  
  89. # Custom options before auth
  90.  
  91.  
  92. # Setup allowed acls
  93. # Allow local network(s) on interface(s)
  94. http_access allow localnet
  95. # Default block all to be sure
  96. http_access deny allsrc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement