include $(TOPDIR)/rules.mk
PKG_NAME:=multiwan
-PKG_VERSION:=1.0k
+PKG_VERSION:=1.0l
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
define Package/multiwan
SECTION:=net
CATEGORY:=Network
- DEPENDS:=+ip +iptables +iptables-utils +iptables-mod-conntrack +iptables-mod-conntrack-extra
+ DEPENDS:=+ip +iptables +iptables-utils +iptables-mod-conntrack +iptables-mod-conntrack-extra +iptables-mod-ipopt
TITLE:=Simple multi WAN configuration
URL:=ftp://ftp.netlab7.com/
+ MAINTAINER:=Craig M. Coffee <craigc@netlab7.com>
endef
define Package/multiwan/description
option 'resolv_conf' '/tmp/resolv.conf.auto'
config 'interface' 'wan'
- option 'weight' '5'
+ option 'weight' '10'
option 'health_interval' '10'
option 'icmp_hosts' 'dns'
option 'timeout' '3'
option 'failover_to' 'balancer'
config 'interface' 'wan2'
- option 'weight' '5'
+ option 'weight' '10'
option 'health_interval' '10'
option 'icmp_hosts' 'dns'
option 'timeout' '3'
for TABLE in 123
do
- ip route | grep link | while read ROUTE
+ ip route | grep link | grep -Ev ^default | while read ROUTE
do
ip route add table $TABLE to $ROUTE
done
for TABLE in $iprule
do
- ip route | grep link | while read ROUTE
+ ip route | grep link | grep -Ev ^default | while read ROUTE
do
ip route add table $TABLE to $ROUTE
done