Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ppabc committed Sep 23, 2016
1 parent 954176c commit ce31015
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iptables/iptables_limit.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash
#!/bin/bash
## Iptables 2016-09-23
## http://www.aqzt.com
## email: [email protected]
## robert yu
## centos 6
## iptables 流量限制,可以通过调整--limit-burst 10值来控制流入 流出
## --limit 1/s 表示每秒一次; 1/m 则为每分钟一次
## --limit-burst 表示允许触发 limit 限制的最大次数 (预设 5)
## --limit 1/s 表示每秒一次; 1/m 则为每分钟一次
## --limit-burst 表示允许触发 limit 限制的最大次数 (预设 5)

/sbin/iptables -F

Expand Down

0 comments on commit ce31015

Please sign in to comment.