}
}
-define firewall::router::munin($destination, $port_orig, $port_dest = '', $zone = 'loc') {
+define firewall::router::munin($destination, $port_orig, $port_dest = '', $zone = 'loc', $order = '400') {
shorewall::rule { "munin-$name":
action => 'DNAT',
source => 'all',
proto => 'tcp',
destinationport => "$port_orig",
ratelimit => '-',
+ order => $order,
}
}
}
}
-define firewall::vserver::munin($destination, $port_orig, $port_dest = '') {
+define firewall::vserver::munin($destination, $port_orig, $port_dest = '', $order = '400') {
shorewall::rule { "munin-$name-1":
action => 'DNAT',
source => 'net',
proto => 'tcp',
destinationport => "$port_orig",
ratelimit => '-',
+ order => $order,
}
shorewall::rule { "munin-$name-2":
destinationport => "$port_orig",
originaldest => "$ipaddress",
ratelimit => '-',
+ order => $order,
}
}