Quote:
Originally Posted by AwesomeMachine
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.
|
You´re right. The issue was the status of
service syslog-ng. When I started the service, it works:
Code:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:199 0.0.0.0:* LISTEN 2887/snmpd
tcp 0 0 127.0.0.1:39084 0.0.0.0:* LISTEN 2760/pbx_exchange
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2645/portmap
tcp 0 0 0.0.0.0:753 0.0.0.0:* LISTEN 2691/rpc.statd
tcp 0 0 0.0.0.0:1556 0.0.0.0:* LISTEN 2760/pbx_exchange
tcp 0 0 127.0.0.1:1557 0.0.0.0:* LISTEN 2760/pbx_exchange
tcp 0 0 0.0.0.0:13782 0.0.0.0:* LISTEN 2950/bpcd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2908/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3008/sendmail: acce
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 17748/0
tcp 0 0 0.0.0.0:13724 0.0.0.0:* LISTEN 2947/vnetd
tcp 0 0 127.0.0.1:58975 127.0.0.1:39084 ESTABLISHED 2947/vnetd
tcp 0 0 127.0.0.1:58977 127.0.0.1:39084 ESTABLISHED 2950/bpcd
tcp 0 0 127.0.0.1:39084 127.0.0.1:58975 ESTABLISHED 2760/pbx_exchange
tcp 0 0 127.0.0.1:39084 127.0.0.1:58977 ESTABLISHED 2760/pbx_exchange
tcp 0 300 172.30.190.6:22 10.59.200.29:60432 ESTABLISHED 17743/sshd: x000804
udp 0 0 0.0.0.0:514 0.0.0.0:* 17265/syslog-ng
udp 0 0 0.0.0.0:161 0.0.0.0:* 2887/snmpd
udp 0 0 0.0.0.0:747 0.0.0.0:* 2691/rpc.statd
udp 0 0 0.0.0.0:750 0.0.0.0:* 2691/rpc.statd
udp 0 0 0.0.0.0:111 0.0.0.0:* 2645/portmap
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.