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