106 lines
2.4 KiB
Text
106 lines
2.4 KiB
Text
package multiwan
|
|
|
|
config package
|
|
option title `Multi-WAN Agent'
|
|
|
|
config section
|
|
option name 'multiwan'
|
|
option title 'Settings'
|
|
option named true
|
|
option required true
|
|
|
|
config variable
|
|
option name 'default_route'
|
|
option title 'Default Route'
|
|
option section 'multiwan.multiwan'
|
|
option required true
|
|
|
|
config section
|
|
option name 'interface'
|
|
option title 'WAN Interfaces'
|
|
option named true
|
|
option required true
|
|
|
|
config variable
|
|
option name 'weight'
|
|
option title 'Load Balancer Distribution'
|
|
option section 'multiwan.interface'
|
|
option datatype 'integer'
|
|
option required true
|
|
|
|
config variable
|
|
option name 'health_interval'
|
|
option title 'Health Monitor Interval'
|
|
option section 'multiwan.multiwan'
|
|
option datatype 'integer'
|
|
option required true
|
|
|
|
config variable
|
|
option name 'icmp_hosts'
|
|
option title 'Health Monitor ICMP Host(s)'
|
|
option section 'multiwan.interface'
|
|
option required true
|
|
|
|
config variable
|
|
option name 'timeout'
|
|
option title 'Health Monitor ICMP Timeout'
|
|
option section 'multiwan.interface'
|
|
option datatype 'integer'
|
|
option required true
|
|
|
|
config variable
|
|
option name 'health_fail_retries'
|
|
option title 'Attempts Before WAN Failover'
|
|
option section 'multiwan.interface'
|
|
option datatype 'integer'
|
|
option required true
|
|
|
|
config variable
|
|
option name 'health_recovery_retries'
|
|
option title 'Attempts Before WAN Recovery'
|
|
option section 'multiwan.interface'
|
|
option datatype 'integer'
|
|
option required true
|
|
|
|
config variable
|
|
option name 'failover_to'
|
|
option title 'Failover Traffic Destination'
|
|
option section 'multiwan.interface'
|
|
option required true
|
|
|
|
config variable
|
|
option name 'dns'
|
|
option title 'DNS Server(s)'
|
|
option section 'multiwan.interface'
|
|
|
|
config section
|
|
option name 'mwanfw'
|
|
option title 'Multi-WAN Traffic Rules'
|
|
option package 'multiwan.mwanfw'
|
|
|
|
config section
|
|
option name 'src'
|
|
option title 'Match by Source Address'
|
|
option section 'dualwan.dualwanfw'
|
|
|
|
config section
|
|
option name 'dst'
|
|
option title 'Match by Destination Address'
|
|
option section 'dualwan.dualwanfw'
|
|
|
|
config section
|
|
option name 'proto'
|
|
option title 'Match by Protocol'
|
|
option section 'dualwan.dualwanfw'
|
|
|
|
config section
|
|
option name 'ports'
|
|
option title 'Match by Destination Ports'
|
|
option section 'dualwan.dualwanfw'
|
|
|
|
config section
|
|
option name 'wanrule'
|
|
option title 'WAN Uplink'
|
|
option section 'multiwan.mwanfw'
|
|
option required true
|
|
|