Hi all,
One day, we'll have to write some technical documentation on this. In ClearOS, the network traffic flow goes something like this:
Internet <-> Bandwidth <-> Firewall <-> Filter <-> Proxy <-> LAN system
When the proxy is not enabled, bandwidth rules using the IP address of a LAN system will work as expected. As soon as you enable the proxy, those LAN IPs are proxied. The bandwidth manager has no (easy) way to distinguish the original source of a web page request. You can still limit web uploads/download for the
entire proxy, but not by LAN IP address.
In ClarkConnect 4.x, the bandwidth shaper was implemented a little differently.
Internet <-> Upstream Bandwidth <-> Firewall <-> Filter <-> Proxy <-> Downstream Bandwidth <-> LAN system
It was
kind of possible to limit web downloads from a LAN system. The proxy downloaded a web request at full speed and only started to slow down once data flowed back the LAN web browser. This created two side effects:
1) it caused unexpected burst problems (bad for VoIP)
2) it made the bandwidth rule only effective for large files (not casual web browsing)
Bandwidth Manager - Small Businesses/Organizations
For a small business/organization (the target market for ClearOS Enterprise), the best way to work with bandwidth is to:
- Create bandwidth rules for high priority traffic
- Let the low priority traffic battle for what is left
For example:
- Create a bandwidth rule to prioritize VoIP traffic
- Create a bandwidth rule limiting web uploads/downloads to the box (for example, cap it at 50% of the total bandwidth)
- Create bandwidth rules limiting upload/downloads by LAN IP
A user on the LAN will have shared access to the limited web proxy bandwidth, while still limited for other protocols (bittorrent for example) so he/she won't hog bandwidth. VoIP calls will always pass through and push out low priority traffic.
Bandwidth Manager - Cybercafe, ISP, Multi-Tenant
The bandwidth requirements are different for cybercafes, ISPs and the multi-tenant market. In those markets you want:
- Specific bandwidth allotments by user or IP
The cybercafe/ISP/multi-tenant world might need to help ClearFoundation implement a better solution. I personally know that these markets are underserved, and in an ideal world there would be a ClearOS solution tailored for it (captive portal, radius, etc). That's... not on the radar map for ClearCenter right now

but ClearOS is open source -- so we're open for contributions!