|
|
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 ?
Thanks a lot in advance.
Ludovic MARCILLY
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|