Hi,
I'm a Linux noob. I'm trying to setup CentOS as a syslog server for all of my devices on my LAN (primarily routers & switches). I followed this post:
https://www.tecmint.com/create-centrali ... -centos-7/
and have just pointed a switch to the ip address of my CentOS box. However, I'm not getting any log files built. I know this switch sends a syslog message every time a succesful/unsuccessful login event occurs and I've done this.
I see the CentOS box is listening on port 514:
[root@CentOSVM log]# netstat -tulpn | grep rsyslog
tcp 0 0 0.0.0.0:514 0.0.0.0:* LISTEN 1076/rsyslogd
tcp6 0 0 :::514 :::* LISTEN 1076/rsyslogd
udp 0 0 0.0.0.0:514 0.0.0.0:* 1076/rsyslogd
udp6 0 0 :::514 :::* 1076/rsyslogd
[root@CentOSVM log]#
Any ideas what might be going on?
thanks
Greg
RSyslog
Re: RSyslog
Did you tell firewalld to allow udp port 514 from your remote devices? You'd need to run something like firewall-cmd --add-service=syslog and then the same again with --permanent to make it stick over a reboot/restart.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: RSyslog
I had NOT done that, but did do it just now, still no dice