Openvpn jail for fail2ban

Could you please send me the full log by email

Looking to your issue
fail2ban is doing is job. If you look to https://github.com/stephdl/nethserver-fail2ban/blob/ns7/root/etc/fail2ban/filter.d/openvpn.conf you can see that the regex caught several time ‘TLS Error: TLS handshake failed’

Two options

Either we remove this regex or you solve your network issue.

Some clues https://openvpn.net/index.php/open-source/faq/79-client/253-tls-error-tls-key-negotiation-failed-to-occur-within-60-seconds-check-your-network-connectivity.html

Google seems to get a lot of answers

what about if you add ‘:\d+ TLS Error: TLS handshake failed’ to the ignoreregex

it won’t solve your issue, it is just a workaround.

1 Like