rule => '&SERVICE_RANGE(tcp, 3493, ( 82.195.75.64/26 192.168.43.0/24 ))'
}
}
- draghi: {
- ferm::rule { 'dsa-finger':
- domain => '(ip ip6)',
- description => 'Allow finger access',
- rule => '&SERVICE(tcp, 79)'
- }
- ferm::rule { 'dsa-ldap':
- domain => '(ip ip6)',
- description => 'Allow ldap access',
- rule => '&SERVICE(tcp, 389)'
- }
- ferm::rule { 'dsa-ldaps':
- domain => '(ip ip6)',
- description => 'Allow ldaps access',
- rule => '&SERVICE(tcp, 636)'
- }
- }
default: {}
}
mail_user => 'mail_db',
mail_group => 'nogroup',
}
+
+ ferm::rule::simple { 'finger':
+ port => 'finger',
+ }
+ ferm::rule::simple { 'ldap':
+ port => ['ldap', 'ldaps'],
+ }
}