IPv4 and IPv6 Reception with rsyslog

Back in the day, when you wanted to change the default protocols rsyslog would listen on, you would modify the /etc/default/rsyslog file, and set the RSYSLOGD_OPTIONS variable accordingly.

In rsyslog 8.x, this has changed, now, we control these parameters through the main rsyslog configuration file, and in within the global parameters.

For instance, if we wanted to only listen on IPv6, then we would add the following lines to the main rsyslog configuration.

# vi /etc/rsyslog.conf

global(
    net.ipprotocol="ipv4-only"
)

Reference: https://www.rsyslog.com/doc/v8-stable/rainerscript/global.html

Comments

Popular posts from this blog

Webex Support with Windows 7

Upgrading to the Marlin firmware on the Anycubic Mega S

Installing TinyCore 8x Linux to the Hard Drive via Command Line