Dear Community!
It is possible to somehow block IP addresses when they failed to login through openVPN after X times?
I can see in the log that sometimes from random IP address they try to connect through openVPN.
The only problem is that from the log I can only see that a 'TCP connection estabilished' and nothing indicates that this is a failed attempt. But I know it is, because I can't recognize this IP address, and also if I try to login, there are several other lines in the log when it binds the connection to an interface, etc...
I saw that there are scripts for IPSec tunnels, but I couldn't find one for openVPN. Can someone help me?
Thanks!