WireGuard Peer Import Fails

Importing a Peer .conf file ([Peer] section) always fails with 'Cannot parse configuration: PrivateKey setting is missing or invalid'. Peer PrivateKey is optional and not required to create Peer. Must create peer manually and copy/paste individual items for it to successfully save.

Are you selecting the "Load configuration" button on the General Settings tab, or the "Import configuration as peer" button on the Peers tab?

Are you saying that your file has the local config section and the peer section?

.conf file has both [Interface] and [Peer] (generated from two separate VPN providers)

Dragging the .conf file into Import box seems to work so will do that moving forward instead of copy/paste sections.

1 Like

Wow, they generate a private key...interesting.

Glad you got it working.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.