OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: raywan on June 04, 2026, 07:47:32 AM

Title: Maltrails fail2ban doesn't work
Post by: raywan on June 04, 2026, 07:47:32 AM
Maltrail works fine so far so good. Recently, I cannot get access Maltrials http://192.168.1.1:8338/fail2ban (http://192.168.1.1:8338/fail2ban) when i opened it directly in the browser. The browser shown 404 not found. I have tried everything like reinstall the package, remove all the files in maltrials folder, start and stop all maltrail server and sensor many times but it seems cannot start fail2ban service.
Is there anything i can do to get access maltrail fail2ban again? Maltrail fail2ban stop work since last 26.1.8_5 update fix.
Thanks

2026-06-04T13:23:24 Error firewall alias resolve error BlocklistMaltrail (error fetching alias url http://127.0.0.1:8338/fail2ban)
2026-06-04T13:23:24 Error firewall error fetching alias url http://127.0.0.1:8338/fail2ban (error fetching alias url http://127.0.0.1:8338/fail2ban)
2026-06-04T13:23:24 Error firewall error fetching alias url http://127.0.0.1:8338/fail2ban [http_code:404]
Title: Re: Maltrails fail2ban doesn't work
Post by: franco on June 04, 2026, 07:49:16 AM
Was this working before? Because this popped up recently...

https://github.com/opnsense/plugins/pull/5463
Title: Re: Maltrails fail2ban doesn't work
Post by: raywan on June 04, 2026, 11:51:38 AM
Quote from: franco on Today at 07:49:16 AMWas this working before? Because this popped up recently...

https://github.com/opnsense/plugins/pull/5463
I tried manually add "FAIL2BAN_ALLOWLIST 127.0.0.1" in /usr/local/share/maltrail/maltrail.conf or "127.0.0.1 192.168.1.1/24" in Services: Maltrail: General page.
Finally, no help.
It was working good until last 26.4_14 hotfix. I didn't remember which day fail2ban crashed or stop working. But Maltrail server& sensor are both working until now.