Bandwith Management


(Bimoputra Pratama) #1

How do I make bandwidth on Nethserver, for example LAN1 IP 192.168.1.10 80Mbps, LAN2 IP 192.168.2.10 30Mbps, LAN3 192.168.3.10 10Mbps and so on such as ISP internet connection providers to customers?


(Marc) #2

There’s traffic shapping, if it fits your needs.
For WiFi on hotels and alike there’s Icaro + Dedalo Hotspot.


(Bimoputra Pratama) #3

What I asked was not wifi and what I asked was ISP internet connection providers who could share internet quota with customers via cable


(Markus Neuberger) #4

I am afraid that what you asked for is not directly supported in Nethserver. Nethserver aims to be a full gateway server solution for home and small/medium business and not to work at ISP level.

Wondershaper may help you (I didn’t test intensively):

yum install wondershaper

wondershaper ens33 100 10 sets interface ens33 to 100 Kbit/s download and 10 Kbit/s upload. This way the network behind the interface has limited bandwith.


(Bimoputra Pratama) #5

Nethserver should have a connection bandwidth limit feature in IP and connection bandwidth limits in any feature because ISP providers both in hosting, vps and other ISP services have already provided bandwidth limit features.


(Filippo Carletti) #6

NethServer 7.5 has introduced the bandwidth limiting feature.
@dnutan link above has all the details.
Basically, you define your LANs as CIDR firewall objects, create QoS classes and assign traffic from LANs to classes using firewall rules.


(Bimoputra Pratama) #7

Can you please let me know via screenshots, I still don’t understand how to set it up!


(Markus Neuberger) #8

Set inbound/outbound speed of your red interface(s) in “Network”:

In “Firewall objects” create a new CIDR object:

grafik

In “Traffic shaping” create a new class (lowspeed in this example):

grafik

In “Firewall rules” create a new rule and use the CIDR object in “Source” and the class in “Action”: