Last active
March 9, 2022 22:57
-
-
Save ann0see/a61e41c0d9e52bd1633c5ed0e9f3aa7e to your computer and use it in GitHub Desktop.
Fail2ban filter for SoftEther VPN server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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