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口带宽的,会列出...")
 
(Policy)
 
(8 intermediate revisions by one user not shown)
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]]
 +
 
 +
A typical example:
 +
 
 +
[[File:ros_ipcontrol_002.png|900px]]
 +
 
 +
In the above diagram, 20Mbit downloading bandwidth is allocated to the R&D department, and each client in the R&D department won't exceed 2Mbit downloading bandwidth.
 +
 
 +
== 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>
+
* '''Bandwidth Type''': You can limit bandwith for all traffic, or a certain type of traffic based on "application type" or "website category".
[[File:Ipcontrol_set_en.jpg]]
+
* '''Minimum Bandwidth''': the minimum bandwidth defines the static allocated bandwidth. '''Notice''': sum of the minimum rate of all rules shall not exceeds the available internet bandwidth rate.
 +
* '''Maximum Bandwidth''': the maximum bandwidth rate the clients can have.
 +
* '''Client Maximum Rate ''': The maximum bandwidth for each client in this rule.
 +
* '''Maximum TCP sessions''': Maximum concurrent TCP connections per client.
 +
 
 +
* If sum of minimum rate exceeds available internet bandwidth, WFilter will not be able to ensure the minimum rate.
 +
[[File:Ipcontrol_set_en.png|900px]]
 +
 
 +
[[File:Ipcontrol_set_en2.png|900px]]
  
== Settings ==
+
Let's make an example. Suppose the total download rate is "20Mb"(2.5mbps), and there are three departments to share the internet. The solution is:
<p>这个页面可以设置WAN口带宽和更改WAN口带宽,所有WAN口网卡和配置过的带宽都会显示在列表中,可以点击“带宽参考”,根据需要去快速设置带宽值。</p>
+
* Rule 1: Set download rate of "Depart A" to 1.25mbps(minimum)-2.5mbps(maximum).
[[File:Ipcontrol_setwanbd_en.jpg]]
+
* 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 internet 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 internet is busy, "Depart A" gets 10Mb(1.25mbps), while "Depart B" and "Depart C" can only get 5Mb(0.625mbps).
 +
* If you want to limit bandwidth of each client IP, you need to setup "client maximum rate".

Latest revision as of 20:55, 9 July 2019

[edit] 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

A typical example:

Ros ipcontrol 002.png

In the above diagram, 20Mbit downloading bandwidth is allocated to the R&D department, and each client in the R&D department won't exceed 2Mbit downloading bandwidth.

[edit] 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

[edit] 3 Policy

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

  • Bandwidth Type: You can limit bandwith for all traffic, or a certain type of traffic based on "application type" or "website category".
  • Minimum Bandwidth: the minimum bandwidth defines the static allocated bandwidth. Notice: sum of the minimum rate of all rules shall not exceeds the available internet bandwidth rate.
  • Maximum Bandwidth: the maximum bandwidth rate the clients can have.
  • Client Maximum Rate : The maximum bandwidth for each client in this rule.
  • Maximum TCP sessions: Maximum concurrent TCP connections per client.
  • If sum of minimum rate exceeds available internet bandwidth, WFilter will not be able to ensure the minimum rate.

Ipcontrol set en.png

Ipcontrol set en2.png

Let's make 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 internet 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 internet is busy, "Depart A" gets 10Mb(1.25mbps), while "Depart B" and "Depart C" can only get 5Mb(0.625mbps).
  • If you want to limit bandwidth of each client IP, you need to setup "client maximum rate".
Personal tools
Namespaces

Variants
Actions
Navigation
Tools