$local_net = hiera('firewall::local_net', false),
$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_device = hiera('firewall::vm_device', false),
+ $ssh = hiera('firewall::ssh', 'ACCEPT'),
) {
class { 'shorewall': }
# Rules
#
shorewall::rule { 'ssh':
- action => 'SSH/ACCEPT',
+ action => "SSH/${ssh}",
source => 'net',
destination => '$FW',
proto => '-',