iptables logging

Post Reply
Message
Author
Flo

iptables logging

#1 Post by Flo »

Hallo,

ich setzte für meine Firewall folgenden Log-Befehl ein:

iptables -A FORWARD -m limit --limit 3/minute --limit-burst 3 -j LOG

Das funktioniert ganz gut, nur erscheinen die Meldungen auf jeder beliebigen Konsole, egabl ob ich gerade mit vim eine Textdatei editire oder Mails schreibe. Ist es möglich die Log-Meldungen auf eine bestimmte Konsole, also z.B. auf /dev/tty10 zu "verbannen"?

Danke
Flo

andi

Re: iptables logging

#2 Post by andi »

Note that it is not a iptables or netfilter problem in case you get your logs to the consoles or likely, but instead a problem of your syslogd configuration which you may find in /etc/syslog.conf. Read more in man syslog.conf for information about these kind of problems

flo2
Posts: 46
Joined: 27. May 2002 21:28

Re: iptables logging

#3 Post by flo2 »

Hallo,

danke für den Tipp. Werde mir gleich mal meine syslog.conf anschauen.

MfG
Flo

Post Reply