[ previous ] [ next ] [ threads ]
 
 From:  "Per Willy Buffelen" <per at tocodata dot no>
 To:  "'sai'" <sonicsai at gmail dot com>, "Per Willy Buffelen" <per at tocodata dot no>
 Cc:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] Re: Problem / BUG with Traffic shape?
 Date:  Fri, 19 Aug 2005 16:07:26 +0200
I have now tried this, as soon as i enable the Traffic Shaper, i cant
connect from remote desktop client outside in to my terminaslerver, as soon
as i disable the Traffic shaper the remote desktop client is connected.

    <shaper>
        <magic>
            <maskq/>
            <maxup>400</maxup>
            <maxdown>4000</maxdown>
        </magic>
        <pipe>
            <bandwidth>3800</bandwidth>
            <descr>Inn</descr>
        </pipe>
        <pipe>
            <bandwidth>360</bandwidth>
            <descr>ut</descr>
        </pipe>
        <queue>
            <targetpipe>0</targetpipe>
            <weight>60</weight>
            <descr>60%inn</descr>
        </queue>
        <queue>
            <targetpipe>0</targetpipe>
            <weight>40</weight>
            <descr>40%inn</descr>
        </queue>
        <queue>
            <targetpipe>1</targetpipe>
            <weight>60</weight>
            <descr>60%ut</descr>
        </queue>
        <queue>
            <targetpipe>1</targetpipe>
            <weight>40</weight>
            <descr>40%ut</descr>
        </queue>
        <rule>
            <interface>wan</interface>
            <source>
                <any/>
            </source>
            <destination>
                <any/>
            </destination>
            <direction>in</direction>
            <iplen/>
            <iptos/>
            <tcpflags/>
            <descr>In with weigth 40</descr>
            <targetqueue>1</targetqueue>
        </rule>
        <rule>
            <interface>wan</interface>
            <source>
                <any/>
            </source>
            <destination>
                <any/>
            </destination>
            <direction>out</direction>
            <iplen/>
            <iptos/>
            <tcpflags/>
            <descr>out with weigth 40</descr>
            <targetqueue>3</targetqueue>
        </rule>
    </shaper>



Per Willy Buffelen


-----Original Message-----
From: sai [mailto:sonicsai at gmail dot com] 
Sent: Friday, August 19, 2005 3:38 PM
To: Per Willy Buffelen
Cc: m0n0wall at lists dot m0n0 dot ch
Subject: [m0n0wall] Re: Problem / BUG with Traffic shape?

my suggestion: keep it simple.

keep 2 queues up , 2 queues down

up: 1 queue for voip , the other for everything else
down: 1 queue for voip , the other for everything else give SIP queues
weight 90, other traffic 40 SiP usually uses ports 5060- 5061 , tcp/udp so
use this to identify the sip traffic and put the sip traffic into the voip
queues

do not use the masks.

hw much bandwidth do you have?

sai

---------------------------------------------------------------------
To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch