[squid-users] Squid with Lan1>Wan1, Lan2>Wan2

From: Kevin Lesage <kevin.lesage_at_gmail.com>
Date: Sat, 01 Mar 2014 10:33:19 +0100

Hello,
i'm using pfsense 2.1 with squid 3.1.20.

I have 2 Wan and 2 Lan interfaces :
Wan1 : 10.0.0.100/24 => Gateway 10.0.0.138/24 (default)
Wan2 : 192.168.1.100/24 => Gateway 192.168.1.100/24
Lan1 : 192.168.50.0/24
Lan2 : 172.16.0.0/16

With firewall rules, i can get computers from Lan1 subnet access to
internet only through WAN1, and computers from Lan2

Subnet only through WAN2.

But wen I ask Squid to bind interfaces LAN1 and LAN2, and add customs
options :

acl LAN1 src 192.168.50.0/24
acl LAN2 src 172.16.0.0/16
tcp_outgoing_address 10.0.0.100 LAN1
tcp_outgoing_address 192.168.1.100 LAN2

all http traffic passes through only one WAN gateway, which is
10.0.0.138 (default)!

How can i do?

Thank you
Kevin Lesage
Brittany (Western Fran
Received on Sat Mar 01 2014 - 09:33:29 MST

This archive was generated by hypermail 2.2.0 : Sat Mar 01 2014 - 12:00:06 MST