Fixes for nftables in rsyslog.

This commit is contained in:
Johan Björklund 2025-02-20 13:52:13 +01:00
parent ab5fd41c43
commit 997001e539
Signed by: bjorklund
GPG key ID: 5E8401339C7F5037

View file

@ -62,7 +62,7 @@ class soc::rsyslog(
if ($udp_port) {
sunet::nftables::allow { "allow-syslog-udp-${udp_port}":
from => $udp_client,
ip => 'any',
to => 'any',
proto => 'udp',
port => $udp_port
}
@ -71,7 +71,7 @@ class soc::rsyslog(
if ($tcp_port) {
sunet::nftables::allow { "allow-syslog-tcp-${tcp_port}":
from => $tcp_client,
ip => 'any',
to => 'any',
proto => 'tcp',
port => $tcp_port
}