Python Wrapper for wireguard-tools

Arti Zirk arti.zirk at gmail.com
Mon Aug 24 16:37:33 CEST 2020


On R, 2020-08-21 at 10:04 -0400, Andrew Roth wrote:
> I did see wgnlpy [2], but don't think it is a fit since it relies on
> Netlink (Linux kernel interface), so it's not cross-platform
Some time ago I played around with netlink and using it to configure
WireGuard interfaces[1]. But it looks like the library, pyroute2, now
includes WireGuard support[2]. Cool thing about pyroute2 is that it is
a pure python library without binary extentions.

[1]: https://gist.github.com/artizirk/3a8efeee33fce34baf6047aed7205a2e
[2]: https://docs.pyroute2.org/wireguard.html



More information about the WireGuard mailing list