[packages] add multiwan, a simple to use multi wan configuration agent
[openwrt/svn-archive/archive.git] / net / multiwan / files / etc / config / multiwan
1
2 config 'multiwan' 'config'
3 option 'default_route' 'balancer'
4 option 'resolv_conf' '/tmp/resolv.conf.auto'
5
6 config 'interface' 'wan'
7 option 'weight' '5'
8 option 'health_interval' '10'
9 option 'icmp_hosts' 'dns'
10 option 'timeout' '3'
11 option 'health_fail_retries' '3'
12 option 'health_recovery_retries' '5'
13 option 'failover_to' 'balancer'
14
15 config 'interface' 'wan2'
16 option 'weight' '5'
17 option 'health_interval' '10'
18 option 'icmp_hosts' 'dns'
19 option 'timeout' '3'
20 option 'health_fail_retries' '3'
21 option 'health_recovery_retries' '5'
22 option 'failover_to' 'wan3'
23
24 config 'interface' 'wan3'
25 option 'weight' 'disable'
26 option 'health_interval' 'disable'
27 option 'icmp_hosts' 'gateway'
28 option 'timeout' '3'
29 option 'health_fail_retries' '3'
30 option 'health_recovery_retries' '5'
31 option 'failover_to' 'disable'
32
33 config 'interface' 'wan4'
34 option 'weight' '3'
35 option 'health_interval' '20'
36 option 'icmp_hosts' '208.67.222.222 208.67.220.220'
37 option 'timeout' '3'
38 option 'health_fail_retries' '3'
39 option 'health_recovery_retries' '5'
40 option 'failover_to' 'wan'
41
42 config 'mwanfw'
43 option 'src' '192.168.1.0/24'
44 option 'dst' 'ftp.netlab7.com'
45 option 'proto' 'tcp'
46 option 'ports' '21'
47 option 'wanrule' 'wan4'
48
49 config 'mwanfw'
50 option 'proto' 'tcp'
51 option 'ports' '21'
52 option 'wanrule' 'wan2'
53
54 config 'mwanfw'
55 option 'src' '192.168.0.3'
56 option 'proto' 'icmp'
57 option 'wanrule' 'wan'
58
59 config 'mwanfw'
60 option 'dst' 'www.whatismyip.com'
61 option 'wanrule' 'balancer'
62
63