Solved

How to configure IPTables and remote Syslog on Ubuntu Server

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 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