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

    Quick squid question

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 910 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.
    • A Offline
      admiral akmir
      last edited by

      Alright, so I've got pfsense in a virtual lab and I'm playing around with it. I've been messing around with dansguardian and squid to filter content and I have a question about part of the setup.

      I have a NAT rule to redirect all http traffic to port 8080 which is where dansguardian is, this makes sense to me. What doesn't make sense is the squid configuration, and actually, I'm not even sure how squid plays into this. The guide I read had me bind squid to the loopback interface and I'm wondering what the purpose of that is?

      My understanding is that the NAT rule will forward traffic to dansguardian on port 8080, which then interacts with squid in some way on port 3128… Why is squid even in the picture here? The filtering is configured in dansguardian, not squid.

      Don't get me wrong, it all works fine, I just want to understand what is going on here.

      1 Reply Last reply Reply Quote 0
      • T Offline
        timthetortoise
        last edited by

        Dansguardian uses squid to actually send and capture the request, and since your users aren't directly using squid, it only needs to listen on the loopback interface since Dansguardian is on the same machine.

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