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

    Squid proxy basic setup for cache.

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 1.1k Views
    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.
    • V
      voxmagna1
      last edited by

      Hi, I'm a newbie struggling in the swamp! Got pfsense set up and running including local DNS cache and moved on to Squid. At the mo. I just want the local cache for web pages. When I enable squid proxy without transparent mode my browser can access HTTP and HTTPS. When I enable transparent mode I can only reach HTTPS sites and a Squid 'page blocked error' is returned. I checked and rechecked my Squid proxy server settings.

      I consoled to Squid.conf. When transparent mode is NOT selected there's not a lot in the file so I don't think anything is being cached?

      If I enable transparent mode I can see all my settings and I'm looking for the 'http allow all' in the script. Yes I see http_access allow allowed_subnets and local net. but then the last line commented as # Default block all to be sure has http_access deny allsrc.

      I haven't put anything in the ACL tables because it looked as though transparent mode would allow all to http port 80 without adding rules.

      I hope this makes sense?

      I'm still in the swamp and can't figure why access to http is being blocked in Squid transparent mode? I haven't added any additional firewall rules for squid proxy, are they needed? The error logs are consistent and show a blocked error for all http sites, but not https. Help.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.