summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-12-16 10:12:29 -0500
committerjim-p <jimp@pfsense.org>2010-12-16 10:12:29 -0500
commitebbae443c70a6428e1e00e8a58ca4bdddd9d9741 (patch)
treec5fab17357ebfd8a64f75d097b3d82f59337fa37
parentb7c38b2ef9ae1806672df79d9f19694067148657 (diff)
downloadpfsense-ebbae443c70a6428e1e00e8a58ca4bdddd9d9741.zip
pfsense-ebbae443c70a6428e1e00e8a58ca4bdddd9d9741.tar.gz
Move these back, it may not play nice with DHCP renews
-rwxr-xr-xetc/rc.newwanip12
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();
OpenPOWER on IntegriCloud