source: packages/net/multiwan/files/etc/config/multiwan @ 21973

Last change on this file since 21973 was 21973, checked in by craigc, 6 years ago

[packages]: multiwan:
Repositioned MultiWan tables within iptables list.
Added lan_if setting to change the main routing table to point towards a lan interface instead.

File size: 1015 bytes
Line 
1
2config 'multiwan' 'config'
3        option 'default_route' 'balancer'
4        option 'lan_if' 'lan'
5
6config 'interface' 'wan'
7        option 'weight' '10'
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' 'wan2'
14        option 'dns' 'auto'
15
16config 'interface' 'wan2'
17        option 'weight' '10'
18        option 'health_interval' '10'
19        option 'icmp_hosts' 'gateway'
20        option 'timeout' '3'
21        option 'health_fail_retries' '3'
22        option 'health_recovery_retries' '5'
23        option 'failover_to' 'balancer'
24        option 'dns' '208.67.222.222 208.67.220.220'
25
26config 'mwanfw'
27        option 'src' '192.168.1.0/24'
28        option 'dst' 'ftp.netlab7.com'
29        option 'proto' 'tcp'
30        option 'ports' '21'
31        option 'wanrule' 'wan2'
32
33config 'mwanfw'
34        option 'src' '192.168.0.3'
35        option 'proto' 'icmp'
36        option 'wanrule' 'balancer'
37
38config 'mwanfw'
39        option 'dst' 'www.whatismyip.com'
40        option 'wanrule' 'fastbalancer'
41
42
Note: See TracBrowser for help on using the repository browser.