Solved

How to configure IPTables and remote Syslog on Ubuntu Server

Posted on 2011-03-12
2
1,104 Views
Last Modified: 2012-05-11
I've got a server running Ubuntu Server 10.04.  syslog-ng has been installed on it.  I would like to configure it so it sends firewall events from IPtables to a remote syslog server.  I would also like any logon / logoff events to be sent to the remote syslog server.  How do I go about this?
0
Comment
Question by:CousinDupree
2 Comments
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 250 total points
ID: 35121257
To configure syslog-ng, please follow the following step
http://www.debianhelp.co.uk/syslog-ng.htm

0
 
LVL 12

Accepted Solution

by:
hfraser earned 250 total points
ID: 35122139
IPTables can log many different events, depending upon what you want to watch for. Here's a link to a discussion about this containing several examples showing how to send logs to syslog:

http://www.linuxquestions.org/questions/linux-security-4/iptables-logging-385165/
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now