Skip to content

Instantly share code, notes, and snippets.

@Erutan409
Forked from ann0see/vpnserver.conf
Last active August 15, 2021 22:59
Show Gist options
  • Save Erutan409/c4d2d0e58ef6b859e8aa87fdfad3db20 to your computer and use it in GitHub Desktop.
Save Erutan409/c4d2d0e58ef6b859e8aa87fdfad3db20 to your computer and use it in GitHub Desktop.
Fail2ban filter for SoftEther VPN server
# Fail2Ban filter for SoftEther authentication failures
# Made by quixrick and jonisc
# Thanks to quixrick from Reddit! https://reddit.com/u/quixrick
# Further reference: http://www.vpnusers.com/viewtopic.php?f=7&t=6375&sid=76707e8a5a16b0c9486a39ba34763901&view=print
[INCLUDES]
# Read common prefixes. If any customizations available -- read them from
# common.local
before = common.conf
#Enable multi line support. Doesn't work with versions < 0.9
[Init]
maxlines = 2
# The regular expression filter follows
[Definition]
failregex =IP address: <HOST>.*\n.*User authentication failed.*
ignoreregex=
@ann0see
Copy link

ann0see commented Sep 9, 2020

Hi @Erutan409 I have merged your fork now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment