Wireguard - Support for Preshared Keys

Is there support for using preshared keys when generating the configs? If not are you able to manually modify the conf file in some way that the preshared keys won’t be destroyed when you rebuild the configs?


There is a PR for it, but because it doesn’t maintain backwards compatibility, it’s not been merged.

The server conf is auto generated whenever the vars are changed, so your changes would be overridden unless you don’t set the vars (or don’t change them afterwards) and manage the wg0.conf manually