Project

General

Profile

Actions

Bug #3255

closed

OpenVPN client or server on GWG does not failover

Added by Phillip Davis over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OpenVPN
Target version:
Start date:
10/08/2013
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:

Description

If I have a GWG "OpenVPNGWG" with WAN1=tier1, WAN2=tier2 then the initial OpenVPN client or server on "OpenVPNGWG" comes up correctly on WAN1. If WAN1 goes down, it does not failover to WAN2. Happens on systems with real NICs for WAN1 and WAN2, and systems with VLANs for WAN1 and WAN2.
Edit/Save of the OpenVPN instance will cause it to correctly evaluate the GWG state and select the best WAN.

Actions #2

Updated by Chris Buechler over 10 years ago

  • Status changed from New to Resolved

thanks!

Actions #3

Updated by Renato Botelho over 10 years ago

  • Status changed from Resolved to New

Reopen it since pull request was not merged yet

Actions #4

Updated by Phillip Davis over 10 years ago

Is the pull request, or some variation of the code in it, going to get merged some time soon?

Actions #5

Updated by Anonymous over 10 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #6

Updated by Phillip Davis over 10 years ago

Tested with the 2.1 branch version of rc.openvpn
It successfully writes new servern.conf and clientn.conf files for the new highest-tier interface/gateway when the highest is unplugged. Writes them again when the highest-tier is reconnected. OpenVPN instances fail over and back. All good.
Now I need to get rid of "killed: out of swap space" and everything would actually restart nicely - but I can't blame the lack of memory in the Alix on this code!

Actions #7

Updated by Chris Buechler over 10 years ago

  • Status changed from Feedback to New
Actions #8

Updated by Chris Buechler over 10 years ago

  • Status changed from New to Feedback

didn't realize the merge was pulled, last update I noticed was Phil's 2 days ago, back to Feedback since it's merged.

Actions #9

Updated by Phillip Davis over 10 years ago

My feedback above applies - using the version of rc.openvpn merged into the 2.1 branch. It is a good thing IMHO.
Ignore my comments about "killed: out of swap space" - just having a bad day with our main office Alix, not related to this code.

Actions #10

Updated by Renato Botelho about 10 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF