Configure Rsyslog client to send local logs to remote Rsyslog Server
This video shows how to quickly configure Rsyslog as client and server, on CentOS 7. Rsyslog can be configured as central log storage server to receive remote syslogs.
Configuration steps recorded in my post: https://blog.51sec.org/2019/11/rsyslog-client-and-server-configuration.html
Commands are listing here as well:
[root@rsyslog-server1 ~]# sudo yum update && yum install rsyslog
[root@rsyslog-server1 ~]# systemctl start rsyslog
[root@rsyslog-server1 ~]# systemctl enable rsyslog
[root@rsyslog-server1 ~]# systemctl status rsyslog
[root@rsyslog-server1 ~]# setenforce Permissive
[root@rsyslog-server1 ~]# systemctl disable firewalld
[root@rsyslog-server1 ~]# systemctl stop firewalld
[root@rsyslog-server1 ~]# vim /etc/rsyslog.conf
# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
# Provides TCP syslog reception
$ModLoad imtcp
$InputTCPServerRun 514
$template RemoteLogs,”/var/log/%HOSTNAME%/%PROGRAMNAME%.log”
*.* ?RemoteLogs
& ~
[root@rsyslog-server1 ~]# systemctl restart rsyslog
====================================================================
If you found this video has some useful information, please give me a thumb up or
subscribe me to get more updates: https://www.youtube.com/c/Netsec?sub_confirmation=1
—————————————————————————————————————————————
Learning and Sharing all kinds of Cyber Security Knowledge for Cloud, Vulnerability Assessment, Risk Assessment, Threat Hunting, Policy Compliance, SIEM, Cisco, Checkpoint, F5, Juniper, Fortigate, Palo Alto, Vmware etc. – 海内存知己,天涯若比邻
http://51sec.org
by NetSec
windows server dns forwarder
Thank you sir, this video was helpful.
@Johnny Netsec I have added rsyslog server ip in sophos xg firewall, im getting logs in an unreadable format
@Johnny Netsec Can you share the video Configure Rsyslog client n windows servers to send local logs to remote Rsyslog Server in windows servers
Hello, and how would you recommend sending the logs of a Windows role to the syslog?
Hi sir 😭 I have this IP Details from ISP WAN : 85.86.87.2/30
Subnetmask : 255.255.255.252
Default Gateway to ISP: 85.86.87.1
LAN POOL : 117.197.102.180 to 117.197.102.187
Subnet :- 255.255.255.248
How to configure in Cisco Router Help me plz sir…