Skip to content

Instantly share code, notes, and snippets.

@kacchan822
kacchan822 / sfvpn-ddos.conf
Created January 20, 2017 04:57
Fail2ban filter for SoftEther VPN server
# Fail2Ban sfvpn-ddos filter
#
[INCLUDES]
before = common.conf
[Definition]
failregex = A DoS attack on the TCP Listener \(port \d+\) has been detected\. The connecting source IP address is <HOST>, port number is \d+\. This connection will be forcefully disconnected now\.
ignoreregex =
@ann0see
ann0see / vpnserver.conf
Last active March 9, 2022 22:57
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