On 8/17/05, Chris Robertson <crobertson@gci.com> wrote:
> > -----Original Message-----
> > From: Siju George [mailto:sgeorge.ml@gmail.com]
> > Sent: Tuesday, August 16, 2005 4:23 AM
> > To: squid-users
> > Subject: [squid-users] Squid and ACL with two internet connections
> >
> >
> > Hi all,
> >
> > I have a computer running Squid.
> >
> > It is connected to a LAN and two internet connections using 3 NICs
> >
> > how will I configure it so that access from the LAN to a set of
> > websites will go through one Internet connection and access to all
> > other websites will go through the other internet connection
> >
> > Thankyou so much
> >
> > kind regards
> >
> > Siju
> >
>
> Look into the tcp_outgoing_address directive.
>
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.
I want the same user to be able to connect through squid and use one
internet connection for a set of websites and the other internet
connection for all other websites.
Thankyou so much for the response
kind regards
Siju
Received on Wed Aug 17 2005 - 05:52:19 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:02 MDT