}
}
- @ferm::rule { 'dsa-bacula-fd-v4':
- domain => '(ip)',
+ @ferm::rule { 'dsa-bacula-fd':
+ domain => '(ip ip6)',
description => 'Allow bacula access from storage and director',
- rule => "proto tcp mod state state (NEW) dport (${bacula_client_port}) saddr (${bacula_director_ip}) ACCEPT",
+ rule => "proto tcp mod state state (NEW) dport (${bacula_client_port}) saddr (${bacula_director_ip_addrs}) ACCEPT",
}
-
- #@ferm::rule { 'dsa-bacula-fd-v6':
- # domain => '(ip6)',
- # description => 'Allow bacula access from storage and director',
- # rule => "proto tcp mod state state (NEW) dport (bacula-fd) saddr (${bacula_director_ip6}) ACCEPT",
- #}
}
$bacula_pool_name = 'debian'
# use IP address for ferm.
- $bacula_director_ip = '5.153.231.19'
+ $bacula_director_ip_addrs = '5.153.231.19 2001:41c8:1000:21::21:19'
$bacula_director_address = 'dinis.debian.org'
$bacula_director_port = 9101
$bacula_storage_address = 'storace.debian.org'