Yes, but is also likely to crash some sites not expecting users to come from more than one IP address in the same session...
Regards Henrik fre 2003-03-21 klockan 15.42 skrev Sander Winkel: > Is something like below possible? > I can't test it by myself at the moment because there are exams at the > moment at our highschool. > I think they will kill me when the internet feed goes down now. :) > > acl IMAGES urlpath_regex -i \.gif$ > acl HTML urlpath_regex -i \.html$ > tcp_outgoing_address 192.168.0.1 IMAGES > tcp_outgoing_address 192.168.0.1 HTML > tcp_outgoing_address 192.168.0.2 ALL > > Regards, > Sander Winkel > > > ----- Original Message ----- > From: "Henrik Nordstrom" <[EMAIL PROTECTED]> > To: "Sander Winkel" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Friday, March 21, 2003 3:35 PM > Subject: Re: [squid-users] Split trafiic over two interfaces > > > > Yes, by using tcp_outgoing_address (squid-2.5 only) you select which > > source IP address Squid should use when forwarding the request, then by > > using advanced routing in the kernel you route the traffic. > > > > If this is not what you want to do, please describe in more detail what > > it is you want to do. > > > > Regards > > Henrik > > > > fre 2003-03-21 klockan 12.50 skrev Sander Winkel: > > > I want to split traffic over two interfaces with acls. > > > For example, I want to send all requests for images to 192.168.0.1 and > all > > > other traffic to 192.168.0.2 > > > I've look to tcp_outgoing_address but that don't helps me well. > > > I thought it was possible to do that with squid, isn't it? > > > > > > Regards, > > > Sander Winkel > > -- > > Henrik Nordstrom <[EMAIL PROTECTED]> > > MARA Systems AB, Sweden > > -- Henrik Nordstrom <[EMAIL PROTECTED]> MARA Systems AB, Sweden
