Changeset 21116


Ignore:
Timestamp:
2010-04-24T02:29:57+02:00 (7 years ago)
Author:
craigc
Message:

Updated for better use with ppp and dns requests

Location:
packages/net/multiwan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/net/multiwan/Makefile

    r20925 r21116  
    99 
    1010PKG_NAME:=multiwan 
    11 PKG_VERSION:=1.0k 
     11PKG_VERSION:=1.0l 
    1212PKG_RELEASE:=1 
    1313 
     
    1717  SECTION:=net 
    1818  CATEGORY:=Network 
    19   DEPENDS:=+ip +iptables +iptables-utils +iptables-mod-conntrack +iptables-mod-conntrack-extra 
     19  DEPENDS:=+ip +iptables +iptables-utils +iptables-mod-conntrack +iptables-mod-conntrack-extra +iptables-mod-ipopt 
    2020  TITLE:=Simple multi WAN configuration 
    2121  URL:=ftp://ftp.netlab7.com/ 
     22  MAINTAINER:=Craig M. Coffee <craigc@netlab7.com> 
    2223endef 
    2324 
  • packages/net/multiwan/files/etc/config/multiwan

    r20925 r21116  
    55 
    66config 'interface' 'wan' 
    7         option 'weight' '5' 
     7        option 'weight' '10' 
    88        option 'health_interval' '10' 
    99        option 'icmp_hosts' 'dns' 
     
    1414 
    1515config 'interface' 'wan2' 
    16         option 'weight' '5' 
     16        option 'weight' '10' 
    1717        option 'health_interval' '10' 
    1818        option 'icmp_hosts' 'dns' 
  • packages/net/multiwan/files/usr/bin/multiwan

    r20925 r21116  
    602602        for TABLE in 123 
    603603        do 
    604                 ip route | grep link | while read ROUTE 
     604                ip route | grep link | grep -Ev ^default | while read ROUTE 
    605605                do 
    606606                ip route add table $TABLE to $ROUTE 
     
    658658        for TABLE in $iprule 
    659659        do 
    660                 ip route | grep link | while read ROUTE 
     660                ip route | grep link | grep -Ev ^default | while read ROUTE 
    661661                do 
    662662                ip route add table $TABLE to $ROUTE 
Note: See TracChangeset for help on using the changeset viewer.