mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Allow tcpdump by default on enc. There is no measurable performance impact, and it's annoying to flip the sysctls to allow when needed.
This commit is contained in:
parent
1213235ce2
commit
ace6d864a3
@ -100,9 +100,9 @@ function vpn_ipsec_configure($ipchg = false) {
|
||||
mwexec("/sbin/ifconfig enc0 create", true);
|
||||
mwexec("/sbin/ifconfig enc0 up", true);
|
||||
|
||||
exec("/sbin/sysctl net.enc.out.ipsec_bpf_mask=0x00000000");
|
||||
exec("/sbin/sysctl net.enc.out.ipsec_bpf_mask=0x00000001");
|
||||
exec("/sbin/sysctl net.enc.out.ipsec_filter_mask=0x00000001");
|
||||
exec("/sbin/sysctl net.enc.in.ipsec_bpf_mask=0x00000000");
|
||||
exec("/sbin/sysctl net.enc.in.ipsec_bpf_mask=0x00000002");
|
||||
exec("/sbin/sysctl net.enc.in.ipsec_filter_mask=0x00000002");
|
||||
|
||||
/* get the automatic /etc/ping_hosts.sh ready */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user