主机参考:VPS测评参考推荐/专注分享VPS服务器优惠信息!若您是商家可以在本站进行投稿,查看详情!此外我们还提供软文收录、PayPal代付、广告赞助等服务,查看详情! |
我们发布的部分优惠活动文章可能存在时效性,购买时建议在本站搜索商家名称可查看相关文章充分了解该商家!若非中文页面可使用Edge浏览器同步翻译!PayPal代付/收录合作 |
使用Syn Cookie:启用Syn Cookie以防止SYN洪水攻击。 SYSCTL配置文件编辑所需:
sysctl -w net.ipv4.tcp_syncookies = 1
sysctl -w net.ipv4.tcp_max_sync_backlog = 3072 net.ipv4.tcp_syn_retries = 0
sysctl -w net.ipv4.conf.all.send_redirects = 0
net.ipv4.conceccept_redirects = 0
sysctl -w net.ipv4.conceccept_redirects = 0
sysctl -w net.ipv4.conceccept_redirects = 0
sysctl -w net.ipv4.conf.all.forwarding = 1
sysctl -w net.ipv4.icmp_echo_ignore_broadcasts = 1
这几篇文章你可能也喜欢:
- 如何限制访问Ubuntu Ftpserver的IP
- 如何优化Ubuntu Ftpserver的性能
- 如何更新Ubuntu Ftpserver的版本
- 如何卸载ubuntu ftpserver
- 使用Ubuntu ftpserver的教程是什么?
本文由主机参考刊发,转载请注明:Ubuntu Iptables如何处理攻击 https://zhujicankao.com/147976.html
评论前必须登录!
注册