Otherwise it does its filtering before we've permitted loopback, and
stuff could get very bad.
m4_divert(36)m4_dnl
###--------------------------------------------------------------------------
m4_divert(36)m4_dnl
###--------------------------------------------------------------------------
-### Standard loopback stuff.
## Don't clobber local traffic
run ip46tables -A INPUT -i lo -j ACCEPT
## Don't clobber local traffic
run ip46tables -A INPUT -i lo -j ACCEPT
+## Add a hook for fail2ban.
+clearchain fail2ban
+run ip46tables -A INPUT -j fail2ban
+
m4_divert(90)m4_dnl
###--------------------------------------------------------------------------
### Finishing touches.
m4_divert(90)m4_dnl
###--------------------------------------------------------------------------
### Finishing touches.