From: Craig M. Coffee Date: Sat, 24 Apr 2010 00:29:57 +0000 (+0000) Subject: Updated for better use with ppp and dns requests X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=69da70daaff49a58d668a60d67fdac23b3597f3a;p=openwrt%2Fsvn-archive%2Farchive.git Updated for better use with ppp and dns requests SVN-Revision: 21116 --- diff --git a/net/multiwan/Makefile b/net/multiwan/Makefile index 30d6dbb4a6..628a6f03a7 100644 --- a/net/multiwan/Makefile +++ b/net/multiwan/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=multiwan -PKG_VERSION:=1.0k +PKG_VERSION:=1.0l PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk @@ -16,9 +16,10 @@ 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 endef define Package/multiwan/description diff --git a/net/multiwan/files/etc/config/multiwan b/net/multiwan/files/etc/config/multiwan index 9ba84743a9..5a28410c84 100644 --- a/net/multiwan/files/etc/config/multiwan +++ b/net/multiwan/files/etc/config/multiwan @@ -4,7 +4,7 @@ config 'multiwan' 'config' 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' @@ -13,7 +13,7 @@ config 'interface' 'wan' option 'failover_to' 'balancer' config 'interface' 'wan2' - option 'weight' '5' + option 'weight' '10' option 'health_interval' '10' option 'icmp_hosts' 'dns' option 'timeout' '3' diff --git a/net/multiwan/files/usr/bin/multiwan b/net/multiwan/files/usr/bin/multiwan index 3160218096..e0a67a86a4 100755 --- a/net/multiwan/files/usr/bin/multiwan +++ b/net/multiwan/files/usr/bin/multiwan @@ -601,7 +601,7 @@ ip route flush table 123 > /dev/null 2>&1 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 @@ -657,7 +657,7 @@ ip route flush table $iprule > /dev/null 2>&1 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