implement auto gateway Ip auto detection

This commit is contained in:
2026-07-14 18:30:24 +00:00
parent 74de317ecb
commit bbc901d14a
5 changed files with 119 additions and 12 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
# openuf — configuration
#
# controller_ip: UniFi controller IP address or hostname
# controller_ip: UniFi controller IP address or hostname; when empty,
# autodetect from the IPv4 default-route gateway
# lan_if: primary LAN interface (used for the AP MAC and IP)
# ufmodel: emulated model (u6-inwall recommended)
# inform_interval: seconds between inform requests (minimum 5)
@@ -10,7 +11,7 @@
# protocol_debug_level: 0=off, 1=safe response structure,
# 2=full decrypted response; may expose credentials
controller_ip = 10.10.10.1
controller_ip =
lan_if = br-lan
ufmodel = uapg2-ac-lr
inform_interval = 10