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

From: RSCL Mumbai <rscl.mumbai_at_gmail.com>
Date: Sat, 16 May 2009 11:00:57 +0530

On Sat, May 16, 2009 at 10:58 AM, Jeff Pang <pangj_at_arcor.de> wrote:
> 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.

Hmm... Any other option to route packets via specific internet g/w
based on the client IP ?

Thx
Vai
Received on Sat May 16 2009 - 05:31:05 MDT

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