Search squid archive

Re: Route domain through different gateway

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

 



On Thu, 2 Aug 2007 03:31:09 +0300 Nerijus Baliunas <nerijus@xxxxxxxxxxxxxxxxxxxxx> 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

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

  Powered by Linux