OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: foss-johnny on February 28, 2025, 10:29:33 PM

Title: Squid Proxy - How to route squid traffic via different outbound interface?
Post by: foss-johnny on February 28, 2025, 10:29:33 PM
I've got a squid forwarding proxy running on my LAN interface (gateway IP) on default port 3128.

What firewall/NAT rule settings must be configured to route squids outbound traffic via a different WAN interface?

For example:

1. Can I create a firewall rule that filters traffic sent to the squid destination service port 3128, and then NAT that to a different WAN interface default gateway?

Or

2. Run squid proxy on a LAN sub-interface (Unique IP), and then create a firewall rule that specifies that any traffic originating from the sub-interface address routes via different WAN inteface gateway?

Cheers!
Title: Re: Squid Proxy - How to route squid traffic via different outbound interface?
Post by: palleri on November 23, 2025, 07:56:03 PM
Hi, did you solve this?
I am trying to do the same.

Squid proxy through my ISP wireguard interface.