2010-04-16 16:05:03 +00:00
|
|
|
|
|
|
|
config 'multiwan' 'config'
|
|
|
|
option 'default_route' 'balancer'
|
|
|
|
|
|
|
|
config 'interface' 'wan'
|
2010-04-24 00:29:57 +00:00
|
|
|
option 'weight' '10'
|
2010-04-16 16:05:03 +00:00
|
|
|
option 'health_interval' '10'
|
|
|
|
option 'icmp_hosts' 'dns'
|
|
|
|
option 'timeout' '3'
|
|
|
|
option 'health_fail_retries' '3'
|
|
|
|
option 'health_recovery_retries' '5'
|
2010-04-29 04:35:48 +00:00
|
|
|
option 'failover_to' 'wan2'
|
|
|
|
option 'dns' 'auto'
|
2010-04-16 16:05:03 +00:00
|
|
|
|
|
|
|
config 'interface' 'wan2'
|
2010-04-24 00:29:57 +00:00
|
|
|
option 'weight' '10'
|
2010-04-16 16:05:03 +00:00
|
|
|
option 'health_interval' '10'
|
2010-04-30 16:01:50 +00:00
|
|
|
option 'icmp_hosts' 'gateway'
|
2010-04-16 16:05:03 +00:00
|
|
|
option 'timeout' '3'
|
|
|
|
option 'health_fail_retries' '3'
|
|
|
|
option 'health_recovery_retries' '5'
|
2010-04-29 04:35:48 +00:00
|
|
|
option 'failover_to' 'balancer'
|
|
|
|
option 'dns' '208.67.222.222 208.67.220.220'
|
2010-04-16 16:05:03 +00:00
|
|
|
|
|
|
|
config 'mwanfw'
|
|
|
|
option 'src' '192.168.1.0/24'
|
|
|
|
option 'dst' 'ftp.netlab7.com'
|
|
|
|
option 'proto' 'tcp'
|
|
|
|
option 'ports' '21'
|
|
|
|
option 'wanrule' 'wan2'
|
|
|
|
|
|
|
|
config 'mwanfw'
|
|
|
|
option 'src' '192.168.0.3'
|
|
|
|
option 'proto' 'icmp'
|
2010-05-14 12:41:50 +00:00
|
|
|
option 'wanrule' 'balancer'
|
2010-04-16 16:05:03 +00:00
|
|
|
|
|
|
|
config 'mwanfw'
|
|
|
|
option 'dst' 'www.whatismyip.com'
|
2010-05-14 12:41:50 +00:00
|
|
|
option 'wanrule' 'fastbalancer'
|
2010-04-16 16:05:03 +00:00
|
|
|
|
|
|
|
|