forked from Wireguard/Wireguard-tools.js
Maneger Wireguard interface directly from node (and create you APIs)
.gitea/workflows | ||
.github | ||
.vscode | ||
addons | ||
libs | ||
prebuilds | ||
src | ||
.gitignore | ||
.gitlab-ci.yml | ||
.npmignore | ||
binding.gyp | ||
index.mjs | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
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
andpublic
keys. - wg-quick file support.
- More info and example check
wiki
.
Note
we have pre-copiled files for:
Windows
: x64, arm64MacOS
: x64/intel, arm64/Apple siliconLinux
: x64/amd64, arm64/aarch64else arch and system require copiler supported by
node-gyp
installed to compile Node addon.
- To manage the Wireguard interfaces in linux, root access is required.
- Windows user are
wireguard-nt
dll files includes in module- Another system's require
wireguard-go
(check this page)