Commit c76f342e authored by mh's avatar mh
Browse files

add more rules

parent 725712c2
# manage incoming imap
class firewall::rules::imap {
include firewall
if $firewall::use_nftables {
nftables::rule {
'default_in-imap':
content => 'tcp dport {143, 993} accept',
}
} else {
include shorewall::rules::imap
}
}
# manage incoming managesieve
class firewall::rules::managesieve {
include firewall
if $firewall::use_nftables {
nftables::rule {
'default_in-managesieve':
content => 'tcp dport 4190 accept',
}
} else {
include shorewall::rules::managesieve
}
}
# outgoing managesieve
class firewall::rules::out::managesieve {
include firewall
if $firewall::use_nftables {
nftables::rule {
'default_out-managesieve':
content => 'tcp dport 4190 accept',
}
} else {
include shorewall::rules::out::managesieve
}
}
# manage incoming pop3
class firewall::rules::pop3 {
include firewall
if $firewall::use_nftables {
nftables::rule {
'default_in-pop3':
content => 'tcp dport {110, 995} accept',
}
} else {
include shorewall::rules::pop3
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment