This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
сервис_firewall [2021/05/21 19:17] val [FreeBSD (pf)] |
сервис_firewall [2021/12/23 16:34] val |
||
---|---|---|---|
Line 8: | Line 8: | ||
==== Linux (iptables) ==== | ==== Linux (iptables) ==== | ||
- | * [[https://help.ubuntu.com/community/IptablesHowTo]] | + | * [[https://cryptoworld.su/kak-perejti-s-iptables-na-nftables-polnaya-istrukciya/|Как перейти с iptables на Nftables — полная инструкция]] |
- | * [[http://ru.wikibooks.org/wiki/Iptables]] | + | * [[https://help.ubuntu.com/community/IptablesHowTo|ubuntu.com community IptablesHowTo]] |
- | * [[https://ru.wikipedia.org/wiki/Netfilter]] | + | * [[https://ru.wikibooks.org/wiki/Iptables|Материал из Викиучебника iptables — утилита командной строки]] |
+ | * [[https://ru.wikipedia.org/wiki/Netfilter|Материал из Википедии netfilter — межсетевой экран]] | ||
=== Настройка фильтра === | === Настройка фильтра === | ||
Line 427: | Line 428: | ||
# pfctl -t fail2ban -T add 172.16.1.254 | # pfctl -t fail2ban -T add 172.16.1.254 | ||
+ | # pfctl -k 172.16.1.254 | ||
# pfctl -t fail2ban -T flush | # pfctl -t fail2ban -T flush |