diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-13 22:08:55 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-13 22:08:55 +0000 |
commit | 48f9d64f08071a70bd68244d8cfc564046f9c10f (patch) | |
tree | 7fb7cd5576eb6e26b80941b5b3500602726f24b5 /etc/inc | |
parent | a9f365fee633f9f567cd66d15b1dcd38b07b5556 (diff) | |
download | pfsense-48f9d64f08071a70bd68244d8cfc564046f9c10f.zip pfsense-48f9d64f08071a70bd68244d8cfc564046f9c10f.tar.gz |
Clear out setkey after enabling as instructions show.
Diffstat (limited to 'etc/inc')
-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"); } } |