ALTQ - Prioritizing By Traffic Type

Daniel Hartmeier's ADSL - prioritizing ACKs to improve up/download over asymmetric link


altq on $ext_if priq bandwidth 100Kb queue { q_pri, q_def }
queue q_pri priority 7
queue q_def priority 1 priq(default)

pass out on $ext_if proto tcp from $ext_if queue (q_def, q_pri)

pass in  on $ext_if proto tcp to $ext_if queue (q_def, q_pri)


OpenBSD 5.5 and newer: See Traffic Shaping with Queues and Priorities and following slides.