[Openswan Users] openswan and two internet links

Paul Wouters paul at xelerance.com
Thu Feb 22 14:31:39 EST 2007


On Thu, 22 Feb 2007, Mitja wrote:

> VPNs over ISP1 works well, but some tunnels I want over ISP2 (link2).
> In that case, openswan creates reverse route to default gateway and not
> to isp2_gateway.
>
> How can I solve this (except delete created route and manualy add right
> route to isp2_gateway for link2)?
>
> conn link1 <- works OK
>         left=isp1
>         leftnexthop=isp1_gateway
>         leftsubnet=192.168.1.0/24
> ...
>
>
> conn link2 <- wrong revese route is created
>         left=isp2
>         leftnexthop=isp2_gateway
>         leftsubnet=192.168.1.0/24

That should work.

> OS = RHEL4, openswan 2.4.7

Can you post an "ipsec barf"?

Paul
-- 
Building and integrating Virtual Private Networks with Openswan:
http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155


More information about the Users mailing list