5月6

我的IPFW限制带宽使用

| |
02:17FreeBSD  
# Download width
ipfw add 00200 pipe 1 ip from any to 192.168.0.0/24
ipfw pipe 1 config bw 800Kbits/s

# Upload width
ipfw add 00300 pipe 2 ip from 192.168.0.0/24 to any
ipfw pipe 2 config bw 200Kbits/s

Add these code into /etc/rc.firewall
Tags: ,
阅读(392) | 评论(0) | 引用(0)