Hi,

> > 2021-07-17 14:47:16,413 fail2ban.utils          [3111209]: ERROR
> > 7f7e649c36f0 -- returned 2
> > 2021-07-17 14:47:16,414 fail2ban.actions        [3111209]: ERROR
> > Failed to execute ban jail 'postfix' action 'iptables' info
> > 'ActionInfo({'ip': '212.70.149.71', 'family': 'inet4', 'fid':
> > <function Actions.ActionInfo.<lambda> at 0x7f7e64d7f280>,
> > 'raw-ticket': <function Actions.ActionInfo.<lambda> at
> > 0x7f7e64d7f940>})': Error starting action Jail('postfix')/iptables:
> > 'Script error'
> >
> > I'm trying to use iptables because I already have a number of rules,
> > and this is a more complicated system than a firewalld home system.
> >
> > Thanks,
> > Alex
> Please, you cannot use the iptables jail when you are blocking multiple
> ports.
>
> Note, however you can use the iptables-multiport rule on a single port,
> so try changing your default action to iptabbes-multiport.

Perfect, thanks so much


_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to