diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-04 21:28:36 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-04 21:28:36 +0000 |
commit | 0292d56d278ee5d1271d9972d40f77a8afc435c9 (patch) | |
tree | 497c656933d0ba1e3a03737cff4989f9b132f221 /etc/inc | |
parent | be4906cff6731a5baec916beb792e48e11f5c38b (diff) | |
download | pfsense-0292d56d278ee5d1271d9972d40f77a8afc435c9.zip pfsense-0292d56d278ee5d1271d9972d40f77a8afc435c9.tar.gz |
Setup enc sysctl's
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/system.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 8b359f3..9dcac76 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -40,6 +40,11 @@ function activate_sysctls() { mwexec("sysctl " . $tunable['tunable'] . "=\"" . $tunable['value'] . "\""); + exec("/sbin/sysctl net.enc.out.ipsec_bpf_mask=0x000002"); + exec("/sbin/sysctl net.enc.out.ipsec_filter_mask=0x000002"); + exec("/sbin/sysctl net.enc.in.ipsec_bpf_mask=0x000001"); + exec("/sbin/sysctl net.enc.in.ipsec_filter_mask=0x000001"); + } function system_resolvconf_generate($dynupdate = false) { @@ -1146,4 +1151,4 @@ function enable_watchdog() { } } -?> +?>
\ No newline at end of file |