[Openswan Users] Routing to/from a vpn

Jason Brooks jason at petting-zoo.org
Sat Jun 13 09:20:04 EDT 2009


Does that mean that adding the ipsec policy will automatically add  
this route for me?  Will I see it in the routing table?

--jason

On Jun 13, 2009, at 4:10 AM, Paul Wouters wrote:

> On Fri, 12 Jun 2009, Jason Brooks wrote:
>
>> I think I was wondering what the tunnel on one of the gateways  
>> would look like.  For instance, the "ifconfig" command shows an  
>> ipsec "device".  I could then make a route table entry such as:
>>
>> route add -net 172.31.0.0 -netmask 255.255.0.0 dev ipsec1
>
> That will fail, because there is no IPsec policy for 172.31.0.0/16.  
> Unless
> you configured an ipsec policy for it, in which case you shouldn't  
> need
> to manually route anything.
>
> Paul



More information about the Users mailing list