How to configure IPTables and remote Syslog on Ubuntu Server

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?

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/

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.: