diff options
-rwxr-xr-x | etc/rc.newwanip | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index f6df2e3..4735994 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -95,12 +95,6 @@ setup_gateways_monitor(); /* signal filter reload */ filter_configure(); -/* start OpenVPN server & clients */ -openvpn_resync_all($interface); - -/* reconfigure IPsec tunnels */ -vpn_ipsec_force_reload(); - if (is_ipaddr($oldip) && $curwanip == $oldip) exit; @@ -110,6 +104,12 @@ services_dnsupdate_process($interface); /* signal dyndns update */ 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(); |