Maneger Wireguard interface directly from node (and create you APIs)
Go to file
2024-02-13 22:27:34 +01:00
.gitea/workflows Migrate tests to node test and Add key gen in node 2024-01-14 15:18:29 -03:00
.github remove publish only binary build 2024-02-13 22:19:14 +01:00
.vscode Remove docs/ folder 2023-12-12 17:55:42 -03:00
addons fix interface reference 2024-02-13 22:13:36 +01:00
libs Migrate tests to node test and Add key gen in node 2024-01-14 15:18:29 -03:00
prebuilds fix win builds 2024-02-13 22:26:36 +01:00
src path 2024-02-07 11:57:29 +01:00
.gitignore prebuilds 2024-02-07 10:51:26 +01:00
.gitlab-ci.yml Migrate tests to node test and Add key gen in node 2024-01-14 15:18:29 -03:00
.npmignore Migrate tests to node test and Add key gen in node 2024-01-14 15:18:29 -03:00
binding.gyp Update test and remove addon key gen 2024-01-24 19:18:37 -03:00
index.mjs Migrate tests to node test and Add key gen in node 2024-01-14 15:18:29 -03:00
LICENSE Remove .ts files, migrate to vanilla javascript 2023-09-12 00:35:32 -03:00
package.json version up 2024-02-13 22:27:34 +01:00
README.md Migrate tests to node test and Add key gen in node 2024-01-14 15:18:29 -03:00
tsconfig.json Migrate tests to node test and Add key gen in node 2024-01-14 15:18:29 -03:00
yarn.lock add builded 2024-02-07 10:49:26 +01: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:

  • Userspace (wireguard-go) support.
  • Maneger wireguard interface (linux and windows create if not exist's).
  • Generate preshared, private and public keys.
  • wg-quick file support.
  • More info and example check wiki.

Note

we have pre-copiled files for:

  • Windows: x64, arm64
  • MacOS: x64/intel, arm64/Apple silicon
  • Linux: x64/amd64, arm64/aarch64

else arch and system require copiler supported by node-gyp installed to compile Node addon.

  1. To manage the Wireguard interfaces in linux, root access is required.
  2. Windows user are wireguard-nt dll files includes in module
  3. Another system's require wireguard-go (check this page)