?
Solved

How to configure IPTables and remote Syslog on Ubuntu Server

Posted on 2011-03-12
2
Medium Priority
?
1,134 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 1000 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:
Hugh Fraser earned 1000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

807 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