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).

Now we can create the main /etc/wireguard/wg0.conf configuration file. Make sure to paste in your private key from /etc/wireguard/privatekey for the PrivateKey section of the file. Also, replace both ens1 instances with the interface the server connects to the internet with.




Wireguard Macos 10.13 Download