Managing network traffic with WebHTB
Traffic CONTROL
© Paulus Rusyanto, Fotolia.com
We show you how WebHTB lets you manage network bandwidth through a convenient browser interface.
Most client computers are configured to draw the bandwidth they need up to the limits of the hardware, but the default techniques for sharing bandwidth among multiple systems on a local network are often inadequate when traffic volumes climb. Many admins find they get better network performance (and fewer user complaints) by imposing a system that places limits on individual bandwidth usage. For instance, imagine what would happen if several of the systems on a local network simultaneously started downloading movies from torrent sites, using up to 98 percent of the collective download and upload capacity. The other users on the network would complain, and you as the network administrator would have to devote precious time to troubleshooting and answering email. Why not let an automated system impose bandwidth management that addresses these kinds of issues?
Unfortunately, the tools that take advantage of the QoS (Quality of Service) entry in the Linux kernel are often difficult to set up and configure, and the best ones require a kernel recompile. The HTB-tools package [1] has long been a standard Linux tool for limiting bandwith use. Although it requires a lot of calculations and fiddling with configuration files, you can fine-tune HTB-tools to meet the needs of your network.
An easy alternative for managing traffic flow on your local network is a tool called WebHTB. WebHTB (Figure 1) is a set of PHP files that can help you allocate bandwidth through a web-based AJAX front end. WebHTP lets you limit bandwidth on external and internal IP addresses and manage bandwith on private Secure Network Address Translation (SNAT) addresses.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Dutch Government Turns to Open Source for Digital Sovereignty
Following in the footsteps of European countries, the Netherlands is looking to increase its sovereign digital infrastructure with open source software.
-
Linux May Soon Work on Snapdragon X2-Based PCs
If you're thinking about buying a Snapdragon X2-based desktop or laptop, Linux may soon be an option.
-
KDE for People Initiative Calls for AI Ban in Plasma
A new community of KDE wants the project to adopt a strict no-AI policy for KDE Plasma.
-
KDE Sets Ambitious Goals for 2026 and Beyond
KDE Connect reveals the goals for the Linux desktop darling, with one of those goals long overdue.
-
It’s Time to Test Fedora 45 Beta
Fedora 45 beta has been released with updated Gnome, KDE Plasma, and kernel.
-
Ubuntu Stonking Stingray Gets Even Rustier
Ubuntu 26.10 has completed its migration to the Rust-based coreutils.
-
AI Fixes Linux Bottlenecks Using “Hideous” Code
A Linux developer used AI to fix bottlenecks that caused problems when building the kernel. The resulting AI-generated code needed a lot of work.
-
Advanced Video Coding Still Under Patent
Brazilian patent BRPI0109962B1 has expired, which means that DivX and Xvid are no longer problematic for Linux, but it doesn’t mean that video is all of a sudden fully unleashed.
-
2,000 Vulnerabilities per Linux Release
Thanks to AI bug hunters, the Linux kernel is seeing record numbers of vulnerabilities, and it's overwhelming developers.
-
Linux Exempt from California’s Age Verification Law
So long as Linux is distributed under the GPL, MIT, BSD, and Apache licenses, the OS is exempt from being required to verify the age of its users in California.
