summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.newwanip6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 4735994..97e3916 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -95,6 +95,9 @@ setup_gateways_monitor();
/* signal filter reload */
filter_configure();
+/* start OpenVPN server & clients */
+openvpn_resync_all($interface);
+
if (is_ipaddr($oldip) && $curwanip == $oldip)
exit;
@@ -107,9 +110,6 @@ services_dyndns_configure($interface);
/* reconfigure IPsec tunnels */
vpn_ipsec_force_reload();
-/* start OpenVPN server & clients */
-openvpn_resync_all($interface);
-
/* reload graphing functions */
enable_rrd_graphing();
OpenPOWER on IntegriCloud