Header Shadow Image

DD-WRT Remote rsyslog logging

Enable rsyslog listening on server:

# cat /etc/rsyslog.d/remote.conf
# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514

# Provides TCP syslog reception
$ModLoad imtcp
$InputTCPServerRun 514

# Create a log file for each host
$template FILENAME,"/var/log/rsyslog/%fromhost%.log"

Restart rsyslogd:

service rsyslogd restart

Under the DD-WRT Services -> Services menu enable the following:

System Log
Syslogd          : Enabled
Remote Server:

(It assumes port 514, default syslogd port)




Leave a Reply

You must be logged in to post a comment.

  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License