Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
iptables_logging [2015/08/25 14:15]
admin [Instellen van logging]
iptables_logging [2015/08/25 14:15] (current)
Line 15: Line 15:
 # Voorbeeld log & drop # Voorbeeld log & drop
 iptables -N logdrop iptables -N logdrop
-iptables -A logdrop -m limit --limit 5/m --limit-burst 10 -j LOG+iptables -A logdrop -m limit --limit 5/m --limit-burst 10 -j LOG --log-prefix "[invalid] "
 iptables -A logdrop -j DROP iptables -A logdrop -j DROP
 iptables -A INPUT -m conntrack --ctstate INVALID -j logdrop iptables -A INPUT -m conntrack --ctstate INVALID -j logdrop
iptables_logging.txt ยท Last modified: 2015/08/25 14:15 by admin