iptables侦听80端口连接数 限制单个IP的并发数

防范胜于未然!
玩VPS和服都得防止别人来D,所以iptables自然得用了,侦听80端口连接数,限制单个IP的并发数。

iptables -I INPUT -p tcp –dport 80 -m connlimit –connlimit-above 10 -j DROP


Posted

in

by

Comments

One response to “iptables侦听80端口连接数 限制单个IP的并发数”

  1. 秦远征博客 Avatar
    秦远征博客

    很早以前玩过LINUX,IPTABLES 也玩过,可以做一个不错的防火墙呢

Leave a Reply

Your email address will not be published. Required fields are marked *