Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
50f2ffad
Commit
50f2ffad
authored
Feb 18, 2017
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ipsec: filtertunnel kind of helps, but is the wrong approach
parent
99c71c85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
system.inc
src/etc/inc/system.inc
+4
-6
No files found.
src/etc/inc/system.inc
View file @
50f2ffad
...
...
@@ -130,12 +130,10 @@ function activate_sysctls()
global
$config
;
$sysctls
=
array
(
'net.inet.ipsec.filtertunnel'
=>
'1'
,
'net.inet6.ipsec6.filtertunnel'
=>
'1'
,
'net.enc.in.ipsec_bpf_mask'
=>
'0x0002'
,
'net.enc.in.ipsec_filter_mask'
=>
'0x0002'
,
'net.enc.out.ipsec_bpf_mask'
=>
'0x0001'
,
'net.enc.out.ipsec_filter_mask'
=>
'0x0001'
,
'net.enc.in.ipsec_bpf_mask'
=>
'2'
,
/* after processing */
'net.enc.in.ipsec_filter_mask'
=>
'2'
,
/* after processing */
'net.enc.out.ipsec_bpf_mask'
=>
'1'
,
/* before processing */
'net.enc.out.ipsec_filter_mask'
=>
'1'
,
/* before processing */
);
if
(
isset
(
$config
[
'sysctl'
][
'item'
]))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment