diff options
-rw-r--r-- | etc/inc/vpn.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index eebe31f..b7b596a 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -93,7 +93,8 @@ function vpn_ipsec_configure($ipchg = false) { if(stristr($dmesg_boot, "ACE") == true) { echo "[VIA Padlock] "; mwexec("/sbin/kldload padlock"); - mwexec("sysctl net.inet.ipsec.crypto_support=1"); + mwexec("/sbin/sysctl net.inet.ipsec.crypto_support=1"); + mwexec("/usr/sbin/setkey -F;/usr/sbin/setkey -FP"); } } |