#
# Traffic shapping
#
- shorewall::tcdevices { "eth0":
+ shorewall::tcdevices { "${device}":
in_bandwidth => "$in_bandwidth",
out_bandwidth => "$out_bandwidth",
}
shorewall::tcclasses { "ssh":
order => "1",
- interface => "eth0",
+ interface => "${device}",
rate => "4*full/100",
ceil => "full",
priority => "1",
shorewall::tcclasses { "default":
order => "2",
- interface => "eth0",
+ interface => "${device}",
rate => "6*full/100",
ceil => "full",
priority => "2",