Skip to content

Conversation

@alex-schwartzman
Copy link

Mini-MWAN is a minimalistic multi-WAN load balancing and failover daemon for OpenWrt. Unlike mwan3, it is orthogonal to nft and iptables, instead using IP routes and metrics for traffic management.

Ideal for use-cases where mwan3 is too heavy or its dependencies cannot be satisfied (e.g., OpenWrt 23.05+).

Features:

  • Failover mode: automatic switching to backup WAN on primary failure
  • Multi-uplink mode: load balancing across multiple WAN connections
  • Configurable ping-based health monitoring
  • UCI configuration interface
  • LuCI web interface coming soon as a separate package
  • Pure Lua implementation with minimal dependencies
  • Status reporting and logging

Tested on OpenWrt 24.10 (ramips/mt7621 ASUS RT-AX53U MediaTek MT7621 ver:1 eco:3).

Contributions and feedback are welcome at:
https://github.com/alex-schwartzman/mini-mwan

📦 Package Details

Maintainer: @alex-schwartzman
(You can find this by checking the history of the package Makefile.)

Description:
Minimalistic multi-WAN load balancing and failover daemon that uses IP routes and metrics instead of nft/iptables. Lighter alternative to mwan3, but not a full replacement.


🧪 Run Testing Details

  • OpenWrt Version: 24.10
  • OpenWrt Target/Subtarget: all (architecture-independent Lua package)
  • OpenWrt Device: ASUS RT-AX53U (ramips/mt7621)
  • OpenWrt Device: GL.iNet Flint 2 MT6000 (mediatek/filogic)

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

If your PR contains a patch:

  • It can be applied using git am
  • It has been refreshed to avoid offsets, fuzzes, etc., using
    make package/<your-package>/refresh V=s
  • It is structured in a way that it is potentially upstreamable
    (e.g., subject line, commit description, etc.)
    We must try to upstream patches to reduce maintenance burden.

Mini-MWAN is a minimalistic multi-WAN load balancing and failover
daemon for OpenWrt. Unlike mwan3, it does not depend on nft or
iptables, instead using IP routes and metrics for traffic management.

Ideal for use-cases where mwan3 is too heavy or its dependencies
cannot be satisfied (e.g., OpenWrt 23.05+).

Features:
- Failover mode: automatic switching to backup WAN on primary failure
- Multi-uplink mode: load balancing across multiple WAN connections
- Configurable ping-based health monitoring
- UCI configuration interface
- LuCI web interface coming soon as a separate package
- Pure Lua implementation with minimal dependencies
- Status reporting and logging

Tested on OpenWrt 24.10 (ramips/mt7621 ASUS RT-AX53U MediaTek MT7621 ver:1 eco:3).

Contributions and feedback are welcome at:
https://github.com/alex-schwartzman/mini-mwan

Signed-off-by: Alex Schwartzman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant