This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
сервис_firewall [2024/05/07 14:09] val [Debian/Ubuntu (iptables)] |
сервис_firewall [2024/05/07 16:18] (current) val [Debian/Ubuntu (iptables)] |
||
---|---|---|---|
Line 372: | Line 372: | ||
root@gate:~# iptables-save > /etc/iptables.rules | root@gate:~# iptables-save > /etc/iptables.rules | ||
+ | или | ||
+ | root@gate:~# netfilter-persistent save | ||
</code> | </code> | ||
Line 404: | Line 406: | ||
==== Debian/Ubuntu (iptables) ==== | ==== Debian/Ubuntu (iptables) ==== | ||
+ | |||
+ | === Ограничение частоты подключений === | ||
<code> | <code> | ||
root@gate:~# cat firewall.sh | root@gate:~# cat firewall.sh | ||
Line 430: | Line 434: | ||
==== nftables ==== | ==== nftables ==== | ||
+ | |||
+ | === Блокировка абонентов, превысивших частоту подключений === | ||
* [[https://access.redhat.com/documentation/ru-ru/red_hat_enterprise_linux/7/html/security_guide/sec-using_nftables_to_limit_the_amount_of_connections|Using nftables to limit the amount of connections]] | * [[https://access.redhat.com/documentation/ru-ru/red_hat_enterprise_linux/7/html/security_guide/sec-using_nftables_to_limit_the_amount_of_connections|Using nftables to limit the amount of connections]] |