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

    Squid as transparent proxy with cache

    pfSense Packages
    2
    3
    3.0k
    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.
    • H
      hkusulja
      last edited by

      Hi!

      I have pfsense 1.2-release
      1xLAN
      1xWAN
      1xWifi

      Wifi and LAN  are going to internet over WAN

      I have installed squid, squid content filter, and proxy report  packages..

      i want a transparent proxy for HTTP (so i don't need to configure every browser on every PC for every user that should use proxy)..  (and i have set cache to 30GB)

      So i go to squid general settings
      i have selected:

      • LAN, Wifi interfaces
      • transparent proxy checkbox
      • proxy port 8080
      • enabled logging into /var/squid/log

      after that i see in logs that i am not going through proxy..,

      if i enable: Allow users on interface
      then i can't open any HTTP page

      so i go to: Access control > Allowed subnets > and i wrote two subnets:  192.168.10.0/24 and 192.168.12.0/24    (these are my LAN and Wifi)

      but after save…, restart squid service.., i still can't open any page..., in logs, a have TCP_MISS ?

      after while i get page (60) Operation timed out.

      i see in access.log

      1224409049.711 180047 192.168.10.31 TCP_MISS/504 1498 GET http://forum.domeka.net/ - DIRECT/192.168.10.1 text/html

      (192.168.10.1 is my pfsense address)

      where is a problem ? what am i doing wrong ?

      1 Reply Last reply Reply Quote 0
      • H
        hkusulja
        last edited by

        ok i found a problem..

        i had a other package.., "proxy content filter".., that I didn't configure…, default is to deny a page..., i did allow all pages., and now it works..

        1 Reply Last reply Reply Quote 0
        • D
          dvserg
          last edited by

          @hkusulja:

          ok i found a problem..

          i had a other package.., "proxy content filter".., that I didn't configure…, default is to deny a page..., i did allow all pages., and now it works..

          Hm.. While any package installing,  you can see message "check you package configurstion"  ::)

          SquidGuardDoc EN  RU Tutorial
          Localization ru_PFSense

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