User Tools

Site Tools


info:firewall

This is an old revision of the document!


Firewall

This section describes setting up a firewall on a Debian system.

Logging

iptable-based firewalls can log actions to rsyslog. To redirect them to a different file other than /var/log/messages, add the file /etc/rsyslog.d/firewall.conf with the following content:

# Redirect firewall messages to /var/log/firewall.log
:msg, contains, "FW RULE" /var/log/firewall.log
& ~

This assumes that all firewall messages contain the text FW RULE.

info/firewall.1311516031.txt.gz · Last modified: 2011/07/24 16:00 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki