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

23268 posts

Uber Geek


#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?


Create new topic
Professional yak shaver
1599 posts

Uber Geek

Lifetime subscriber

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

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

A starting point is 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

8035 posts

Uber Geek


  #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.  



923 posts

Ultimate Geek


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

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

A starting point is 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:

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. :)


897 posts

Ultimate Geek


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

Start with this:

(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

Twitter and LinkedIn »

Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

News »

Samsung Announces 2020 QLED TV Range
Posted 20-May-2020 16:29

D-Link A/NZ launches AI-Powered body temperature measuring system
Posted 20-May-2020 16:22

NortonLifeLock Online Banking Protection now available for New Zealand banks
Posted 20-May-2020 16:14

SD Express delivers new gigabyte speeds for SD memory cards
Posted 20-May-2020 15:00

D-Link A/NZ launches Nuclias cloud managed network solution hosted in Australia
Posted 11-May-2020 17:53

Logitech introduces new video streaming solution for home studios
Posted 11-May-2020 17:48

Next generation Volvo cars to be powered by Luminar LiDAR technology
Posted 7-May-2020 13:56

D-Link A/NZ launches Wi-Fi Certified EasyMesh system
Posted 7-May-2020 13:51

Spark teams up with Microsoft to bring Xbox All Access to New Zealand
Posted 7-May-2020 13:01

Microsoft plans to establish its first datacenter region in New Zealand
Posted 6-May-2020 11:35

Genesis School-gen has joined forces with Mind Lab Kids
Posted 1-May-2020 12:53

Malwarebytes expands into privacy with fast, frictionless VPN
Posted 30-Apr-2020 16:06

Kordia to donate TV airtime on Channel 200 to community groups
Posted 30-Apr-2020 16:00

OPPO A91 is a high specs mid-range smartphone
Posted 23-Apr-2020 16:44

NordVPN rolling out NordLynx new generation VPN protocol based on WireGuard
Posted 23-Apr-2020 16:37

Geekzone Live »

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

Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron

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.

Alternatively, you can receive a daily email with Geekzone updates.