Mwan
From Wiki of WFilter NG Firewall
(Difference between revisions)
(→Solution) |
|||
Line 5: | Line 5: | ||
== Solution == | == Solution == | ||
You need to define line solutions at first. For example: | You need to define line solutions at first. For example: | ||
− | * WAN1 Only: set WAN1 as a dedicated line for business servers only. | + | * "WAN1 Only": set WAN1 as a dedicated line for business servers only. |
− | * WAN2 & WAN3 Balanced: for office users to share these two lines. | + | * "WAN2 & WAN3 Balanced": for office users to share these two lines. |
− | * WAN3 Only: traffic to certain websites will be in this line. | + | * "WAN3 Only": traffic to certain websites will be in this line. |
− | You can add | + | You can add multiple line solutions, for each solution, you need to define the load balancing rank for every interface. |
[[File:ros_mwan_001.png|500px]] | [[File:ros_mwan_001.png|500px]] |
Revision as of 17:55, 23 December 2015
Contents |
1 Muti-WAN
Muti-WAN enables you to set load balancing and advanced routing when you have multiple WAN interfaces. This module has no use if you only have one WAN interface.
2 Solution
You need to define line solutions at first. For example:
- "WAN1 Only": set WAN1 as a dedicated line for business servers only.
- "WAN2 & WAN3 Balanced": for office users to share these two lines.
- "WAN3 Only": traffic to certain websites will be in this line.
You can add multiple line solutions, for each solution, you need to define the load balancing rank for every interface.
3 Policy
A solution won't work without policy. Policy is the rule to define which traffic picks which solution. Settings:
- Source IP: source ip address or ip range. You can define IP as "Any", "Single" and "Range".
- For "Single", a single ip or subnet is allowed(for example: 192.168.1.10 or 192.168.1.0/24).
- For "Range", you need to input an ip range.
- Target, target ip or domain
- For "Single" and "Range", the synax is the same as "Source IP".
- For "Domain", you may add multiple domains. Wildcards "*?" are supported.
Please 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.