[Openswan Users] Routing to/from a vpn

Paul Wouters paul at xelerance.com
Sat Jun 13 07:10:56 EDT 2009


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