[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Re-2: Load balanced vpn


  • Subject: [Openvpn-users] Re-2: Load balanced vpn
  • From: "Ludovic MARCILLY" <lmarcilly@xxxxxxxxx>
  • Date: Tue, 28 Aug 2007 12:03:47 +0000
  • Importance: normal
  • Priority: normal

thanks for your answer. how can i tunnel GRE in my openvpn tunnel ?

-------- Original Message --------
Subject: Re: [Openvpn-users] Load balanced vpn (28-août-2007 12:48)
From:    Erich Titl <erich.titl@xxxxxxxx>
To:      lmarcilly@xxxxxxxxx

> Ludovic
> 
> Ludovic MARCILLY wrote:
> > Hi all,
> > 
> > i'm using openvpn and it works well.
> > Now i want to do this kind of things:
> > 
> >                   LAN 1
> >                     |
> >                     |
> > 
> >               [Linux box + openvpn]
> >                   |             |  
> >               [Router 1]     [Router 2]
> >                   |             |
> >             [------ INTERNET -------]                  
> >                   |             |
> >               [Router 3]     [Router 4]
> >                   |             |
> >               [Linux box + openvpn]
> >                      |
> >                      |
> >                  LAN2
> > 
> > 
> > I want to create two vpn:
> >  - the first one passing through Router 1 - Router 3
> >  - the second one passing through Router 2 - Router 4
> > 
> > By using original openvpn, it will add two routes on each openvpn linux box.
> >  What i want to do is the following: i want to delete route if the other 
> > endpoints of the vpn is not reachable in order to "load balance" vpn.
> > 
> > For example, use by default the Router 1 - Router 3 vpn and if i can't 
> > reach LAN2 from LAN1 via this vpn, delete the route and add the route 
> > corresponding to vpn passing through Router 2 - Router 4.
> > 
> > First question: is there any possibily to configure this kind of thing (or 
> > similar thing) with openvpn ? 
> > Second question: if i simply write a C program which try to ping the other 
> > endpoint of the vpn and change the route, will it work ?
> 
> You might be better off by using something like eql on the two tunnels,
> should that not be possible with OpenVPN then tunneling GRE through the
> OpenVPN tunnels and combining those with eql. Then you can route your
> traffig using a single route and switch by just setting one or the other
> GRE tunnel down.
> 
> cheers
> 
> Erich


To: erich.titl@xxxxxxxx
Cc: openvpn-users@xxxxxxxxxxxxxxxxxxxxx



____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users