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

    Squid not sending traffic out selected outgoing interface.

    Scheduled Pinned Locked Moved Cache/Proxy
    3 Posts 2 Posters 660 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.
    • Z
      zeeohsix
      last edited by zeeohsix

      All,

      I am trying to find out if there are limitiations in interface types that squid can use for an outgoing interface.

      My configuration is very simple:

      I have my normal mvneta WAN interface and an ovpnc interface for my VPN. Squid listens on all of the mvneta sub interfaces and has the ovpnc interface set for the outgoing. Squid is proxying the connections, and 'squid -k parse' shows 'tcp_outgoing_address 10.x.x.x' (vpn interface address) is in the config, but tcpdump shows everything is going out of the WAN interface instead of the VPN. I've tried restarting the service but nothing changes.

      The squid package is version 0.4.45_8 and the pfsense plus is version 22.09.a.20220729.0600.

      Thanks in advance for the assistance.

      D 1 Reply Last reply Reply Quote 0
      • D
        digitalmg @zeeohsix
        last edited by

        @zeeohsix
        I have the same problem
        I have multiple WAN connections, but squid sends out traffic outside through the same interface which PfSense localhost (127.0.0.1) use for it's own traffic, regardless of what outgoing interface has been chosen in Squid.
        My default gateway is set in a Failover scenario and I changed this to a specific gateway for test. This time, regardless of what I choose in Squid outgoing interface, proxy traffics would pass-through that specific gateway.

        PFsense version : 23.09.1-RELEASE (amd64)
        Squid version : 5.9

        Any idea !?

        D 1 Reply Last reply Reply Quote 0
        • D
          digitalmg @digitalmg
          last edited by

          @digitalmg
          The problem solved,
          I was defined an Outgoing NAT Rule for This Firewall(Self) with AON
          I limited this rule to my specific usage and Squid now switch between outgoing interface like a charm !

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