On Sat, May 16, 2009 at 10:58 AM, Jeff Pang <pa...@arcor.de> wrote:
> RSCL Mumbai:
>>
>> On Sat, May 16, 2009 at 9:50 AM, Jeff Pang <pa...@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

Reply via email to