Ipcontrol

From Wiki of WFilter NG Firewall
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:Shaper}} == Wizard == <p>You need to configure the exact bandwidth for WAN interfaces.这个页面是为了便于用户设置各个WAN口带宽的,会列出...")
 
Line 1: Line 1:
{{DISPLAYTITLE:Shaper}}
+
{{DISPLAYTITLE:Bandwidth Shaper}}
== Wizard ==
+
== Bandwidth Shaper ==
<p>You need to configure the exact bandwidth for WAN interfaces.这个页面是为了便于用户设置各个WAN口带宽的,会列出当前配置的所有WAN口网卡,需要分别设置对应的上行和下行带宽,带宽单位为kbit,可以点击“带宽参考”,根据需要去快速设置带宽值。</p>
+
This module enables you to limit and shaper client's real-time bandwidth rate, including below features:
[[File:Ipcontrol_guide_en.jpg]]
+
* Limit bandwidth rate based on IP, group and user account.
 +
* Set time range for bandwidth shaper.
 +
* Set maximum and minimum bandwidth rate for downloading and uploading.
 +
* Ensure the minimum bandwidth rate for client devices.
 +
 
 +
Notice: Rules are always processed from the top of a list down, first match wins. You may drag the re-order icon to re-order rules.
 +
 
 +
[[File:ros_ipcontrol_001.png|800px]]
 +
 
 +
== WAN Bandwidth Settings ==
 +
Correct WAN interfaces bandwidth settings are essential for bandwidth shaper.
 +
* The WAN bandwidth wizard will appear for first time access this module.
 +
* If you have multiple WAN interfaces, bandwidth of every WAN interface shall be configured.
 +
* The bandwidth unit is "kbit".
 +
* You may click "Reference" to check a pre-defined common bandwidth list. If none fits your network, you need to set the bandwidth manually.
 +
[[File:Ipcontrol_guide_en.jpg|650px]]
  
 
== Policy ==
 
== Policy ==
<p>'''Limit down bandwidth to''':限制用户下行带宽的总值。下行总带宽的限制包括“最小值”和“最大值”。用户的可用带宽不会超过带宽的“最大值”。而“最小值”指用户可以使用的保障带宽,即使在网络繁忙时,客户机也可以使用其最小带宽。'''请注意''':所有规则的下行带宽最小值之和,不应当超过网络的实际下行带宽。</p>
+
Besides the applied to "clients" and "time", detailed "bandwidth shaper policy" settings are described in below.
<p>'''Limit up bandwidth to''':限制用户上行带宽的总值。上行总带宽的限制包括“最小值”和“最大值”。用户的可用带宽不会超过带宽的“最大值”。而“最小值”指用户可以使用的保障带宽,即使在网络繁忙时,客户机也可以使用其最小带宽。'''请注意''':所有规则的上行带宽最小值之和,不应当超过网络的实际上行带宽。</p>
+
 
<p>'''Ensure each client can have''':保障每个IP的最小带宽。即使在网络繁忙时,客户机也可以使用其最小带宽。'''请注意''':所有用户的保障带宽之和,不应当超过整个组的分配带宽。</p>
+
* You can set maximum and minimum bandwidth rate for "UP" and "DOWN" separately, leave it as blank for no limit.
[[File:Ipcontrol_set_en.jpg]]
+
* '''Minimum Rate''': the minimum rate ensures the clients to have this bandwidth rate even the line is busy. '''Notice''': sum of the minimum rate of all rules shall not exceeds the available internet bandwidth rate.
 +
* '''Maximum Rate''': the maximum bandwidth rate the clients can have.
 +
* '''Ensure Bandwidth''': ensure a client ip to have this rate, even bandwidth is occupied. '''Notice''': "online clients number" * "ensure bandwidth" shall not exceed the group's allocated bandwidth(minimum rate).
 +
* If sum of minimum rate exceeds available internet bandwidth, ROS will not be able to ensure the minimum rate.
 +
[[File:Ipcontrol_set_en.jpg|650px]]
  
