LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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, 08:47 PM   #1
bt101
Member
 
Registered: Mar 2008
Posts: 32

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, 03:45 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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 10:23 PM
Beat Traffic into Shape with Pound jeremy LQ Articles Discussion 0 10-12-2007 06:13 PM
LXer: Shape your traffic with trickle LXer Syndicated Linux News 0 04-13-2007 04:46 PM
Different ways to shape traffic ivanatora Linux - Networking 3 07-19-2004 04:21 PM
use iptables to give net traffic priority to web browsers ? qwijibow Linux - Security 2 02-17-2004 09:10 AM


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

Main Menu
Advertisement
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