Squid not sending traffic out selected outgoing interface.
-
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.
-
@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.9Any idea !?
-
@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 !