6

I'm running the latest Catalina beta (19A578c), and the latest Wireguard client from https://www.wireguard.com.

After a Catalina beta update this morning, all my configured VPNs disappeared. I can still see the keys associated with each of them in my login keychain, but do not see a way to restore or import the VPNs back into Wireguard. I have full time machine backups, but can not find any record of these configuration files anywhere in my system/user libraries or other filesystem locations.

Does anyone know what file(s) I need to restore to get these configured VPNs back?

1 Answers1

6

Workaround for the loss of configuration until Apple fixes it:

The wireguard configuration is not stored in config files but in the MacOS keychain. Search for "WireGuard Tunnel" in the login keychain. If you cannot find it after a Wireguard update or a Catalina update, restore your login keychain from a TimeMachine backup. The restored keychain should contain all WireGuard Tunnel configurations. The tunnel config can then be found in the "Password" field. Note that there are multiple lines; you see only [Interface] initially. Just Copy all content (CMD+A CMD+C) and then paste it into a new WireGuard tunnel config (CMD+V).

There seems to be a bug in Catalina causing the issue. The wg developers are now aware of it.

Roland
  • 94