Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Squid Proxy not working

    Installation and Upgrades
    1
    1
    1191
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BradGBS last edited by

      Removed HAVP and now proxy not working.

      How do I modify the squid.conf

      Here is my config what is wrong with it.  Thanks

      Do not edit manually !

      http_port 10.243.102.247:3128
      http_port 127.0.0.1:3128 transparent
      icp_port 0

      pid_filename /var/run/squid.pid
      cache_effective_user proxy
      cache_effective_group proxy
      error_directory /usr/local/etc/squid/errors/English
      icon_directory /usr/local/etc/squid/icons
      visible_hostname localhost
      cache_mgr admin@localhost
      access_log /var/squid/log/access.log
      cache_log /var/squid/log/cache.log
      cache_store_log none
      logfile_rotate 0
      shutdown_lifetime 3 seconds

      Allow local network(s) on interface(s)

      acl localnet src  10.243.0.0/255.255.0.0
      uri_whitespace strip

      cache_mem 1024 MB
      maximum_object_size_in_memory 2048 KB
      memory_replacement_policy lru
      cache_replacement_policy lru
      cache_dir ufs /var/squid/cache 50000 4 256
      minimum_object_size 0 KB
      maximum_object_size 1000 KB
      offline_mode off

      No redirector configured

      Setup some default acls

      acl all src 0.0.0.0/0.0.0.0
      acl localhost src 127.0.0.1/255.255.255.255
      acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901  3128 1025-65535
      acl sslports port 443 563
      acl manager proto cache_object
      http_port 10.243.102.247:3128
      http_port 127.0.0.1:3128 transparent
      icp_port 0

      pid_filename /var/run/squid.pid
      cache_effective_user proxy
      cache_effective_group proxy
      error_directory /usr/local/etc/squid/errors/English
      icon_directory /usr/local/etc/squid/icons
      visible_hostname localhost
      cache_mgr admin@localhost
      access_log /var/squid/log/access.log
      cache_log /var/squid/log/cache.log
      cache_store_log none
      logfile_rotate 0
      shutdown_lifetime 3 seconds

      Allow local network(s) on interface(s)

      acl localnet src  10.243.0.0/255.255.0.0
      uri_whitespace strip

      cache_mem 1024 MB
      maximum_object_size_in_memory 2048 KB
      memory_replacement_policy lru
      cache_replacement_policy lru
      cache_dir ufs /var/squid/cache 50000 4 256
      minimum_object_size 0 KB
      maximum_object_size 1000 KB
      offline_mode off

      No redirector configured

      Setup some default acls

      acl all src 0.0.0.0/0.0.0.0
      acl localhost src 127.0.0.1/255.255.255.255
      acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901  3128 1025-65535
      acl sslports port 443 563
      acl manager proto cache_object
      acl purge method PURGE
      acl connect method CONNECT

      1 Reply Last reply Reply Quote 0
      • First post
        Last post