文件操作 - softethervpn.conf
返回文件管理
返回主菜单
删除本文件
文件: /etc/fail2ban/filter.d/softethervpn.conf
编辑文件内容
# Fail2Ban filter for SoftEtherVPN # Detecting unauthorized access to SoftEtherVPN # typically logged in /usr/local/vpnserver/security_log/*/sec.log, or in syslog, depending on configuration [INCLUDES] before = common.conf [Definition] failregex = ^%(__prefix_line)s(?:(?:\([\d\-]+ [\d:.]+\) )?<SECURITY_LOG>: )?Connection "[^"]+": User authentication failed. The user name that has been provided was "<F-USER>(?:[^"]+|.+)</F-USER>", from <ADDR>\.$
修改文件时间
将文件时间修改为当前时间的前一年
删除文件