Skip to contentSkip to conversation

Iptables Logs

DISCUSSION Rodolphe CARMIGNANI 1 participant 1 message Oct 28, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,

I want to log my Iptables logs in /var/log/firewall

In my syslog.conf I put
# Firewall Logs
kern.=debug /var/log/firewall

One of my iptables rules, for example:
iptables -A INPUT -p UDP -i ${UPLINK} -j LOG -m limit --limit 1/s --log-level debug --log-prefix "[UDP]"

It works, but when I type dsmg I can see LOG lines too, and I don't want to.

Any ideas ? What should I change ?

Thanxx

RC