top_left top_right
bottom_left
Next Event: Unknown | Forum Rules | QGL Website | Event Registration
openFolder AusForums.com
iconwatfolderLineopenFolder LANs
iconwatfolderLineopenFolder QGL
iconwatfolderLineopenFolder QGL Forum
Author
Topic: Net Limiting like Proggy 4 linux
Tollaz0r!
Posts: 8205
Location: Brisbane, Queensland
Hello all

I've recently acquired a laptop and installed Fedora Core 8 (700ish meg version) on it. It is set up and working fine.

I'm a linux noob and I'm looking to find a program that will limit the amount of bandwidth any 1 person can use, dynamically if possible. So no one person on the network can have it all causing lag in games for everyone else. I'd also like the program to prioritize packets so that data for games like TF2 are passed to the top of the que.
I've had a search on google allthough I'm not sure exactly what I'm looking for.

Can people offer suggestions on what I should use, or where I should look?

Cheers.

P.S. TF2 is good fun.

system
--
trog
AGN Admin
Posts: 21953
Location: Brisbane, Queensland
good question; I could probably muddle my way through limiting http traffic using a squid proxy or something but I don't know how to do it for all traffic (which I think is what you want to do?)
Tollaz0r!
Posts: 8206
Location: Brisbane, Queensland
Yer I'm looking to do it across all traffic. This computer will be between the modem and router. It is possible to do it this way isn't it?
koopz
Posts: 6499
Location: Queensland
Smoothwall 3 has the functionality now I'm told..

I don't set up nix routers for friends/rellies anymore though - too slack


parabol
Posts: 3770
Location: Brisbane, Queensland
I used to do this manually with iptables/tc commands. Effective, but insanely messy and complex. Alternatively there seem to be a couple of programs that do it for you. For example:

http://www.mastershaper.org/index.php/Main_Page

Haven't tried it myself but the screenshots look promising, and the program is still being developed. They have an online demo that you can try out to see all the options. I recommend checking it out, you just need a browser:

http://www.mastershaper.org/index.php/Demo


last edited by parabol at 23:05:04 19/Nov/07
Habib
Posts: 110
Location: Brisbane, Queensland
So you're going to set up your laptop as a NATting gateway, then?

By the looks of it iptables + tc should do the trick (or just pure tc, easier to use iptables with packet marking)

http://lartc.org/howto/lartc.cookbook.fullnat.intro.html

If you copy the example, you can use iptables rules to set the priority. Then you can prioritise TF2 with something like:

iptables -t mangle -A PREROUTING -p udp --dport 22000 -j MARK --set-mark 0x1

(replacing 22000 with whatever port tf2 normally uses)
Tollaz0r!
Posts: 8207
Location: Brisbane, Queensland
I was hoping to avoid using command line and taking the noobish way out by using a GUI.

I'll give mastershaper a crack, if it doesn't do the trick then I'll work the iptables/tc stuff. Thanks guys.
teq
Posts: 521
Location: Brisbane, Queensland
freebsd + dummynet = win
system
--
Not a new post since your last visit.
New Post Since your last visit
Back To Forum
Advertise with Us | Privacy Policy | Contact Us
© Copyright 2001-2026 AusGamers Pty Ltd. ACN 093 772 242.
Hosted by Mammoth Networks - Australian VPS Hosting
Web development by Mammoth Media.