Mailinglist Archive: opensuse-security (670 mails)

< Previous Next >
RE: [suse-security] IPTables - Logging
  • From: "Reckhard, Tobias" <tobias.reckhard@xxxxxxxxxxx>
  • Date: Wed, 28 Nov 2001 13:31:58 +0100
  • Message-id: <96C102324EF9D411A49500306E06C8D1A56C5D@xxxxxxxxxxxxxxxxx>
> I still don't know how to log traffic on a specific interface
> ( eg eth0 )

Well, RTFM. ;-) http://netfilter.samba.org/unreliable-guides/

And try the following:
iptables -A INPUT -i eth0 -j LOG
iptables -A FORWARD -i eth0 -j LOG
iptables -A FORWARD -o eth0 -j LOG
iptables -A OUTPUT -o eth0 -j LOG

HTH
Tobias

< Previous Next >
This Thread
  • No further messages