queue3 revision 173536
1135184Smlaier# $FreeBSD: head/share/examples/pf/queue3 173536 2007-11-11 01:16:51Z mlaier $ 2173536Smlaier# $OpenBSD: queue3,v 1.3 2006/10/07 04:48:01 mcbride Exp $ 3135184Smlaier# simple PRIQ example 4135184Smlaier 5135184Smlaierext_if="lo0" 6135184Smlaier 7135184Smlaieraltq on $ext_if priq bandwidth 10Mb queue { pri-low pri-med pri-high } 8135184Smlaierqueue pri-low priority 0 9135184Smlaierqueue pri-med priority 1 priq(default) 10135184Smlaierqueue pri-high priority 2 11135184Smlaier 12173536Smlaierpass out on $ext_if proto tcp from any to any port 22 \ 13135184Smlaier queue(pri-med, pri-high) 14173536Smlaierpass out on $ext_if proto tcp from any to any port 80 queue pri-med 15173536Smlaierpass in on $ext_if proto tcp from any to any port 80 queue pri-low 16135184Smlaier 17