User Tools

Site Tools


OAuth: login failed No such service Facebook
info:firewall

Firewall

This section describes setting up a firewall on a Debian system. A useful and simple tool to generate firewalls is fwbuilder. Debian packages are available in current distributions.

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.txt · Last modified: 2011/07/24 16:03 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki