Hi guys,

we are using Openwisp to manage round about 70 APs in our company. The 
server uses wireguard in a special VLAN to talk to the APs after they got 
their initial config in the internal network. 

Now we repeatedly running into the issue, that the wireguard keys generated 
by openwisp for the device keep getting changed after every network related 
configuration change, like assigning a wireless template to the device. 
Then it takes about 14 attempts for the AP to test the new configuration 
successfully. You can see in the device overview that the pvt_key and 
pub_key for the device are replaced. Sometimes also the IP-Address for the 
wg0 Interface. In comparison just changing the hostname of the device works 
flawlessly applying the configuration change at the first try. 

In the past that sometimes lead to the problem, that after a firmware 
upgrade on an AP via openwisp while keeping the configuration or a 
configuration change, the AP never successfully connecting back to the 
server, because when the AP performing a rollback the keys don't match 
anymore. 
When we were able to connect to the AP directly via SSH we can see, that 
the AP still had the same keys from before the update while openwisp showed 
a new pair of keys for that device.

Is that behavior expected, that the keys are getting changed? Is there a 
way to disable that?

Greetings from Germany
Florian

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion, visit 
https://groups.google.com/d/msgid/openwisp/686eb06e-d818-4b92-9450-df950cb65526n%40googlegroups.com.

Reply via email to