[Openswan Users] multiple disjoint private subnets

David Mattes david.mattes at boeing.com
Mon Aug 2 12:54:58 CEST 2004


Herbert Xu wrote:

>David Mattes <david.mattes at boeing.com> wrote:
>  
>
>>How do I get all traffic to flow through the ipsec interface with a 
>>source ip address specified by leftsourceip?  I thought it would be 
>>rightsubnet=0.0.0.0/0.  If I use this description, I don't get packets 
>>leaving with the correct source address, and ip route show has the entry 
>>(should have a src address entry):
>>0.0.0.0/1 via 130.42.32.1 dev ipsec0
>>    
>>
>
>That's because updown doesn't set the source address or table when
>the route is for 0.0.0.0/0.  I don't see why that should be the case.
>So how about this patch?
>  
>
The patch worked beautifully!  Thank you.

David



More information about the Users mailing list