看板 FreeBSD 關於我們 聯絡資訊
※ 引述《lamb100.bbs@wdbbs.net (會唱歌的羊咩咩~~~咩~)》之銘言: > : ipfw -f flush > : # /usr/bin/sockstat > : ipfw add 10 divert natd all from any to any via fxp0 > : ipfw add 10 allow ip from any to any via rl1 > : ipfw add 3000 allow ip from any to any > : ipfw -f pipe flush > : V ipfw add 200 pipe 1 ip from 192.168.3.22 to any via fxp0 > : V ipfw add 200 pipe 2 ip from any to 192.168.3.22 via fxp0 > : ^ ipfw pipe 1 config bw 100Kbit/s queue 10Kbytes > : ^ ipfw pipe 2 config bw 1Mbit/s queue 100Kbytes > 將^的兩個移到V的兩個之上 > 應該OK 設定pipe也有分先後順序阿? 它沒指定序號(像add ???),那它是以什麼方式判別先後順序呢? 還沒試,試了來回報結果... 謝拉... -- ※ Origin: 興國管院戀戀蘋香 <bbs.hku.edu.tw> ◆ From: 221-169-136-204.adsl.static.seed.net.tw