This article shows how to change UniFi Controllers to disable the Guest wireless when the ticketing controller is off.
Create or modify the config.properties file change
config.selfrun_guest_mode=pass
to
config.selfrun_guest_mode=off
and then re-provision the APs (toggle on/off the uplink monitor checkbox)
Article detail:
When an AP cannot reach the controller, it goes into a so-called SELFRUN state.
In this state, it doesn't make sense to redirect the guests to the portal (controller) which is not reachable, AP will automatically allow the guest to use the network without redirecting. Moreover,
- the guest access policies are still effective (L2/L3 isolation) along with the restricted subnets feature
- the user group (bandwidth limiting, etc) associated with this WLAN is still effective
- when the controller comes back online (and AP goes into MANAGED state), the guest portal redirection will restore automatically
Starting from 2.3.9+, you'll be able to add/modify <unifi_base>/data/config.properties
# config.selfrun_guest_mode=pass # when controller is offline, automatically # authorize all guests (all guest isolation # / policy is still enforced) # config.selfrun_guest_mode=off # to disable all the guest SSIDs when controller # is not reachable. Note that "guest portal" must # be being used otherwise controller will NOT disable # guest SSIDs.