wireguard-hosts file

jens jens at viisauksena.de
Fri Jan 24 17:01:49 CET 2020

i really would love to have a feature like wireguard-hosts file.
whereas wg command would print given "name" instead of key - so the
output would be more meaningfull
We have some wireguard running in server like infrastructure, where one
server serves dozens of "clients"

so instead of
peer: l9FxaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaU=
we would have something alike
peer: superhero downtown

some of you may be familar with batman-adv layer2 routing protocol,
there they also have a batctl which is working pretty similar to wg tool.
there you can add a bat-hosts file which is doing the job, which totaly
works likes any hosts file
a normal hosts file maps ip to name,
a bat-hosts file maps mac addresses to name,
a wg-hosts file would map keys to name.

i found the sources for bat-hosts ( .c .h .sample ) here

is this something maybe usefull to other also?
is there a chance to have this implemented by default?

thx for answers.

make the world nicer, please use PGP encryption
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x507EB93F6F6DEE01.asc
Type: application/pgp-keys
Size: 3122 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20200124/62aab2b7/attachment.key>

More information about the WireGuard mailing list