2023-08-28 22:48:48 -03:00
2023-08-28 22:48:48 -03:00
2023-08-27 23:39:30 -03:00
2023-08-28 22:48:48 -03:00
2023-08-24 11:36:25 -03:00
2023-08-28 22:48:48 -03:00
2023-08-28 22:48:48 -03:00
2023-08-27 23:39:30 -03:00
2023-05-14 04:32:50 +00:00
2023-08-24 11:36:25 -03:00
2023-08-14 16:43:15 -03:00
2023-08-28 22:48:48 -03:00
2023-08-14 16:43:15 -03:00
2023-08-28 22:48:48 -03:00
2023-08-24 11:36:25 -03:00
2023-08-24 11:36:25 -03:00

Wireguard-tools.js

Efficiently manage your Wireguard interface right from nodejs, no wg required.

other tools are wrappers over wg, wireguard-tools.js is not like that, it is a C/C++ addon in which you don't need to have wg installed, as this module has full compatibility of its own wg.

Support to:

  1. Userpsace (wireguard-go)
  2. Maneger wireguard interface (linux create if not exist's).
  3. Generate pre-shared, private and public keys.
  4. wg-quick file support.

Note

we have pre-copiled files for Windows, MacOS (x64/intel) and Linux (arm64, x86_64) else arch and system require gcc or clang installed to compile Node addon.

To manage the Wireguard interfaces in linux, root access is required.

Another system's require wireguard-go (check this page)

Examples

Moved to examples folder

Languages
C++ 45.4%
C 35.3%
TypeScript 14.8%
CMake 1.9%
Go 1.4%
Other 1.2%