2 config 'multiwan' 'config'
3 # REMOVE THIS LINE OR PUT TO 1 TO ENABLE MULTIWAN
6 option 'default_route' 'balancer'
7 # health_monitor below is defaulted to parallel, and can be set to
8 # serial to save system resources.
9 # option 'health_monitor' 'serial'
12 config 'interface' 'wan'
14 option 'health_interval' '10'
15 option 'icmp_hosts' 'dns'
16 # icmp_count is defaulted to 1, and can be increased to reduce
18 # option 'icmp_count' '3'
20 option 'health_fail_retries' '3'
21 option 'health_recovery_retries' '5'
22 option 'failover_to' 'wan2'
25 config 'interface' 'wan2'
27 option 'health_interval' '10'
28 option 'icmp_hosts' 'gateway'
30 option 'health_fail_retries' '3'
31 option 'health_recovery_retries' '5'
32 option 'failover_to' 'balancer'
33 option 'dns' '208.67.222.222 208.67.220.220'
36 option 'src' '192.168.1.0/24'
37 option 'dst' 'ftp.netlab7.com'
40 option 'wanrule' 'wan2'
42 # VoIP traffic goes through wan
44 # option 'src' '192.168.1.0/24'
45 # option 'proto' 'udp'
46 # option 'port_type' 'source-ports'
47 # option 'ports' '5060,16384:16482'
48 # option 'wanrule' 'wan'
51 option 'src' '192.168.0.3'
53 option 'wanrule' 'balancer'
56 option 'dst' 'www.whatismyip.com'
57 option 'wanrule' 'fastbalancer'