You could deliver WireGuard configuration to peers via a ssh invocation;

Something like:

ssh user@host register_peer peerName
---
endpoint: 192.168.0.1:18521
ip_assignment: 192.168.1.2

Then just parse the YAML locally to configure the users interface.




On Sun, Apr 5, 2020 at 4:48 PM F. Hölzlwimmer <[email protected]> wrote:
>
> Dear all,
>
>
> I would like to allow all of my colleagues to set up a wireguard VPN to
> our servers.
> We are managing our users (+ their SSH keys) via FreeIPA.
> Is there a possibility to integrate Wireguard and FreeIPA authentication?
>
> --------
> In my dreams, wireguard could be used just like SSH:
> "wg-quick [email protected]"
> with SSH-keys read from e.g. "~/authorized_peers" or some authentication
> service.
>
>
> Best regards,
> Florian Hölzlwimmer
>

Reply via email to