$in_bandwidth = hiera('firewall::in_bandwidth', '100mbit'),
$out_bandwidth = hiera('firewall::out_bandwidth', '100mbit'),
$device_options = hiera('firewall::device_options', 'tcpflags,blacklist,routefilter,nosmurfs,logmartians'),
- $vm_address = hiera('firewall::vm_address', '192.168.0.0/24'),
- $vm_device = hiera('firewall::vm_device', false)
+ $vm_address = hiera('firewall::vm_address', '192.168.0.0/24'),
+ $vm_device = hiera('firewall::vm_device', false)
) {
class { 'shorewall': }
# Hosts
#
$real_subnet_device = $vm_device ? {
- false => $device,
+ false => $device,
default => $vm_device,
}
}
$real_masq_interface = $vm_device ? {
- false => "${device}!${vm_address}",
+ false => "${device}:!${vm_address}",
default => "${device}",
}