Rsyslog firewall Regel: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Prevent rsyslog logging to /var/log/syslog= ==iptables== *10-iptables.conf if $msg contains '-iptables-' then /var/log/firewall & ~ ==nftables== *10-nftabl…“)
(kein Unterschied)

Version vom 1. März 2023, 08:16 Uhr

Prevent rsyslog logging to /var/log/syslog

iptables

  • 10-iptables.conf
if $msg contains '-iptables-' then /var/log/firewall
& ~

nftables

  • 10-nftables.conf
if $msg contains '-nftables-' then /var/log/firewall
& ~