summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-04 21:28:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-04 21:28:36 +0000
commit0292d56d278ee5d1271d9972d40f77a8afc435c9 (patch)
tree497c656933d0ba1e3a03737cff4989f9b132f221 /etc/inc
parentbe4906cff6731a5baec916beb792e48e11f5c38b (diff)
downloadpfsense-0292d56d278ee5d1271d9972d40f77a8afc435c9.zip
pfsense-0292d56d278ee5d1271d9972d40f77a8afc435c9.tar.gz
Setup enc sysctl's
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/system.inc7
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
OpenPOWER on IntegriCloud