I can't seem to block traffic that is redirected via rdr
With these rules 1.2.3.4 can still access the smtpd on $jail_mail_ip.
How do I block redirected traffic so I can get use of fail2ban in this case?
Code:
rdr pass on $ext_if proto tcp from any to $ext_ip_jails port 25 -> [FILE]$jail_mail_ip[/FILE] port 25
block drop in on $ext_if from 1.2.3.4 to any
How do I block redirected traffic so I can get use of fail2ban in this case?
Last edited by a moderator: