The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

wg-meta - A toolkit to manage Wireguard configurations.

DESCRIPTION

An approach to add metadata to the main wireguard config, written in Perl.

UNDER THE HOOD

Unlike similar projects, this toolkit is not not dependent on any other storage system, metadata is stored directly inside the corresponding wgXX.conf file (Metadata is prefixed with #+):

        [Interface]
        #+Alias = some_alias
        #+Description = Some Desc
        Address = 10.0.0.7/24
        ListenPort = 6666
        PrivateKey = WEkEJW3b4TDmRvN+G+K9elzq52/djAXT+LAB6BSEUmM=

        [Peer]
        #+Name = Fancy_meta_name
        PublicKey = +qz742hzxD3E5z5QF7VOvleVS1onavQpXBK3NdTh40g=
        AllowedIPs = 0.0.0.0/0
        Endpoint = wg.example.com

AUTHORS

Since there is a lot of spam flooding my mailbox, I had to put spam filtering in place. If you want to make sure that your email gets delivered into my mailbox, include #im_not_a_bot# in the subject!

Tobias Bossert <tobib at cpan.org>

THANKS TO

OETIKER+PARTNER AG for sponsoring this project.

COPYRIGHT AND LICENSE

MIT License

Copyright (c) 2021 Tobias Bossert

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.