Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Problem with squid and multiple gateways

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 281 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.
    • T
      thompsonm
      last edited by

      Hi, I am having a problem with squid and my vpn. I set up squid in forwarding mode and it does SSL filtering. Everything seems to work however I checked what my external IP address is and I also did a packet capture on the WAN interface and I can see traffic from the proxy is not going through the vpn tunnel. I confirmed that all other traffic goes through it however. I have a policy based routing, that goes like this:

      Soure: LAN
      SPort: *
      Destination: !HOMENET
      Dport: *
      Gateway: VPN

      So traffic originating from my LAN that is not destined for the LAN, has to go through the vpn tunnel. So because I'm using a proxy in forwarding mode, the destination for HTTP/HTTPS requests changes to that of my proxy server, which then forwards the requests. So it seems to exclude all the traffic going to or from the proxy. Or something? I barely understand what the problem is. I'm hoping someone can help me with this.

      1 Reply Last reply
      Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy