c6f4b884fc
1. option 'health_monitor' 'serial' starts only one background process to monitor the health of any number of wan's, saving system resources (WHR-HP-G54 with only 16 MB memory is a happy wimp :) 2. option 'icmp_count' '3' can be useful to reduce false positives 3. a sample 'mwanfw' for VoIP traffic 4. "/etc/init.d/multiwan single" restores to the initial state of single wan. The "stop" command didn't quite do that, and it's now only good for process shutdown 5. numerous minor code cleanups git-svn-id: svn://svn.openwrt.org/openwrt/packages@23388 3c298f89-4303-0410-b956-a3cf2f4a3e73
43 lines
962 B
Makefile
43 lines
962 B
Makefile
#
|
|
# Copyright (C) 2010 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=multiwan
|
|
PKG_VERSION:=1.0.19
|
|
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 +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
|
|
An agent script that makes Multi-WAN configuration simple,
|
|
easy and manageable. Complete with load balancing, failover and an easy
|
|
to manage traffic ruleset.
|
|
endef
|
|
|
|
define Package/multiwan/conffiles
|
|
/etc/config/multiwan
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/multiwan/install
|
|
$(CP) ./files/* $(1)
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,multiwan))
|