LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-19-2012, 04:29 PM   #1
CComputer
LQ Newbie
 
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
How to Prioritize a port with QoS


I have a linux(debian server) based gateway on my LAN, now i need priorize the externals connections by port (to debian server), is possible priorize it with QoS (e.g. all traffic to port 5800 set prio 1, all rest of traffic set prio 99) ?, and i need recompile the kernel for do it?

I look for a simple solution, but the examples I saw are for more complete system.

thanks you and sry for my bad english

Last edited by CComputer; 09-19-2012 at 04:33 PM.
 
Old 09-20-2012, 06:33 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Have a look at the LARTC Example of a full nat solution with QoS*?
 
Old 09-20-2012, 06:42 AM   #3
cpasqualini
Member
 
Registered: Dec 2010
Location: Concordia, Entre Ríos, Argentina
Distribution: Debian
Posts: 46

Rep: Reputation: 5
first: Read the documentation!! http://lartc.org/howto
yes, i know, it is toomuch... but it pays off

for make you a little short, i use HTB on the internet access, but to prioritize outbound traffic.
see http://lartc.org/howto/lartc.cookbook.ultimate-tc.html

in my case, the bottleneck is in the upload part of the link, so the right thing to do if i had in your situation is to give max priority to the connections coming from tcp/22 and tcp/5900 on my lan/dmz.

if you read the entire howto, you will get a really more comprehensive point of view of your problem and you will be able to design the better solution to it

best regards
 
  


Reply



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
How to prioritize the use of physical memory instead of swap? afreitascs Slackware 6 10-26-2010 04:20 PM
can metric prioritize between two Ethernet lan ? Joydeep Bakshi Linux - Networking 3 06-18-2010 12:08 AM
Incoming traffic prioritize dorian33 Linux - Networking 8 10-26-2008 05:44 AM
How do I prioritize network interfaces MikeyCarter Linux - Networking 2 08-27-2008 02:30 PM
prioritize (inversely) P2P traffic. eantoranz Linux - Networking 0 08-11-2005 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:04 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
Open Source Consulting | Domain Registration