Search squid archive

Squid with Lan1>Wan1, Lan2>Wan2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux