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? _______________________________________________ WireGuard mailing list WireGuard@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/wireguard