Linux Netfilter discussions
 help / color / mirror / Atom feed
* Squid with three isp
@ 2011-02-23  5:11 Senthilkumar
  2011-02-24  0:50 ` Anatoly Muliarski
  0 siblings, 1 reply; 2+ messages in thread
From: Senthilkumar @ 2011-02-23  5:11 UTC (permalink / raw)
  To: squid-users

Hello All,

We have a gateway machine which has three upstream isp and to make 
clients use the particular isp we use advance routing based on the 
source address.  When we run squid  on the same machine to log websites 
all traffic passes through the single isp i.e. the isp which is set as 
default gateway. We need all the users to pass through squid and use 
different isp's as per source route.
Please share your views to achieve it.

Thanks
Senthil.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Squid with three isp
  2011-02-23  5:11 Squid with three isp Senthilkumar
@ 2011-02-24  0:50 ` Anatoly Muliarski
  0 siblings, 0 replies; 2+ messages in thread
From: Anatoly Muliarski @ 2011-02-24  0:50 UTC (permalink / raw)
  To: netfilter; +Cc: Senthilkumar

2011/2/23 Senthilkumar <senthilkumaar2021@gmail.com>:
> Hello All,
>
> We have a gateway machine which has three upstream isp and to make clients
> use the particular isp we use advance routing based on the source address.
>  When we run squid  on the same machine to log websites all traffic passes
> through the single isp i.e. the isp which is set as default gateway. We need
> all the users to pass through squid and use different isp's as per source
> route.
> Please share your views to achieve it.
>
> Thanks
> Senthil.
>
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Hi Senthilkumar,

I suppose you should use multiple rt_tables facility based on
netfilter's marks for routing to different ISPs. And you also need
some scheme to disperse marks for squid's output connections like nth
option from iptables. Here is an example:
http://members.hellug.gr/vyruss/computing/load_balance.html



-- 
Best regards
Anatoly Muliarski

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-24  0:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-23  5:11 Squid with three isp Senthilkumar
2011-02-24  0:50 ` Anatoly Muliarski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox