ALTQ - prioritere etter trafikktype

Daniel Hartmeiers ADSL - prioritere ACK-pakker for bedre utnyttelse av asymmetrisk forbindelse

ext_if="kue0"

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 to any flags S/SA \
        keep state queue (q_def, q_pri)

pass in  on $ext_if proto tcp from any to $ext_if flags S/SA \
        keep state queue (q_def, q_pri)

Se http://www.benzedrine.cx/ackpri.html