LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-14-2009, 07:47 PM   #1
bt101
Member
 
Registered: Mar 2008
Posts: 31

Rep: Reputation: 15
How to Traffic Shape to Give Surfing Priority


Hi

I have an Ubuntu Server that is connected to my dialup modem. All the machines in the house use the Ubuntu Server as the gateway to the internet (yep I'd get highspeed if I could). How can I traffic shape on the Ubuntu Server so that surfing will get top priority and other stuff (downloads) will got no priority.

I've seen howtos about wondershaper, however I can't find any details about it. From the howtos, it appears that you enter upload/download speed limits, but I don't see anywhere to enter rules such as:
-give top priority to port 80
-give top priority to machine X (your surfing machine)

Thanks for any help.
 
Old 02-15-2009, 02:45 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well wondershaper does generally try to do what you're doing, but in a more generic way. There's no need to specify port 80, why would you? specifying a port targets browsing and bulk downloading in the same way. The smaller and more interactive the traffic is, the more priority wondershaper gives it. Having said that, just look at the script... you can clearly change it to put arbitrary priorities on certain ports nad hosts if you really need to. just have a look.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"ps" does not give nice value of process if realtime priority set... CJS Linux - General 1 07-16-2008 09:23 PM
Beat Traffic into Shape with Pound jeremy LQ Articles Discussion 0 10-12-2007 05:13 PM
LXer: Shape your traffic with trickle LXer Syndicated Linux News 0 04-13-2007 03:46 PM
Different ways to shape traffic ivanatora Linux - Networking 3 07-19-2004 03:21 PM
use iptables to give net traffic priority to web browsers ? qwijibow Linux - Security 2 02-17-2004 08:10 AM


All times are GMT -5. The time now is 03:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration