blob: 2500668f5c2540f8a98e0bcd9b2b48ac0a19efd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Configure leap-mx shorewall rules
class site_shorewall::mx {
include site_shorewall::defaults
$smtpd_ports = '25,465,587'
# define macro for incoming services
file { '/etc/shorewall/macro.leap_mx':
content => "PARAM - - tcp ${smtpd_ports} ",
notify => Exec['shorewall_check'],
require => Package['shorewall']
}
shorewall::rule {
'net2fw-mx':
source => 'net',
destination => '$FW',
action => 'leap_mx(ACCEPT)',
order => 200;
}
include site_shorewall::service::smtp
}
|