Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


richms

28168 posts

Uber Geek

Trusted
Lifetime subscriber

#36579 29-Jun-2009 08:15
Send private message

I have to look into rate limiting the connection here since the torrenting activities of others are starting to actually go fast enough to make browsing unplesent (I can tolerate youtube slowness when they are using it) - and voip is going choppy now - thats even with them limiting the speed in utorrent.

Firewall machine is running debian linux  - have no idea what version at the moment, it used to be woody but things have been changed and updated so many times on it... I would consider putting something else in but the machine is also my asterisk machine.

Just need a basic howto on setting it up to do the following

bridge 2 nics together - one my stuff, one the AP to the other guys
Give them second priority for anything going onto the internet when compared to my machines, but allow for full speed between the lans.

Easily doable?




Richard rich.ms

Create new topic
magu
Professional yak shaver
1599 posts

Uber Geek

Trusted
BitSignal
Lifetime subscriber

  #229094 29-Jun-2009 08:42
Send private message

Certainly not easily for first-timers, but quite possible.

A starting point is http://www.debian-administration.org/articles/187 for the basics of rate-limiting with iptables. You can evolve from there.




"Roads? Where we're going, we don't need roads." - Doc Emmet Brown



Ragnor
8218 posts

Uber Geek

Trusted

  #229150 29-Jun-2009 11:16
Send private message

You can probably find some precooked scripts for a standard QoS setup with a bit of googling.  If you are lazy like me you might want to use a distro designed to be a firewall proxy on a old pc between as your gateway eg: Smoothwall, Monowall, pfsense etc.

Most of the the above distro's come with simple to use web ui's for setting things up thesedays.  


mjb

mjb
996 posts

Ultimate Geek

Trusted

  #229490 30-Jun-2009 10:54
Send private message

magu: Certainly not easily for first-timers, but quite possible.

A starting point is http://www.debian-administration.org/articles/187 for the basics of rate-limiting with iptables. You can evolve from there.


That's just connection rate limiting - while useful, it's no good for high throughput established connections. for that, you want tc. which gets oh so brain poppingly confusing until you get your head around it.

This is just one example: http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm

So, ultimately, Ragnor is right - you probably want an all-in-one firewall package that has the magic to do all this already, with a nice easy to use web interface for configuration. I believe some of the packages Ragnor lists do this, I've not used any so can't help there sorry.

edit: hah, he actually mentions web interfaces. mjb reading comprehension: fail. :)




contentsofsignaturemaysettleduringshipping




rphenix
985 posts

Ultimate Geek

Lifetime subscriber

  #229512 30-Jun-2009 12:12
Send private message

Start with this:
http://www.voip-info.org/wiki/view/QoS+Linux+with+HFSC

(it also requires tc to be installed) but at least its a pretty good useful example. My problem with traffic shaping is not so much national bandwidth but international. You have to limit your connection for shaping to work properly, but you dont want to limit your national traffic to your international speed and if you factor in different speeds to different countries (china will be much slower than USA for example) it gets more complex :)

I use output from geoip for my tc rules at the moment but its far too complex for my liking I've been meaning to investigate other solutions.

I would add one comment while all in one distro's such as pfsense are great I don't like being limited to their feature set so also run debian on our firewall.

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.