[ previous ] [ next ] [ threads ]
 
 From:  Justin Ellison <justin at techadvise dot com>
 To:  Kenneth Oncinian <kenneth dot oncinian at ph dot panasonic dot com>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] Fwd: Bridging shaper
 Date:  Wed, 20 Jul 2005 08:49:26 -0500
On Wed, 2005-07-20 at 08:32 +0800, Kenneth Oncinian wrote:
> If anyone could verify this, it will be greatly appreciated.

I can.  It's the only way to shape with a bridge on m0n0wall.

I've been getting bombarded with requests for my config.xml off list, so
I'm just going to post it on-list.

Please note that I've removed any sensitive information regarding IP's,
passwords, and community strings.  IF YOU UPLOAD THIS FILE TO YOUR
M0N0WALL IT WILL BE BROKEN!  Use this config file for reference only.

--------------------------------------------
<?xml version="1.0"?>
<m0n0wall>
	<version>1.4</version>
	<system>
		<hostname>shaper</hostname>
		<domain>mydomain.com</domain>
		<username>admin</username>
		<password></password>
		<timezone>PST8PDT</timezone>
		<time-update-interval>300</time-update-interval>
		<timeservers>pool.ntp.org</timeservers>
		<webgui>
			<protocol>http</protocol>
			<port/>
			<certificate/>
			<private-key/>
		</webgui>
		<dnsserver>192.168.1.1</dnsserver>
	</system>
	<interfaces>
		<lan>
			<if>sis1</if>
			<ipaddr>172.31.0.95</ipaddr>
			<subnet>22</subnet>
		</lan>
		<wan>
			<if>sis0</if>
			<mtu/>
			<spoofmac/>
			<ipaddr>11.22.33.6</ipaddr>
			<subnet>28</subnet>
			<gateway>11.22.33.1</gateway>
		</wan>
		<opt1>
			<if>sis2</if>
			<descr>BRIDGE1</descr>
			<ipaddr/>
			<subnet>31</subnet>
			<bridge>wan</bridge>
			<enable/>
		</opt1>
	</interfaces>
	<staticroutes/>
	<pppoe/>
	<pptp/>
	<bigpond/>
	<dyndns>
		<type>dyndns</type>
		<username/>
		<password/>
		<host/>
		<mx/>
	</dyndns>
	<dhcpd>
		<lan>
			<range>
				<from>192.168.1.100</from>
				<to>192.168.1.199</to>
			</range>
			<defaultleasetime/>
			<maxleasetime/>
		</lan>
	</dhcpd>
	<pptpd>
		<mode/>
		<redir/>
		<localip/>
		<remoteip/>
	</pptpd>
	<dnsmasq/>
	<snmpd>
		<syslocation>Borrego Springs, CA</syslocation>
		<syscontact>Justin Ellison &lt;justin at techadvise dot com&gt;</syscontact>
		<rocommunity>public</rocommunity>
		<enable/>
	</snmpd>
	<diag>
		<ipv6nat>
			<ipaddr/>
		</ipv6nat>
	</diag>
	<bridge/>
	<syslog/>
	<nat>
		<advancedoutbound>
			<enable/>
		</advancedoutbound>
	</nat>
	<filter>
		<rule>
			<type>pass</type>
			<interface>wan</interface>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
			<frags/>
			<descr>Default WAN -&gt; Any</descr>
		</rule>
		<rule>
			<type>pass</type>
			<interface>opt1</interface>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
			<frags/>
			<descr>Default Bridge -&gt; Any</descr>
		</rule>
		<rule>
			<type>pass</type>
			<interface>lan</interface>
			<source>
				<network>lan</network>
			</source>
			<destination>
				<any/>
			</destination>
			<frags/>
			<descr>Default LAN -&gt; any</descr>
		</rule>
		<tcpidletimeout/>
	</filter>
	<ipsec/>
	<aliases>
		<alias>
			<name>MyOffice</name>
			<address>11.22.44.65/27</address>
			<descr>My Office Network</descr>
		</alias>
	</aliases>
	<proxyarp/>
	<wol/>
	<lastchange>1118867792</lastchange>
	<shaper>
		<enable/>
		<pipe>
			<bandwidth>3000</bandwidth>
			<descr>Total Upload</descr>
		</pipe>
		<pipe>
			<bandwidth>3000</bandwidth>
			<descr>Total Download</descr>
		</pipe>
		<queue>
			<descr>High Priority #1 Upload</descr>
			<targetpipe>0</targetpipe>
			<weight>50</weight>
		</queue>
		<queue>
			<descr>High Priority #2 Upload</descr>
			<targetpipe>0</targetpipe>
			<weight>30</weight>
		</queue>
		<queue>
			<descr>High Priority #3 Upload</descr>
			<targetpipe>0</targetpipe>
			<weight>15</weight>
		</queue>
		<queue>
			<descr>Bulk Upload</descr>
			<targetpipe>0</targetpipe>
			<weight>4</weight>
		</queue>
		<queue>
			<descr>Hated Upload</descr>
			<targetpipe>0</targetpipe>
			<weight>1</weight>
		</queue>
		<queue>
			<targetpipe>1</targetpipe>
			<weight>4</weight>
			<descr>Bulk Download</descr>
		</queue>
		<queue>
			<targetpipe>1</targetpipe>
			<weight>1</weight>
			<descr>Hated Download</descr>
		</queue>
		<queue>
			<targetpipe>1</targetpipe>
			<weight>50</weight>
			<descr>High Priority #1 Download</descr>
		</queue>
		<queue>
			<targetpipe>1</targetpipe>
			<weight>30</weight>
			<descr>High Priority #2 Download</descr>
		</queue>
		<queue>
			<targetpipe>1</targetpipe>
			<weight>15</weight>
			<descr>High Priority #3 Download</descr>
		</queue>
		<rule>
			<interface>opt1</interface>
			<source>
				<any/>
			</source>
			<destination>
				<address>1.2.0.0/18</address>
				<port>5060-5060</port>
			</destination>
			<direction>in</direction>
			<iplen/>
			<iptos/>
			<tcpflags/>
			<descr>N2P Upload</descr>
			<targetqueue>0</targetqueue>
		</rule>
		<rule>
			<interface>opt1</interface>
			<source>
				<any/>
			</source>
			<destination>
				<address>MyOffice</address>
			</destination>
			<direction>in</direction>
			<iplen/>
			<iptos/>
			<tcpflags/>
			<descr>My Company Upload</descr>
			<targetqueue>1</targetqueue>
		</rule>
		<rule>
			<interface>wan</interface>
			<destination>
				<any/>
			</destination>
			<source>
				<address>1.2.0.0/18</address>
				<port>5060-5060</port>
			</source>
			<direction>in</direction>
			<iplen/>
			<iptos/>
			<tcpflags/>
			<descr>N2P Download</descr>
			<targetqueue>7</targetqueue>
		</rule>
		<rule>
			<interface>wan</interface>
			<source>
				<address>MyOffice</address>
			</source>
			<destination>
				<any/>
			</destination>
			<direction>in</direction>
			<iplen/>
			<iptos/>
			<tcpflags/>
			<descr>My Company Download</descr>
			<targetqueue>8</targetqueue>
		</rule>
		<rule>
			<descr>P2P BitTorrent</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>6881-6999</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<protocol>tcp</protocol>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P BitTorrent</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6881-6999</port>
			</destination>
			<protocol>tcp</protocol>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P BitTorrent</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>6881-6999</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<protocol>tcp</protocol>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P BitTorrent</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6881-6999</port>
			</destination>
			<protocol>tcp</protocol>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P DirectConnect</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>412-412</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P DirectConnect</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>412-412</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P DirectConnect</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>412-412</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P DirectConnect</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>412-412</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P DirectFileExpress</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>1044-1045</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P DirectFileExpress</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>1044-1045</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P DirectFileExpress</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>1044-1045</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P DirectFileExpress</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>1044-1045</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P FastTrack</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>1214-1214</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P FastTrack</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>1214-1214</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P FastTrack</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>1214-1214</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P FastTrack</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>1214-1214</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P CuteMX</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>2340-2340</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P CuteMX</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>2340-2340</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P CuteMX</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>2340-2340</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P CuteMX</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>2340-2340</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P iMest</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>4329-4329</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P iMest</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>4329-4329</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P iMest</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>4329-4329</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P iMest</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>4329-4329</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P EDonkey2000</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>4661-4665</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P EDonkey2000</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>4661-4665</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P EDonkey2000</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>4661-4665</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P EDonkey2000</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>4661-4665</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P SongSpy</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>5190-5190</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P SongSpy</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>5190-5190</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P SongSpy</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>5190-5190</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P SongSpy</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>5190-5190</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P HotlineConnect</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>5500-5503</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P HotlineConnect</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>5500-5503</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P HotlineConnect</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>5500-5503</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P HotlineConnect</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>5500-5503</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P Gnutella</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>6346-6346</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P Gnutella</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6346-6346</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P Gnutella</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>6346-6346</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P Gnutella</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6346-6346</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P dcc</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>6666-6668</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P dcc</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6666-6668</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P dcc</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>6666-6668</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P dcc</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6666-6668</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P Napster</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>6699-6701</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P Napster</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6699-6701</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P Napster</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>6699-6701</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P Napster</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6699-6701</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P Aimster</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>7668-7668</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P Aimster</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>7668-7668</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P Aimster</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>7668-7668</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P Aimster</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>7668-7668</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P BuddyShare</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>7788-7788</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P BuddyShare</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>7788-7788</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P BuddyShare</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>7788-7788</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P BuddyShare</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>7788-7788</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P Scour</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>8311-8311</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P Scour</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>8311-8311</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P Scour</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>8311-8311</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P Scour</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>8311-8311</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P OpenNap</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>8888-8889</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P OpenNap</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>8888-8889</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P OpenNap</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>8888-8889</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P OpenNap</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>8888-8889</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P hotComm</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>28864-28865</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P hotComm</descr>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>28864-28865</port>
			</destination>
			<targetqueue>6</targetqueue>
		</rule>
		<rule>
			<descr>P2P hotComm</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
				<port>28864-28865</port>
			</source>
			<destination>
				<any>1</any>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<descr>P2P hotComm</descr>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>28864-28865</port>
			</destination>
			<targetqueue>4</targetqueue>
		</rule>
		<rule>
			<interface>opt1</interface>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
			<direction>in</direction>
			<iplen>0-100</iplen>
			<iptos/>
			<tcpflags/>
			<descr>Small Pkt Upload</descr>
			<targetqueue>2</targetqueue>
		</rule>
		<rule>
			<descr>TCP ACK Upload</descr>
			<targetqueue>2</targetqueue>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
			<iplen>0-80</iplen>
			<protocol>tcp</protocol>
			<tcpflags>ack</tcpflags>
		</rule>
		<rule>
			<descr>Catch-All Upload</descr>
			<targetqueue>3</targetqueue>
			<interface>opt1</interface>
			<direction>in</direction>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
		</rule>
		<rule>
			<interface>wan</interface>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
			<direction>in</direction>
			<iplen>0-100</iplen>
			<iptos/>
			<tcpflags/>
			<descr>Small Pkt Download</descr>
			<targetqueue>9</targetqueue>
		</rule>
		<rule>
			<descr>Catch-All Download</descr>
			<targetqueue>5</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
		</rule>
		<magic>
			<p2plow/>
			<maxup>3070</maxup>
			<maxdown>3070</maxdown>
		</magic>
	</shaper>
</m0n0wall>




--