Iptables

From KeegansWiki
Revision as of 06:33, 18 October 2011 by Keegan (talk | contribs) (Created page with "=Enable logging= /sbin/iptables -A INPUT -m limit --limit 15/minute -j LOG --log-level 7 --log-prefix "Iptables Dropped: " /sbin/iptables -A OUTPUT -m limit --limit 15/minute -...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Enable logging

/sbin/iptables -A INPUT -m limit --limit 15/minute -j LOG --log-level 7 --log-prefix "Iptables Dropped: "
/sbin/iptables -A OUTPUT -m limit --limit 15/minute -j LOG --log-level 7 --log-prefix "Iptables Dropped: "