The following is based on https://stefan.angrick.me/block-unauthorized-openvpn-logins-using-fail2ban.
Add a filter configuration under /etc/fail2ban/filter.d/openvpn.conf
. The contents would be something like (regular expressions may need adjustments):
[INCLUDES]
before = common.conf