queue3 revision 135184
1135184Smlaier# $FreeBSD: head/share/examples/pf/queue3 135184 2004-09-14 01:07:19Z mlaier $ 2135184Smlaier# $OpenBSD: queue3,v 1.2 2003/01/20 16:14:23 henning 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 12135184Smlaierpass out on $ext_if proto tcp from any to any port 22 keep state \ 13135184Smlaier queue(pri-med, pri-high) 14135184Smlaierpass out on $ext_if proto tcp from any to any port 80 keep state queue pri-med 15135184Smlaierpass in on $ext_if proto tcp from any to any port 80 keep state queue pri-low 16135184Smlaier 17