Re: [squid-users] Squid and ACL with two internet connections

From: Joost de Heer <sanguis@dont-contact.us>
Date: Wed, 17 Aug 2005 17:37:55 +0200 (CEST)

> Thankyou so much Chris for the reply but the squid.conf says
>
> tcp_outgoing_address
> # Allows you to map requests to different outgoing IP addresses
> # based on the username or sourceaddress of the user making
> # the request.
> #
> # tcp_outgoing_address ipaddr [[!]aclname] ...
> #
> # Example where requests from 10.0.0.0/24 will be forwareded
> # with source address 10.1.0.1, 10.0.2.0/24 forwarded with
> # source address 10.1.0.2 and the rest will be forwarded with
> # source address 10.1.0.3.
> #
> # acl normal_service_net src 10.0.0.0/255.255.255.0
> # acl good_service_net src 10.0.1.0/255.255.255.0
> # tcp_outgoing_address 10.0.0.1 normal_service_net
> # tcp_outgoing_address 10.0.0.2 good_service_net
> # tcp_outgoing_address 10.0.0.3
> #
> # Processing proceeds in the order specified, and stops at first
> fully
> # matching line.
>
> I my case the source address of the user making the request is same.

Then make your acl so it differs between users. The ip acl is just an
example.

Joost
Received on Wed Aug 17 2005 - 09:38:00 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:02 MDT