blob: cd404e7c6098d5ecda63813df26e6b41d7cc3919 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
define shorewall::mangle(
$source,
$destination,
$action = $name,
$proto = '-',
$destinationport = '-',
$sourceport = '-',
$user = '-',
$test = '-',
$length = '-',
$tos = '-',
$connbytes = '-',
$helper = '-',
$headers = '-',
$order = '100'
){
shorewall::entry{"mangle-${order}-${name}":
line => "${action} ${source} ${destination} ${proto} ${destinationport} ${sourceport} ${user} ${test} ${length} ${tos} ${connbytes} ${helper} ${headers}"
}
}
|