※ 引述《[email protected] (蟲)》之銘言:
> ※ 引述《[email protected] (新手)》之銘言:
> > 請問一下^^
> > 所謂的out 及in 是如何去定義的呢?
> > man裡面提到的是incoming 及 outgoing....
> > 那這樣子的話,要限制192.168.0.0網域內電腦下載頻寬的話不是該用in嗎?
> > 而上傳不是用out嗎?
> > 這部份一直搞不懂....麻煩大大指導一下....thx..
> > ^^"
> 嗯, 我知道這是個迷思....
> 因此, 提一個重點, 就是, 一切以server角度來看... :>
> 所以, 下傳是由NAT server收到然轉送給LAN裡的電腦, 若要在對內介面上設定限制
> 就是限制對內介面上的out, 了嗎?
那一般而言,有些rule並沒有將指定的界面指出來,defualt的是?
在網上有找到如下的一段寫法:
And these rules simulate an ADSL link to the moon:
ipfw add pipe 3 ip from any to any out
ipfw add pipe 4 ip from any to any in
ipfw pipe 3 config bw 128Kbit/s queue 10 delay 1000ms
ipfw pipe 4 config bw 640Kbit/s queue 30 delay 1000ms
像是這個,它的in及out是對哪一個介面設定限制呢?
不好意思,這部份真的搞不清楚,麻煩指導了...
^^"
--
※發信站 [新綠園 bbs.sa.ncyu.edu.tw] ‧ FROM [210.60.101.14]