Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Commit 146e2ae

Browse files
authored
Revert "Move LAN subnet ignore back to conf"
This reverts commit fd66f02.
1 parent fd66f02 commit 146e2ae

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

root/defaults/fail2ban/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ This example uses `apprise-api` for notifications, `cloudflare` for additional w
1414

1515
```ini
1616
[DEFAULT]
17+
# Prevents banning LAN subnets
18+
ignoreip = 127.0.0.1/8 ::1
19+
10.0.0.0/8
20+
172.16.0.0/12
21+
192.168.0.0/16
22+
1723
# Change the default ban action from "iptables-multiport", which causes issues on some platforms, to "iptables-allports".
1824
#banaction = %(banaction_allports)s
1925

root/defaults/fail2ban/jail.conf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,7 @@ before = paths-lsio.conf
9090
# "ignoreip" can be a list of IP addresses, CIDR masks or DNS hosts. Fail2ban
9191
# will not ban a host which matches an address in this list. Several addresses
9292
# can be defined using space (and/or comma) separator.
93-
# lsio value
94-
# Prevents banning LAN subnets
95-
ignoreip = 127.0.0.1/8 ::1
96-
10.0.0.0/8
97-
172.16.0.0/12
98-
192.168.0.0/16
93+
#ignoreip = 127.0.0.1/8 ::1
9994

10095
# External command that will take an tagged arguments to ignore, e.g. <ip>,
10196
# and return true if the IP is to be ignored. False otherwise.

0 commit comments

Comments
 (0)