net-ops/global/overlay/etc/puppet/modules/net/manifests/open_1022.pp

11 lines
195 B
ObjectPascal
Raw Normal View History

2025-02-26 07:14:54 +01:00
class net::open_1022 {
2025-03-29 19:45:44 +01:00
$mgmt_addresses = hiera_array('mgmt_addresses',[])
sunet::nftables::allow { 'allow_ssh_1022':
from => $mgmt_addresses,
2025-02-26 07:14:54 +01:00
port => '1022',
2025-03-29 19:45:44 +01:00
proto => 'tcp'
2025-02-26 07:14:54 +01:00
}
}