Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
firewall
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
silver-platter
firewall
Commits
9780651a
Commit
9780651a
authored
3 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Support the "nat" table for ipv6
parent
1f6466f5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
update-firewall
+3
-3
3 additions, 3 deletions
update-firewall
with
3 additions
and
3 deletions
update-firewall
+
3
−
3
View file @
9780651a
...
@@ -164,12 +164,12 @@ load_firewall() {
...
@@ -164,12 +164,12 @@ load_firewall() {
fi
fi
trap
"rm -f
${
tmpfiles
}
2>/dev/null; trap - EXIT; exit 0"
EXIT
trap
"rm -f
${
tmpfiles
}
2>/dev/null; trap - EXIT; exit 0"
EXIT
# Setup the various tables. Note that
IPv6 only has th
e
# Setup the various tables. Note that
not all tables ar
e
#
'filter' and 'raw' tables
.
#
available for IPv6
.
for
table
in
${
TABLES
}
;
do
for
table
in
${
TABLES
}
;
do
table_dir
=
${
CONFIG_DIR
}
/
${
table
}
.d
table_dir
=
${
CONFIG_DIR
}
/
${
table
}
.d
case
"
$table
"
in
case
"
$table
"
in
filter|raw
)
filter|raw
|nat
)
run_with_fds
${
v4rules
}
${
v6rules
}
\
run_with_fds
${
v4rules
}
${
v6rules
}
\
generate
${
table
}
${
table_dir
}
generate
${
table
}
${
table_dir
}
;;
;;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment