Skip to content

Instantly share code, notes, and snippets.

@ann0see
Last active March 9, 2022 22:57
Show Gist options
  • Save ann0see/a61e41c0d9e52bd1633c5ed0e9f3aa7e to your computer and use it in GitHub Desktop.
Save ann0see/a61e41c0d9e52bd1633c5ed0e9f3aa7e 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 Nobody
# 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=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment