Wednesday, March 3, 2010

Syslog in Ubuntu

To be able to accept remote syslog message, I installed sysklog ( k in the middle isn't a typo) and changed /etc/defaults/syslog. I added -r options so syslog accepts not only local, but also remote logs.
Then just restart the syslog daemon with:
/etc/init.d/sysklogd restart
Also, we should add a rule to ufw to allow incoming connections on UDP port 514:
sudo ufw allow 514/udp

Done!

No comments:

Post a Comment