# Example UCI config (output of config.example()) — copy to /etc/config/balancerlite # on the target router, then /etc/init.d/balancerlite enable. # OpenWrt /etc/config/balancerlite # Place at /etc/config/balancerlite config general 'general' option host 'openwrt-router' option dry_run '0' option log_level 'info' config health 'health' option probe_interval '2s' option window_size '10' option down_threshold '5' option up_threshold '10' list tcp_target '1.1.1.1:443' list tcp_target '8.8.8.8:53' option dns_probe_domain 'example.com' config wan 'wan_a' option interface 'eth0' option address '192.168.10.2/24' option gateway '192.168.10.1' option preference '100' option probe_target '' config wan 'wan_b' option interface 'eth1' option address '192.168.20.2/24' option gateway '192.168.20.1' option preference '50' option probe_target '' config routing 'routing' option table_a '100' option table_b '101' option mark_active_a '0x1' option mark_active_b '0x2' config wireguard 'wg' option enabled '0' option interface 'wg0' config notifier 'notifier' option webhook_url '' option webhook_secret '' option batch_window '200ms' option max_attempts '24' option initial_backoff '1s' option max_backoff '5m' option outbox_capacity '10000' option cb_threshold '5' option cb_cooldown '1m' config flap 'flap' option switch_count '3' option window '5m' option recovery_grace '5m' config features 'features' option hot_reload '0' option trace_ids '1' config store 'store' option state_dir '/root/balancerlite' option retention_days '30'