Solved

How to configure IPTables and remote Syslog on Ubuntu Server

Posted on 2011-03-12
2
1,121 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

Suggested Solutions

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

737 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