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

From: Nerijus Baliunas <nerijus@dont-contact.us>
Date: Thu, 2 Aug 2007 13:46:20 +0300

On Thu, 2 Aug 2007 03:31:09 +0300 Nerijus Baliunas <nerijus@users.sourceforge.net> wrote:

> After searching a bit, I found http://www.squid-cache.org/bugs/show_bug.cgi?id=1886.
> The patch in it is a bit incorrect. The corrected patch is attached and it works with
> my setup.

BTW, the following patch should be applied to correct comments in conf file:

--- cf.data.pre.orig 2007-04-25 00:30:03.000000000 +0300
+++ cf.data.pre 2007-08-02 13:41:49.000000000 +0300
@@ -3199,16 +3199,16 @@
         Example where requests from 10.0.0.0/24 will be forwarded
         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
+ acl good_service_net src 10.0.2.0/255.255.255.0
+ tcp_outgoing_address 10.1.0.1 normal_service_net
+ tcp_outgoing_address 10.1.0.2 good_service_net
+ tcp_outgoing_address 10.1.0.3
 
         Processing proceeds in the order specified, and stops at first fully
         matching line.
 
         Note: The use of this directive using client dependent ACLs is
         incompatible with the use of server side persistent connections. To

Regards,
Nerijus
Received on Thu Aug 02 2007 - 04:50:10 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT