Skip to content

Instantly share code, notes, and snippets.

View jwsi's full-sized avatar

James Webb jwsi

View GitHub Profile
@jwsi
jwsi / issue9595.patch
Last active September 1, 2019 09:05
Fix OpenVPN GW Groups - pfSense 2.4.3-RELEASE-p3
From c46d0b12d606b2249f4b5305994e8c3e750634eb Mon Sep 17 00:00:00 2001
From: James Webb <james@ultra-horizon.com>
Date: Wed, 19 Jun 2019 14:12:30 +0100
Subject: [PATCH 1/2] Update openvpn.inc to allow OpenVPN instances to resync
when running on a gateway group.
Implementation now checks if OpenVPN client/server running on gateway group should resync when IP changes occur or if cables are unplugged/replugged.
---
src/etc/inc/openvpn.inc | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)