Created
July 4, 2012 09:02
-
-
Save robinsmidsrod/3046215 to your computer and use it in GitHub Desktop.
rsyslogd setup for remote logging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /etc/rsyslog.d/remote_logging.conf | |
# provides UDP syslog reception | |
$ModLoad imudp | |
$UDPServerRun 514 | |
# provides TCP syslog reception | |
$ModLoad imtcp | |
$InputTCPServerRun 514 | |
# Limits reception to our subnet | |
$AllowedSender UDP, 10.1.1.0/24 | |
$AllowedSender TCP, 10.1.1.0/24 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment