As far as I know, there’s nothing in strongSwan for this. Here’s the fail2ban bits that I did for strongSwan. strongSwan catches and blocks offenders. Xmonitor (if enabled) sends mail when a VPN connection is made.
https://1drv.ms/u/s!AnwsNfAZbYjHiPxBZqlfAiZRGxQx-g Enjoy! From: lejeczek<mailto:pelj...@yahoo.co.uk> Sent: Thursday, December 27, 2018 7:16 AM To: users@lists.strongswan.org<mailto:users@lists.strongswan.org> Subject: [strongSwan] fail2ban hi guys would you know if there are bits that fail2ban could use to look after Strongswan? Obviously I mean actions & filters for fail2ban and I'm thinking best would be if those came from Strongswan devel as who knows Swan better than they do. many thanks, L.