Search squid archive

Re: Squid and ACL with two internet connections

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

 



On 8/17/05, Chris Robertson <crobertson@xxxxxxx> wrote:
> > -----Original Message-----
> > From: Siju George [mailto:sgeorge.ml@xxxxxxxxx]
> > Sent: Tuesday, August 16, 2005 4:23 AM
> > To: squid-users
> > Subject:  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


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

  Powered by Linux