IPTables
Erek Dyskant
erek at nbtsc.org
Thu Jan 29 20:41:46 EST 2004
Hi-
Iptables doesn't log by default, except for broad statistical
information available with iptables -lv
In order to get it to log, you have to specify a LOG target
before each thing you want to log, i.e.:
iptables -A INPUT -p tcp -s black.listed.ip -j LOG
iptables -A INPUT -p tcp -s black.listed.ip -j REJECT
see the iptables manpage for a few more logging options. The log
file is sent to syslog, and generally winds up in /var/log/messages
Regards,
Erek
>
> Also where are the logs going to be created from iptables?
>
> Thanks,
> -Frank
>
More information about the nflug
mailing list