[resolved] Fail2ban iptables rules not working

  • Hello,

    first sorry for my poor english

    I test the fail2ban filter omv-webgui.

    I see that i have a new rule in iptables, but if i try to login again, i am no rejected, as if iptables was inoperate ?

    here is some cmd trace


    Code
    Status for the jail: omv-webgui
    |- Filter
    |  |- Currently failed:    1
    |  |- Total failed:    5
    |  `- File list:    /var/log/auth.log
    `- Actions
       |- Currently banned:    2
       |- Total banned:    2
       `- Banned IP list:   192.168.20.254 37.164.202.234


    Code
    Chain f2b-omv-webgui (1 references)
     pkts bytes target     prot opt in     out source               destination
        0     0 REJECT     all  --  *      * 37.164.202.234       0.0.0.0/0            reject-with icmp-port-unreachable
        0     0 REJECT     all  --  *      * 192.168.20.254       0.0.0.0/0            reject-with icmp-port-unreachable 
        0     0 RETURN     all  --  *      * 0.0.0.0/0            0.0.0.0/0


    Code
    Sep  8 15:03:48 openmediavault openmediavault-webgui[9277]: Unauthorized login attempt from 37.164.202.234 [username=essai1, user-agent=Mozilla/5.0 (Linux; Android 9; MRD-LX1) AppleWebKit/53
    7.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36]
    Sep  8 15:03:57 openmediavault openmediavault-webgui[9277]: Unauthorized login attempt from 37.164.202.234 [username=essai2, user-agent=Mozilla/5.0 (Linux; Android 9; MRD-LX1) AppleWebKit/53
    7.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36]
    Sep  8 15:04:02 openmediavault openmediavault-webgui[9277]: Unauthorized login attempt from 37.164.202.234 [username=essai3, user-agent=Mozilla/5.0 (Linux; Android 9; MRD-LX1) AppleWebKit/53
    7.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36]
    Sep  8 15:04:06 openmediavault openmediavault-webgui[9277]: Unauthorized login attempt from 37.164.202.234 [username=essai4, user-agent=Mozilla/5.0 (Linux; Android 9; MRD-LX1) AppleWebKit/53
    7.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36]
    Sep  8 15:04:19 openmediavault openmediavault-webgui[9277]: Unauthorized login attempt from 37.164.202.234 [username=essai5, user-agent=Mozilla/5.0 (Linux; Android 9; MRD-LX1) AppleWebKit/53
    7.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36]


    could somebody help me ? :love:


    thank you very much

  • neeqkowlah

    Changed the title of the thread from “Fail2ban iptables rules not working” to “[resolved] Fail2ban iptables rules not working”.
  • macom

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!