2016-01-03 19:36:28 +00:00
|
|
|
# Fail2Ban configuration file
|
|
|
|
#
|
|
|
|
# Author: Cyril Jaquier
|
2016-01-05 13:03:47 +00:00
|
|
|
# Modified: Yaroslav O. Halchenko <debian@onerussian.com>
|
|
|
|
# made active on all ports from original iptables.conf
|
2016-01-03 19:36:28 +00:00
|
|
|
# Modified: Alexander Belykh <albel727@ngs.ru>
|
|
|
|
# adapted for nftables
|
|
|
|
#
|
|
|
|
|
|
|
|
[INCLUDES]
|
|
|
|
|
|
|
|
before = nftables-common.conf
|
|
|
|
|
|
|
|
[Definition]
|
|
|
|
|
2016-01-05 13:03:47 +00:00
|
|
|
# Option: nftables_mode
|
|
|
|
# Notes.: additional expressions for nftables filter rule
|
|
|
|
# Values: nftables expressions
|
2016-01-03 19:36:28 +00:00
|
|
|
#
|
2016-01-06 11:13:30 +00:00
|
|
|
nftables_mode = <protocol> dport \{ <port> \}
|
2016-01-03 19:36:28 +00:00
|
|
|
|
|
|
|
[Init]
|