Skip to content
/ wgnet Public

Command-line tool and web server to simplify the management of a WireGuard network.

License

Notifications You must be signed in to change notification settings

davdiv/wgnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wgnet

npm license

Note that this is a work in progress. Some features may not work yet as expected.

Command-line tool and web server to simplify the management of a WireGuard network.

Install

First make sure you have node.js installed.

Then install the wgnet package globally with:

npm install -g wgnet

Then the wgnet command will be available in your terminal:

wgnet --help

Alternatively, you can also skip the npm install command and use the package directly with npx:

npx wgnet@latest --help

Getting started

Start a web server to manage your WireGuard network:

wgnet server

This will create a wgnet.db sqlite database in the current directory, start the server on port 3000 and open your web browser so that you can start configuring your Wireguard network.

Note that you can list the available command line options with:

wgnet server --help