From: wireguard@eldondev.com
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: WG: ideas/features
Date: Mon, 26 Mar 2018 15:15:07 -0400 [thread overview]
Message-ID: <20180326191507.GD28484@npcomp.net> (raw)
In-Reply-To: <1522084637.2044.53.camel@gmail.com>
On Mon, Mar 26, 2018 at 08:17:17PM +0300, ST wrote:
> 1. Labels.
>
> Is it possible to add an optional label to a peer to make it a bit more
> usable for humans (who tend not to remember IPs or keys). A label
> associated with a peer is just a string (could be a first/last name,
> email, "NY Office" or whatever). So if you read through the .conf file
> or query wg for that label - you can get the right IP to SSH to, if
> needed.
>
> In the .conf file it could probably be realized through some sort of
> comments before each [Peer] section (didn't check whether # or something
> actually work). But querying wg from command line for a label is also
> handy...
>
I would probably just use a hosts file for this. That way, applications
don't have to worry about "how do I get this info from wg," they just
resolve it in the normal way. Am I missing something?
next prev parent reply other threads:[~2018-03-26 19:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-26 17:17 ST
2018-03-26 19:06 ` Luis Ressel
2018-03-26 19:15 ` wireguard [this message]
2018-03-26 19:44 ` ST
2018-04-13 22:31 ` ideas/features Jason A. Donenfeld
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=20180326191507.GD28484@npcomp.net \
--to=wireguard@eldondev.com \
--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).