Re: [squid-users] Route domain through different gateway

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 30 Jul 2007 03:36:08 +0200

On ons, 2007-07-25 at 11:02 +1000, Danny Gluch wrote:

> What I want to do is use squid to route any requests to a particular
> domain through a different gateway to everything else. If the domain
> only had a single IP address I could easily do this by adding a static
> route, but what about sites that have multiple subdomains running on
> different IP ranges?

For this you use tcp_outgoing_address combined with policy routing in
your OS to route the traffic to the right gateway based on the source IP
set by Squid.

Regards
Henrik
Received on Sun Jul 29 2007 - 19:36:21 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:04 MDT