This script can handle more than two wans, and provides QoS for the wan links if qos is enabled on each wan link.
If you're using the script from https://forum.openwrt.org/viewtopic.php?id=23199, make sure to remove it prior to installing this one. (opkg remove luci-app-dualwan, opkg remove dualwan)
The Multi-WAN agent script itself:
ftp://ftp.netlab7.com/multiwan_1.0.18.ipk
And it's corresponding Luci Configuration Module:
ftp://ftp.netlab7.com/luci-app-multiwan_1.0.16.ipk
Update 1.0.18 - Changes per #7792 (Thanks buildster!):
a) make the process-killing of multiwan agent work
b) comment out a line of typo (fdown), which isn't needed anyway
because ifup does ifdown first
c) run ifup in foreground because many heavy ifup processes
crash/restart the system, probably running out of memory
d) introduce the specification of multiport (see iptables man page)
and the ability to specify source-ports, as well as
source-ports, or both
e) show logger messages if debug is on
Update: 1.0.17 - Copies all routes (except default) to multiwan routing tables for vpn/routing compatibility.
Any feedback is welcome, please let me know if anything doesn't work, or you run into any issues.
Thanks
(Last edited by SouthPawn on 14 Sep 2010, 19:55)