Skip to content

Instantly share code, notes, and snippets.

@robinsmidsrod
Created July 4, 2012 09:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save robinsmidsrod/3046215 to your computer and use it in GitHub Desktop.
Save robinsmidsrod/3046215 to your computer and use it in GitHub Desktop.
rsyslogd setup for remote logging
$ 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