[ previous ] [ next ] [ threads ]
 
 From:  "John ." <jvoigt at gmail dot com>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] Re: Help with traffic shaping needed
 Date:  Wed, 18 May 2005 09:27:03 -0400
OK I can't get screenshots right now but maybe this is better.  Here
is the shaper section of my mono config.  Paste it in over yours and
you'll see exactly what I have here.  RTV is "bulk" traffic.  My VoIP
is on 192.168.1.202 and 192.168.1.201 is a "bulk" sender.

	<shaper>
		<pipe>
			<bandwidth>360</bandwidth>
			<descr>One big pipe in</descr>
		</pipe>
		<pipe>
			<bandwidth>4500</bandwidth>
			<descr>one big pipe out</descr>
		</pipe>
		<queue>
			<targetpipe>0</targetpipe>
			<weight>100</weight>
			<descr>Vonage in</descr>
		</queue>
		<queue>
			<targetpipe>1</targetpipe>
			<weight>100</weight>
			<descr>Vonage out</descr>
		</queue>
		<queue>
			<targetpipe>0</targetpipe>
			<weight>1</weight>
			<descr>RTV in</descr>
		</queue>
		<queue>
			<targetpipe>1</targetpipe>
			<weight>1</weight>
			<descr>RTV out</descr>
		</queue>
		<queue>
			<targetpipe>0</targetpipe>
			<weight>50</weight>
			<descr>Everything else in</descr>
		</queue>
		<queue>
			<targetpipe>1</targetpipe>
			<weight>50</weight>
			<descr>Everything else out</descr>
		</queue>
		<rule>
			<interface>lan</interface>
			<source>
				<address>192.168.1.202</address>
			</source>
			<destination>
				<any/>
			</destination>
			<direction>in</direction>
			<iplen/>
			<tcpflags/>
			<descr>Vonage in</descr>
			<targetqueue>0</targetqueue>
		</rule>
		<rule>
			<interface>lan</interface>
			<source>
				<any/>
			</source>
			<destination>
				<address>192.168.1.202</address>
			</destination>
			<direction>out</direction>
			<iplen/>
			<tcpflags/>
			<descr>Vonage out</descr>
			<targetqueue>1</targetqueue>
		</rule>
		<rule>
			<interface>lan</interface>
			<protocol>tcp</protocol>
			<source>
				<address>192.168.1.201</address>
			</source>
			<destination>
				<any/>
			</destination>
			<direction>in</direction>
			<iplen/>
			<tcpflags/>
			<descr>RTV in</descr>
			<targetqueue>2</targetqueue>
		</rule>
		<rule>
			<interface>lan</interface>
			<protocol>tcp</protocol>
			<source>
				<any/>
			</source>
			<destination>
				<address>192.168.1.201</address>
			</destination>
			<direction>out</direction>
			<iplen/>
			<tcpflags/>
			<descr>RTV out</descr>
			<targetqueue>3</targetqueue>
		</rule>
		<rule>
			<interface>lan</interface>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
			<direction>in</direction>
			<iplen/>
			<tcpflags/>
			<descr>Everything else oin</descr>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<interface>lan</interface>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
			<direction>out</direction>
			<iplen/>
			<tcpflags/>
			<descr>Everything else out</descr>
			<targetqueue>5</targetqueue>
		</rule>
		<enable/>
	</shaper>