Roxedus 63b9b167ec
linuxserver/mods:letsencrypt-f2bdiscord - Verion lock geoip2
Quick patch to install version 3  of the geoip2 module, to keep the mod working
2020-07-26 18:30:51 +02:00
2020-02-02 15:55:44 -05:00
2020-02-02 15:55:44 -05:00
2020-02-02 15:55:44 -05:00
2020-04-09 22:59:56 +02:00
2019-05-30 20:35:20 +01:00
2020-04-09 22:59:56 +02:00

F2B Discord Notification - Docker mod which allows Fail2Ban Discord embeds

This mod enhances the Letsencrypt container adding better Fail2Ban notifications for discord.

Configuration

Enable

In letsencrypt docker arguments, set an environment variable DOCKER_MODS=linuxserver/mods:letsencrypt-f2bdiscord to enable.

Mod configuration

Environment variables used by this mod:

Discord webhook, it just need the last parts. -e DISC_HOOK=40832456738934/7DcEpWr5V24OIEIELjg-KkHky86SrOgTqA
Your discord ID. -e DISC_ME=120970603556503552
Map API Key, get a key from mapquest. -e DISC_API=YourKey

Jail configuration example

[bitwarden]

filter  = bitwarden
enabled = true
logpath = /fail2ban/bw/bitwarden.log
action  = discordEmbed[bantime=24]
          iptables-allports[name=Bitwarden]

Action arguments:

bantime(hour) is optional, but defaults to 24 when not set. Just reflects in the message, does not change the ban time

Example

Example picture

Description
No description provided
Readme 6.6 MiB
Languages
Text 100%