[ previous ] [ next ] [ threads ]
 
 From:  "Garrett" <glc at c dash email dot com>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Traffic shaper
 Date:  Wed, 20 Oct 2004 15:53:39 -0700
Hello m0n0wall community,

I'm trying to give general web browsing priority over all other traffic in hopes of maintaining
decent web surfing performance while the downstream is saturated by a large download.  I've tried to
accomplish this by giving DNS queries and replies, outbound SYNs, and inbound and outbound ACKs
priority over all other traffic.  However, there doesn't seem to be any improvement over when
traffic shaping is disabled altogether.  Here's my traffic shaper config:

Magic shaper wizard
------------------------------
not used - all fields blank

Pipes
--------
No.: 1
Bandwidth: 384 Kbit/s
Delay: blank
Mask: blank
Desc.: downstream

No.: 2
Bandwidth: 1544 Kbit/s
Delay: blank
Mask: blank
Desc.: upstream

Queues
-----------
No.: 1
Pipe: upstream
Weight: 10
Mask: blank
Desc.: high weight (outbound)

No.: 2
Pipe: upstream
Weight: 1
Mask: blank
Desc.: low weight (outbound)

No.: 3
Pipe: downstream
Weight: 10
Mask: blank
Desc.: high weight (inbound)

No.: 4
Pipe: downstream
Weight: 1
Mask: blank
Desc.: low weight (inbound)

Rules
--------
Target: high weight (outbound)
Interface: WAN
Proto: UDP
Source: LAN subnet
Destination: not LAN subnet, port 53 (DNS)
Direction: out
Desc.: DNS query

Target: high weight (inbound)
Interface: WAN
Proto: UDP
Source: not LAN subnet, port 53 (DNS)
Destination: LAN subnet
Direction: in
Desc.: DNS reply

Target: high weight (outbound)
Interface: WAN
Proto: TCP
Source: LAN subnet
Destination: not LAN subnet
Direction: out
TCP flags: SYN = set, rest = don't care
Desc.: SYN (outbound)

Target: high weight (inbound)
Interface: WAN
Proto: TCP
Source: not LAN subnet
Destination: LAN subnet
Direction: in
TCP flags: ACK = set, rest = don't care
Desc.: ACK (inbound)

Target: high weight (outbound)
Interface: WAN
Proto: TCP
Source: LAN subnet
Destination: not LAN subnet
Direction: out
TCP flags: ACK = set, rest = don't care
Desc.: ACK (outbound)

Target: low weight (inbound)
Interface: WAN
Proto: TCP
Source: not LAN subnet
Destination: LAN subnet
Direction: in
Desc.: normal traffic (inbound)

Target: low weight (outbound)
Interface: WAN
Proto: TCP
Source: LAN subnet
Destination: not LAN subnet
Direction: out
Desc.: normal traffic (outbound)

Thanks in advance for any help....

Garrett
glc at c dash email dot com