Révision c02d1b07
add a few more rules
manifests/rules/smtp.pp | ||
---|---|---|
1 |
# manage in smtp |
|
2 |
class nftables::rules::smtp { |
|
3 |
nftables::rule{ |
|
4 |
'default_in-smtp': |
|
5 |
content => 'tcp dport 25 accept', |
|
6 |
} |
|
7 |
} |
manifests/rules/smtp_submission.pp | ||
---|---|---|
1 |
# manage in smtp submission |
|
2 |
class nftables::rules::smtp_submission { |
|
3 |
nftables::rule{ |
|
4 |
'default_in-smtp_submission': |
|
5 |
content => 'tcp dport 587 accept', |
|
6 |
} |
|
7 |
} |
manifests/rules/smtps.pp | ||
---|---|---|
1 |
# manage in smtps |
|
2 |
class nftables::rules::smtps { |
|
3 |
nftables::rule{ |
|
4 |
'default_in-smtps': |
|
5 |
content => 'tcp dport 465 accept', |
|
6 |
} |
|
7 |
} |
Formats disponibles : Unified diff