From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Oosthoek Date: Thu, 22 Apr 2004 13:27:09 +0000 Subject: Re: [LARTC] wondershaper, host *exclusion*? Message-Id: <4087C82D.7040202@ti-wmc.nl> List-Id: References: <4087C283.2090504@virage.com> In-Reply-To: <4087C283.2090504@virage.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Marc Reichman wrote: > Hi, > > I really like the wondershaper script, it works very well for me. My > question is this. Is there a way to get certain remote hosts to be > excluded from the shaping? I ask because I don't have my box connected > directly through the net. It sits behind a nat device, and has ports > forwarded in for services. I'd like to limit the ports and services, but > only to things going outside of my local network. > > Is there a way I can leave most things as-is, and just say "don't affect > any packets that are involved with 192.168.0.*"? I'm not sure I understand your topology, but I figure you're behind a NATting adsl/cable modem with a built-in switch? You should probably add a separate queue which is not limited in bandwidth and create a filter for ip range 192.168.0.0/24 to be directed to that queue. The other traffice should be directed to the other queue which is standard in wshaper. I don't have specific code-lines, but you're probably helped more anyway if you find out how to do this from the howto ;-) Cheers Simon _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/