Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
puppet-shorewall
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chris
puppet-shorewall
Commits
d97171b8
Commit
d97171b8
authored
Feb 27, 2015
by
bertagaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for the mangle table.
parent
06c50587
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
0 deletions
+29
-0
files/boilerplate/mangle.footer
files/boilerplate/mangle.footer
+1
-0
files/boilerplate/mangle.header
files/boilerplate/mangle.header
+7
-0
manifests/init.pp
manifests/init.pp
+2
-0
manifests/mangle.pp
manifests/mangle.pp
+19
-0
No files found.
files/boilerplate/mangle.footer
0 → 100644
View file @
d97171b8
#LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE
files/boilerplate/mangle.header
0 → 100644
View file @
d97171b8
#
# Shorewall - Mangle File
#
# For additional information, see http://shorewall.net/manpages/shorewall-mangle.html
#
#######################################################################################
#ACTION SOURCE DESTINATION PROTO DSTPORT SRCPORT USER TEST LENGTH TOS CONNBYTES HELPER HEADERS
manifests/init.pp
View file @
d97171b8
...
...
@@ -68,6 +68,8 @@ class shorewall(
'tunnel'
,
# See http://www.shorewall.net/MultiISP.html
'rtrules'
,
# See http://www.shorewall.net/manpages/shorewall-mangle.html
'mangle'
,
]:;
}
}
manifests/mangle.pp
0 → 100644
View file @
d97171b8
define
shorewall::mangle
(
$source
,
$destination
,
$proto
=
'-'
,
$destinationport
=
'-'
,
$sourceport
=
'-'
,
$user
=
'-'
,
$test
=
'-'
,
$length
=
'-'
,
$tos
=
'-'
,
$connbytes
=
'-'
,
$helper
=
'-'
,
$headers
=
'-'
,
$order
=
'100'
){
shorewall::entry
{
"mangle-
${order}
-
${name}
"
:
line
=>
"
${name}
${source}
${destination}
${proto}
${destinationport}
${sourceport}
${user}
${test}
${length}
${tos}
${connbytes}
${helper}
${headers}
"
}
}
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