|
|
@@ -6,25 +6,25 @@ config client2server 'general'
|
|
|
option buffer_file '/tmp/event_buffer'
|
|
|
option max_buffer '100'
|
|
|
|
|
|
-config server
|
|
|
+config client2server 'server'
|
|
|
option url 'wss://your-server.com/ws'
|
|
|
option token 'CHANGE_ME_SECRET_TOKEN'
|
|
|
option reconnect_delay '5'
|
|
|
option ping_interval '30'
|
|
|
option timeout '10'
|
|
|
|
|
|
-config router
|
|
|
+config client2server 'router'
|
|
|
option id ''
|
|
|
option hostname ''
|
|
|
|
|
|
-config wan
|
|
|
+config client2server 'wan'
|
|
|
option interface 'wan'
|
|
|
option device 'eth0'
|
|
|
option monitor_dhcp '1'
|
|
|
option monitor_wan '1'
|
|
|
option monitor_ip_change '1'
|
|
|
|
|
|
-config events
|
|
|
+config client2server 'events'
|
|
|
option send_dhcp '1'
|
|
|
option send_wan '1'
|
|
|
option send_uptime '0'
|