---
title: "Discussion on \"Mitigating an OpenVPN Brute Force Attack with Fail2Ban on EdgeRouter\" | Hashnode"
description: "Discussion on \"Mitigating an OpenVPN Brute Force Attack with Fail2Ban on EdgeRouter\". Tonight, I noticed numerous attempts from a variety of sources to log in to my OpenVPN server that I run on my EdgeRouter (ER-X-SFP) at home. Unfortunately EdgeRouter doesn't support any sort of blacklisting for OpenVPN natively, but it does allow th..."
url: "https://hashnode.com/posts/mitigating-an-openvpn-brute-force-attack-with-fail2ban-on-edgerouter/6022b2903f7a783c6be40d5d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Mitigating an OpenVPN Brute Force Attack with Fail2Ban on EdgeRouter](https://jason.rokea.ch/mitigating-an-openvpn-brute-force-attack-with-fail2ban-on-edgerouter?utm_source=hashnode&utm_medium=feed)

Tonight, I noticed numerous attempts from a variety of sources to log in to my OpenVPN server that I run on my EdgeRouter (ER-X-SFP) at home. Unfortunately EdgeRouter doesn't support any sort of blacklisting for OpenVPN natively, but it does allow th...

Sep 9, 2018 · 2 min read · jason.rokea.ch  
Updated Jan 17, 2023  
Read the article

-   [#networking](https://hashnode.com/tag/networking)

## Written by

[Jason R. Rokeach](https://hashnode.com/@jrokeach)

@jrokeach · Manchester, NH

  
[View profile](https://hashnode.com/@jrokeach)

Sr. Solutions Architect at Juniper Networks :: Passionately pursuing networking futures.

## Responses 1

Markdown supported · ⌘↵ to post

[Jordy Swiggers](https://hashnode.com/@JoePiler)

[Jan 16, 2023](https://hashnode.com/posts/mitigating-an-openvpn-brute-force-attack-with-fail2ban-on-edgerouter/6022b2903f7a783c6be40d5d/comment/63c52605d72a4e43689dc691)

Hi Jason,

Excellent writeup can't wait to try this later.

I've just purchased en er-x sfp and have noticed the exact same, constant failed login attempts on opnvpn.

I noticed however that the link fornthe followup article about making it persistent is dead.

Any chance you could update it?

TIA, Jordy

[Jason R. Rokeach](https://hashnode.com/@jrokeach)

[Jan 17, 2023](https://hashnode.com/posts/mitigating-an-openvpn-brute-force-attack-with-fail2ban-on-edgerouter/6022b2903f7a783c6be40d5d/comment/63c52605d72a4e43689dc691#reply-63c6add682351264841b9d28)

Hi [Jordy Swiggers](https://hashnode.com/@JoePiler)! Thanks for pointing that out. I’ve updated the link in the article. Here it is as well: [jason.rokea.ch/edgerouter-fail2ban-persistence-th…](https://jason.rokea.ch/edgerouter-fail2ban-persistence-through-upgrades)
