> also how to limit some ip not port with pf . you set up your queues, then assign traffic to them via your pass rules. Your pass rules can use whichever criteria you like, ie
altq on $ext_if cbq bandwidth 10Mb queue { def, mostofmybandwidth, notalot } queue def bandwidth 20% cbq(default borrow red) queue mostofmybandwidth 77% cbq(default borrow red) { most_lowdelay, most_bulk } queue most_lowdelay priority 7 queue most_bulk priority 7 queue notalot 3% cbq [...] block all pass from $localnet to any port $allowedports keep state queue mostofmybandwidth pass from $iptostarve to any port $allowedports keep state queue notalot - you get the idea. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/ "First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales" 20:11:56 delilah spamd[26905]: 146.151.48.74: disconnected after 36099 seconds _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"