You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
This is more a question than a issue (but perhaps a request for feature) : I'm trying to set up wireguard interfaces completely from Foreman.
When the wirguard class is added, the package is installed correctly (tested on Debian 10). But I'm unable to set up an interface due to the lack of private key.
I saw there are some functions to generate private, public and preshared keys but I can't find how to call them for foreman's node definition. And Foreman's documentation does not mention this topic.
Any clue please ? Someone already should had the same need ?
And another tough :
there could be some king of workadound : wireguard allows you to start an interface without a 'privatekey=' line in the interface definition as long as you provide the private key by any mean. For example, on some nodes, I'm using this PostUp trick : PostUp = wg set %i private-key /etc/wireguard/keys/private.key
But I can't do this because the private_key parameter is required in the interface definition.
Thanks for your work and help !
Julien
The text was updated successfully, but these errors were encountered:
Hello,
This is more a question than a issue (but perhaps a request for feature) : I'm trying to set up wireguard interfaces completely from Foreman.
When the wirguard class is added, the package is installed correctly (tested on Debian 10). But I'm unable to set up an interface due to the lack of private key.
I saw there are some functions to generate private, public and preshared keys but I can't find how to call them for foreman's node definition. And Foreman's documentation does not mention this topic.
Any clue please ? Someone already should had the same need ?
And another tough :
there could be some king of workadound : wireguard allows you to start an interface without a 'privatekey=' line in the interface definition as long as you provide the private key by any mean. For example, on some nodes, I'm using this PostUp trick :
PostUp = wg set %i private-key /etc/wireguard/keys/private.key
But I can't do this because the private_key parameter is required in the interface definition.
Thanks for your work and help !
Julien
The text was updated successfully, but these errors were encountered: