MultiWAN
The MultiWAN view allows you to create and configure WAN traffic divisions for load balancing and failover and applying traffic rules.
Introduction
Using the MultiWAN feature, you can enable up to 250 WAN interfaces to:
- Provide load balancing over multiple WAN interfaces based on a numeric weight assignment.
- Monitor connections using repeated ping tests and can automatically route outbound traffic to another WAN interface if the first WAN interface loses connectivity.
- Set rules to customize which outbound connections should use which WAN interface
- Customize rules based on various parameters such as IP:s, port(s) and protocol.
Why should I use mwan3?
If you have multiple internet connections, you want to control which traffic goes through which WANs
Mwan3 can handle multiple levels of primary and backup interfaces, load-balanced or not. Different sources can have different primary or backup WANs.
Mwan3 uses netfilter mark mask to be compatible with other packages (such as OpenVPN, PPTP VPN, QoS-script, Tunnels, etc) as you can configure traffic to use the default routing table.
Mwan3 can also load-balance traffic originating from the router itself
Tabs
The MultiWAN settings are divided into tabs.
Settings
The MultiWAN Settings tab allows you to add or edit multiple WAN connections and turn them on or off. You can also configure thresholds for WAN up/down detection and reliability monitoring.
Members
The Members tab allows you to create member groups for interfaces, to use with policies for traffic management. The metric and weight settings are used to manage traffic in the member groups.
Policies
The Policies tab allows you to group members into policy sets for use with the traffic rules.
Rules
The Rules tab allows you to define how LAN traffic should be filtered and distributed over the available WANs.
Rules are the way the Policies are applied to the traffic. Each Rule targets packets with some kind of filter.
The Rules are applied in order from top to bottom. Multiple rules that can use the same policy but target different traffic.
Workflow
1: WAN Interfaces
As a first step, you need to add all network interfaces that should be part of the MultiWAN.
2: Members
Next, each interface must have at least one member, with per interface giving it appropriate Metric and Weight.
3: Policies
With the members set up, you must create at least one policy containing at least two members.