Use nftables in rsyslog.
This commit is contained in:
parent
a80d15cf51
commit
ab5fd41c43
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ class soc::rsyslog(
|
|||
if ($tcp_port or $udp_port) {
|
||||
|
||||
if ($udp_port) {
|
||||
sunet::nft::allow { "allow-syslog-udp-${udp_port}":
|
||||
sunet::nftables::allow { "allow-syslog-udp-${udp_port}":
|
||||
from => $udp_client,
|
||||
ip => 'any',
|
||||
proto => 'udp',
|
||||
|
@ -69,7 +69,7 @@ class soc::rsyslog(
|
|||
}
|
||||
|
||||
if ($tcp_port) {
|
||||
sunet::nft::allow { "allow-syslog-tcp-${tcp_port}":
|
||||
sunet::nftables::allow { "allow-syslog-tcp-${tcp_port}":
|
||||
from => $tcp_client,
|
||||
ip => 'any',
|
||||
proto => 'tcp',
|
||||
|
|
Loading…
Add table
Reference in a new issue