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

    Squid transparent proxy on bridged setup.

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    3 Posts 3 Posters 2.6k 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.
    • C
      cur8or
      last edited by

      Hi,

      I have squid 2.6.21_07 installed on 2 Alpha-Alpha (build 24 Nov) installed.
      The machine is set up in bridge mode (LAN 192.168.3.252 and WAN is DHCP (192.168.3.107))

      When enabling squid as a transparent proxy on the WAN interface - nothing seems to go via the proxy.
      I amd running squidguard and in transparent mode on the WAN interface it is not blocking, However, if I connect directly to the proxy
      on192.168.3.252 (LAN) port 3128 it works as expected.

      When enabling squid as a transparent proxy on the LAN interface - everything is blocked - and I can't get to any website.

      From pfctl -sa |grep rdr I see the rule:
      rdr on em1 inet proto tcp from any to ! (em1) port = http -> 127.0.0.1 port 80 is added.

      Any pointers will help.

      Regards,

      Shaun

      1 Reply Last reply Reply Quote 0
      • N
        nickp
        last edited by

        Same problem here. Guess we're the only one?

        Not using squidguard, but squid.

        Anyone else that could shed a light on this?

        thx!

        1 Reply Last reply Reply Quote 0
        • M
          mhab12
          last edited by

          I can't speak to having Squid bound to the WAN interface, however your issue with everything being blocked via LAN seems like it would be related to the "Allow users on interface" tick box.  Click the box, press save, try the proxy from the LAN.  If that doesn't work, untick it, hit save, then tick it again, and hit save again.  For some reason, the setting needs to be cleared out after certain installs.

          Might I ask why you were trying to use Squid on the WAN side?

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