Skip to content

fail2ban not working #2327

@jlim0930

Description

@jlim0930

Subject

Other - fail2ban

Description

I've just deployed docker-mailserver - Super nice!

I see that fail2ban is not working. I currently have set in docker-compose.yml

     cap_add:
       - NET_ADMIN
       - NET_RAW
       - SYS_PTRACE

however when I run docker exec mailserver iptables -L I get

iptables v1.8.2 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

I saw on #2169 that many are running fail2ban on their host instead. Are there any instructions for that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta/closed due to age or inactivityThis issue / PR has been closed due to inactivitymeta/help wantedThe OP requests help from others - chime in! :Dmeta/needs triageThis issue / PR needs checks and verification from maintainersmeta/staleThis issue / PR has become stale and will be closed if there is no further activitypriority/lowservice/security/fail2ban

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions