add listen port 514 for syslog
Hi everyone!
I need configure one host to keep the logs of other hosts. But when I try to do that...some issues appear... How can I add the port 514 to LISTEN on IPTABLES? My iptables: Code:
[root@MACHINE1]# iptables --list My netstat: Code:
Active Internet connections (servers and established) Thanks in advance |
I don't think iptables is the problem, since it allows everything. Netstat shows nothing listeningon 514. Even if iptables blocked everything, if you configure something to listen on a certain port, it will still show up in netstat.
So, you need to configure the syslog daemon on each client to send the output to port 514 and the IP of the remote machine. Then you have to configure the syslog daemon on the remote machine to receive the output of the other machines. Usually enabling remote logging will take care of the details. |
Quote:
Code:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name udp 0 0 0.0.0.0:514 0.0.0.0:* 17265/syslog-ng I need sleep, thank you! I appreciate your time and sorry for my stupid mistake. |
All times are GMT -5. The time now is 06:40 PM. |