mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add a function to forcefully reload VPN on wan ip change.
This commit is contained in:
parent
ebfdf0cc26
commit
8de68a2cd9
@ -81,7 +81,7 @@ if($old_ip) {
|
||||
}
|
||||
|
||||
/* reconfigure IPsec tunnels */
|
||||
vpn_ipsec_configure(true);
|
||||
vpn_ipsec_force_reload();
|
||||
|
||||
/* start OpenVPN server & clients */
|
||||
exec("killall -HUP openvpn 2>/dev/null");
|
||||
@ -132,4 +132,4 @@ log_error("Configuring slbd");
|
||||
|
||||
return 0;
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user