== Settings ==
+
Let's take an example.
<p>这个页面可以设置WAN口带宽和更改WAN口带宽,所有WAN口网卡和配置过的带宽都会显示在列表中,可以点击“带宽参考”,根据需要去快速设置带宽值。</p>
+
Suppose the total download rate is "20Mb"(2.5mbps), and there are three departments to share the internet. The solution is:
[[File:Ipcontrol_setwanbd_en.jpg]]
+
* Rule 1: Set download rate of "Depart A" to 1.25mbps(minimum)-2.5mbps(maximum).
 +
* Rule 2: Set download rate of "Depart B" to 0.625mbps(minimum)-2.5mbps(maximum).
 +
* Rule 3: Set download rate of "Depart C" to 0.625mbps(minimum)-1.25mbps(maximum).
 +
The result:
 +
* When the line is not busy, "Depart A" and "Depart B" can get maxium downloading rate of 20Mb(2.5mbps). However, "Depart C" can only get maxium rate of 10Mb(1.25mbps).
 +
* When the line is busy, "Depart A" gets 10Mb(1.25mbps), while "Depart B" and "Depart C" can only get 5Mb(0.625mbps).
 +
If you also want to ensure each client's rate with a department, you can set "ensure bandwidth".
 +
For example, suppose there're 10 clients in "Depart C", you can set "ensure bandwidth" to 500kb(62.5kbps). So even one ip is torrenting, others still can get 500kb(632.5kbps) rate.

Revision as of 17:24, 23 December 2015

1 Bandwidth Shaper

This module enables you to limit and shaper client's real-time bandwidth rate, including below features:

  • Limit bandwidth rate based on IP, group and user account.
  • Set time range for bandwidth shaper.
  • Set maximum and minimum bandwidth rate for downloading and uploading.
  • Ensure the minimum bandwidth rate for client devices.

Notice: Rules are always processed from the top of a list down, first match wins. You may drag the re-order icon to re-order rules.

Ros ipcontrol 001.png

2 WAN Bandwidth Settings

Correct WAN interfaces bandwidth settings are essential for bandwidth shaper.

  • The WAN bandwidth wizard will appear for first time access this module.
  • If you have multiple WAN interfaces, bandwidth of every WAN interface shall be configured.
  • The bandwidth unit is "kbit".
  • You may click "Reference" to check a pre-defined common bandwidth list. If none fits your network, you need to set the bandwidth manually.

Ipcontrol guide en.jpg

3 Policy

Besides the applied to "clients" and "time", detailed "bandwidth shaper policy" settings are described in below.

  • You can set maximum and minimum bandwidth rate for "UP" and "DOWN" separately, leave it as blank for no limit.
  • Minimum Rate: the minimum rate ensures the clients to have this bandwidth rate even the line is busy. Notice: sum of the minimum rate of all rules shall not exceeds the available internet bandwidth rate.
  • Maximum Rate: the maximum bandwidth rate the clients can have.
  • Ensure Bandwidth: ensure a client ip to have this rate, even bandwidth is occupied. Notice: "online clients number" * "ensure bandwidth" shall not exceed the group's allocated bandwidth(minimum rate).
  • If sum of minimum rate exceeds available internet bandwidth, ROS will not be able to ensure the minimum rate.

Ipcontrol set en.jpg

Let's take an example. Suppose the total download rate is "20Mb"(2.5mbps), and there are three departments to share the internet. The solution is:

  • Rule 1: Set download rate of "Depart A" to 1.25mbps(minimum)-2.5mbps(maximum).
  • Rule 2: Set download rate of "Depart B" to 0.625mbps(minimum)-2.5mbps(maximum).
  • Rule 3: Set download rate of "Depart C" to 0.625mbps(minimum)-1.25mbps(maximum).

The result:

  • When the line is not busy, "Depart A" and "Depart B" can get maxium downloading rate of 20Mb(2.5mbps). However, "Depart C" can only get maxium rate of 10Mb(1.25mbps).
  • When the line is busy, "Depart A" gets 10Mb(1.25mbps), while "Depart B" and "Depart C" can only get 5Mb(0.625mbps).

If you also want to ensure each client's rate with a department, you can set "ensure bandwidth". For example, suppose there're 10 clients in "Depart C", you can set "ensure bandwidth" to 500kb(62.5kbps). So even one ip is torrenting, others still can get 500kb(632.5kbps) rate.

Personal tools
Namespaces

Variants
Actions
Navigation
Tools