OP#561 add source range

This commit is contained in:
2026-04-05 15:26:08 +02:00
parent 52c1bcc747
commit 9729f09388
2 changed files with 4 additions and 1 deletions

View File

@@ -9,9 +9,10 @@ class confdroid_ssh::firewall::iptables (
if $ssh_use_firewall {
firewall { "${ssh_fw_order}${ssh_fw_port} allow SSH on port ${ssh_fw_port}":
ensure => 'present',
jump => 'accept',
proto => 'tcp',
source => $ssh_source_range,
dport => $ssh_fw_port,
jump => 'accept',
}
}
}