Skip to content

Instantly share code, notes, and snippets.

@arkag
Last active January 22, 2021 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arkag/252614c07c32041fbc5aa00e41a44261 to your computer and use it in GitHub Desktop.
Save arkag/252614c07c32041fbc5aa00e41a44261 to your computer and use it in GitHub Desktop.
Relay to multiple hosts
@version: 3.30
@include "scl.conf"
options {
time-reap(30);
mark-freq(10);
keep-hostname(yes);
chain-hostnames(no);
};
source s_source { syslog( ip("0.0.0.0") transport("udp") ); };
destination d_dest1 { syslog( "192.168.1.2" transport("udp") ); };
destination d_dest2 { syslog( "192.168.1.3" transport("udp") ); };
destination d_dest3 { syslog( "192.168.1.4" transport("udp") ); };
log {
source(s_source);
destination(d_dest1);
destination(d_dest2);
destination(d_dest3);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment