> For the complete documentation index, see [llms.txt](https://book.ferro.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.ferro.pro/nw/mwan.md).

# mwan

* [OS](#os)
* [OpenMPTCProuter](#openmptcprouter)
* [VyOS](#vyos)
* [ClearOS](#clearos)
* [Linux Bond](#linux-bond)
* [Multipath TCP MPTCP](#multipath-tcp-mptcp)
  * [kernel >= v5.6](#kernel--v56)
  * [kernel <= 5.4](#kernel--54)
* [L4](#l4)

## OS

* [OpenWRT mwan3](/openwrt/mwan3.md)
* [Mikrotik](/nw/mikrotik.md)
* OpenBSD: <https://www.openbsd.org/faq/pf/pools.html#outgoing>
* pfSense: <https://www.cyberciti.biz/faq/howto-configure-dual-wan-load-balance-failover-pfsense-router/>

## OpenMPTCProuter

* OpenWRT+MPTCP+Shadowsocks+Glorytun(multipath UDP tunnel): <https://www.openmptcprouter.com/screenshot>
* default login: root / \<no\_pass> ; then config:

## VyOS

* <https://wiki.vyos.net/wiki/WAN\\_load\\_balancing>
* <https://docs.vyos.io/en/equuleus/configuration/loadbalancing/index.html> | incompatible with dynamic routing protocol

## ClearOS

* network config: <https://documentation.clearos.com/content:en\\_us:7\\_ug\\_network>
* mwan: <https://www.clearos.com/marketplace/network/Multi-WAN>
* skip wizard: <https://w.x.y.z:81/app/base/wizard/stop>

## Linux Bond

<https://www.kernel.org/doc/Documentation/networking/bonding.txt>

```
cat /proc/net/bonding/*
```

<https://wiki.mikrotik.com/wiki/Manual:Interface/Bonding#Bonding\\_modes>

Bonding vs Load Balancing: <https://di-marco.net/blog/it/2022-01-29-multi\\_wan\\_and\\_internet\\_bonding\\_with\\_openmptcprouter/>

## Multipath TCP (MPTCP)

Year 2013 | PPT | 185 pages: <http://multipath-tcp.org/data/MultipathTCP-netsys.pdf>

### kernel >= v5.6

<https://www.mptcp.dev/> <https://github.com/multipath-tcp/mptcp\\_net-next/wiki>

### kernel <= 5.4

<https://www.multipath-tcp.org/>

## L4

* OpenWRT： /cgi-bin/luci/admin/services/[passwall](https://github.com/xiaorouji/openwrt-passwall/issues/2463)/haproxy
* v2ray: <https://toutyrater.github.io/routing/balance2.html>
