Skip to content

Instantly share code, notes, and snippets.

@ricferr
Created August 21, 2020 13:20
Show Gist options
  • Save ricferr/1864e4169c5d08a5d2809ed070604f4e to your computer and use it in GitHub Desktop.
Save ricferr/1864e4169c5d08a5d2809ed070604f4e to your computer and use it in GitHub Desktop.
Use rsyslog to redirect UDP syslog to TCP
$ModLoad imtcp
$ModLoad imudp
# Remote Logging
$RuleSet remote
*.* ?RemoteHost
# Send messages we receive to TCP
*.* @@127.0.0.1:1514
### Listeners
$InputUDPServerBindRuleset remote
$UDPServerRun 514
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment