Solved

How to configure IPTables and remote Syslog on Ubuntu Server

Posted on 2011-03-12
2
1,123 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.

726 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