Hello list
I'm trying to get ALTQ working with the following setup without much
success. To test I'm doing a simultaneous FTP upload and download from a
Windows box on the internal network. The upload is being limited to 100Kb as
expected but the download drops off rapidly after starting the upload.
OpenBSD 3.3 snapshot 2003-06-06
ADSL 512/128 using PPPoE
# pf.conf
# --- Macros section ---
EXT= "tun0"
INT= "rl0"
# --- Tables section ---
# --- Options section ---
# --- Scrub section ---
# --- Queuing section ---
altq on $EXT priq bandwidth 100Kb queue { q_pri, q_def }
queue q_pri priority 7
queue q_def priority 1 priq(default)
# Translation section
nat on $EXT from 192.168.0.0/24 to any -> ($EXT)
# --- Filter Rules section ---
pass out on $EXT proto tcp from $EXT to any flags S/SA \
keep state queue (q_def, q_pri)
pass in on $EXT proto tcp from any to $EXT flags S/SA \
keep state queue (q_def, q_pri)
# --- End ---
Thanks
Mark