Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Mo Balaa <buddybalaa@gmail.com>
To: "F. Hölzlwimmer" <git.ich@frhoelzlwimmer.de>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: More advanced user configuration like SSH?
Date: Sun, 5 Apr 2020 16:53:12 -0500	[thread overview]
Message-ID: <CAKmhVkpOVaZcenbTZKSM-2xKJDoF1u8s4OK=nZMVJzjfNu0UcQ@mail.gmail.com> (raw)
In-Reply-To: <adeb013d-5881-e113-b865-599a3c572fa5@frhoelzlwimmer.de>

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 <git.ich@frhoelzlwimmer.de> 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 user@wgserver.com"
> with SSH-keys read from e.g. "~/authorized_peers" or some authentication
> service.
>
>
> Best regards,
> Florian Hölzlwimmer
>

      reply	other threads:[~2020-04-06  5:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-16 17:58 F. Hölzlwimmer
2020-04-05 21:53 ` Mo Balaa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKmhVkpOVaZcenbTZKSM-2xKJDoF1u8s4OK=nZMVJzjfNu0UcQ@mail.gmail.com' \
    --to=buddybalaa@gmail.com \
    --cc=git.ich@frhoelzlwimmer.de \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).