multiport 指定多个端口random 或 nth 进行负载均衡limit 和 iplimit 限制连接数stringtime)
:small_orange_diamond: Shorewall - 用于 GNU/Linux 的高级网关/防火墙配置工具。
:small_orange_diamond: Firewalld - 提供动态管理的防火墙。
:small_orange_diamond: UFW - Ubuntu 默认的防火墙配置工具。
:small_orange_diamond: FireHOL - 为所有 Linux 防火墙和流量整形需求提供简单而强大的配置。
:small_orange_diamond: 最佳实践:iptables - 作者 Major Hayden
:small_orange_diamond: 深入理解 Iptables,Linux 防火墙
:small_orange_diamond: netfilter/iptables 的高级功能
:small_orange_diamond: 使用 iptables 的 Linux 防火墙
:small_orange_diamond: 调试 iptables 与常见防火墙陷阱?
:small_orange_diamond: Netfilter 黑客 HOWTO
:small_orange_diamond: 使用 iptables 实现每 IP 速率限制
禁用路由三角测量。从同一接口响应查询,而非另一个。同时防止 IP 欺骗。```bash cat << EOF >> /etc/sysctl.d/40-custom.conf net/ipv4/conf/all/rp_filter = 1 EOF
- [rp_filter与LPIC-3 Linux安全](https://www.theurbanpenguin.com/rp_filter-and-lpic-3-linux-security/)
- [Linux内核rp_filter设置(反向路径过滤)](https://www.slashroot.in/linux-kernel-rpfilter-settings-reverse-path-filtering)
- [反向路径过滤](http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.kernel.rpf.html)
##### log_martians
> _启用记录带有格式错误IP地址的数据包。_```bash
cat << EOF >> /etc/sysctl.d/40-custom.conf
net/ipv4/conf/all/log_martians = 1
EOF