Re: [squid-users] 3 ISPs: Routing problem

From: Jeff Pang <pangj_at_arcor.de>
Date: Sat, 16 May 2009 13:28:28 +0800

RSCL Mumbai:
> On Sat, May 16, 2009 at 9:50 AM, Jeff Pang <pangj_at_arcor.de> wrote:
>> RSCL Mumbai:
>>
>>> I tried " tcp_outgoing_address " by adding the following to squid.conf
>>>
>>> acl ip1 myip 10.0.0.120
>>> acl ip2 myip 10.0.0.121
>>> acl ip3 myip 10.0.0.122
>>> tcp_outgoing_address 10.0.0.120 ip1
>>> tcp_outgoing_address 10.0.0.121 ip2
>>> tcp_outgoing_address 10.0.0.122 ip3
>>>
>>> Restarted squid, but no help.
>>>
>> It might be:
>>
>> tcp_outgoing_address ISP1_IP_ADDRESS ip1
>> tcp_outgoing_address ISP2_IP_ADDRESS ip2
>> tcp_outgoing_address ISP3_IP_ADDRESS ip3
>>
>> replace ISP{x}_IP_ADDRESS with real IPs.
>
>
>
>
> On a different note, can I setup iproute2 rule using x-forwarded ip address.
> I believe this can solve my problem.
>

I don't think so.
b/c x-forwarded-for is a http header element.

-- 
Jeff Pang
DingTong Technology
www.dtonenetworks.com
Received on Sat May 16 2009 - 05:28:25 MDT

This archive was generated by hypermail 2.2.0 : Sat May 16 2009 - 12:00:02 MDT