Fail 2 Ban error and how to get it to work ...


Having trouble to get fail2ban to work

https://termbin.com/o7k6 there are no bans taking place and the same ips keep at it and I can't stop them I don't know what to do ... pf and ipfw and the other things are complicated... in freebsd and there's so many rules and complicated ... and one guy in the forum recommended this particular program along others if you want me to get his username one second... it won't take much... off to the gym now hopefully I get answers by the time I get back... but who knows best to get this done then the next thing will be learning how to configure the firewalls...

SirDice

 
You are trying to use Linux iptables from all the errors in that first log:
Code:
2024-12-11 23:18:31,436 fail2ban.utils          [51657]: ERROR   3054f31bba50 -- stderr: '/bin/sh: iptables: not found'
2024-12-11 23:18:31,436 fail2ban.utils          [51657]: ERROR   3054f31bba50 -- stderr: '/bin/sh: iptables: not found'
2024-12-11 23:18:31,436 fail2ban.utils          [51657]: ERROR   3054f31bba50 -- stderr: '/bin/sh: iptables: not found'
2024-12-11 23:18:31,436 fail2ban.utils          [51657]: ERROR   3054f31bba50 -- returned 127
2024-12-11 23:18:31,437 fail2ban.utils          [51657]: INFO    HINT on 127: "Command not found".  Make sure that all commands...
 
understand that's how it packages but apparently if I don't have pf setup anyways then it won't work so I am first learning how to do pf...
 
Back
Top