Community discussions

MikroTik App
 
rkrisi
Member Candidate
Member Candidate
Topic Author
Posts: 163
Joined: Fri May 08, 2020 11:54 am

Block openVPN failed logins

Wed Apr 14, 2021 12:38 pm

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!
 
Runage7
just joined
Posts: 3
Joined: Sat Oct 19, 2019 4:36 am

Re: Block openVPN failed logins

Tue Jan 11, 2022 12:18 pm

Hi, finally found any solution?

We have the same problem.

Thank you.
 
User avatar
own3r1138
Long time Member
Long time Member
Posts: 681
Joined: Sun Feb 14, 2021 12:33 am
Location: Pleiades
Contact:

Re: Block openVPN failed logins

Wed Jan 12, 2022 10:41 am

There are scripts in the forum that make an address list with log entries and you can then drop that address list. so the possibilities are endless.

Who is online

Users browsing this forum: 4l4R1, bizarrity, esj, Guntis, h1ghrise, robertkjonesjr, Yahoo [Bot] and 88 guests