Giter Site home page Giter Site logo

wgmgr's Introduction

wgmgr

A WireGuard networks manager.

Installation

python3 setup.py install

Usage

wgmgr is intended to be primarily a command line tool, not a library.
Currently there is no man page available, so please refer to

wgmgr -h

for usage instructions.

Example workflow

Disclaimer: Do NOT use the private keys listed here!

$ wgmgr init MyPrivateNetwork "Some description" 10.8.0.0/24 10.8.0.1 my.server.com:51820

$ wgmgr client add r9lJ1vbl0zTwZ8MiwefNAETqEPcOKNKu2Vzm+lU8pwU= -n MyFirstClient

$ wgmgr server dump
[NetDev]
Name = MyPrivateNetwork
Kind = wireguard
Description = Some description

[WireGuard]
ListenPort = 51820
PrivateKey = cFA2i9zd94K9iIstoxg790BYJx1lKK1ok1tjQQKZcGQ=

[WireGuardPeer]
PublicKey = r9lJ1vbl0zTwZ8MiwefNAETqEPcOKNKu2Vzm+lU8pwU=
AllowedIPs = 10.8.0.2/32
$ wgmgr client dump MyFirstClient
[Interface]
PrivateKey = <your private key>
Address = 10.8.0.2/32

[Peer]
PublicKey = avF6+5FS1/8fTEoEA7tCF0uxWbJb7CtQjfDJl73DWyI=
AllowedIPs = 10.8.0.0/24
Endpoint = my.server.com:51820

wgmgr's People

Contributors

conqp avatar

Stargazers

 avatar Oz Tiram avatar ik5 avatar James Tocknell avatar Arti Zirk avatar Denis Denisov avatar Rick Blundell avatar

Watchers

James Cloos avatar  avatar  avatar

wgmgr's Issues

A more indepth documentation

Hello,

I am at the moment looking for a easy way to manage multiple peers in a wireguard vpn setup.
From what I read, this tool should be ideal for this but unfortunately, there is virtually 0 documentation on how to use it.

Even just a short tutorial on setting up an server would suffice. Just wanted to ask before I start diving into the code to figure out what I need to do to make this work.
Cheers,
Frederik

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.