diff options
author | jim-p <jimp@pfsense.org> | 2010-12-16 09:55:54 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-12-16 09:55:54 -0500 |
commit | 4d3367b18996f5498aebedbb130e240f3c9e1bdf (patch) | |
tree | 36c64914d7ee1024c6ecf5272fabe3daa11fea25 | |
parent | 451e4a05edd8f1a65dde0e32f7d6015c3c20cfcb (diff) | |
download | pfsense-4d3367b18996f5498aebedbb130e240f3c9e1bdf.zip pfsense-4d3367b18996f5498aebedbb130e240f3c9e1bdf.tar.gz |
OpenVPN needs resync even if the IP did not change, because the IP may have disappeared and caused it to exit.
-rwxr-xr-x | etc/rc.newwanip | 6 |
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(); |