You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
No Body a1558e3ce6 A little bit of documentation. 4 months ago
tpl Lots of changes. 4 months ago
.gitignore Initial commit for public release. 5 months ago
GNUmakefile Initial commit for public release. 5 months ago
command.go Lots of changes. 4 months ago
config.go Lots of changes. 4 months ago
db.go A little bit of documentation. 4 months ago
debug.go Lots of changes. 4 months ago
main.go Lots of changes. 4 months ago
net.go Initial commit for public release. 5 months ago
readme.md A little bit of documentation. 4 months ago
struct.go Lots of changes. 4 months ago
template.go Lots of changes. 4 months ago
wg-manager.toml Initial commit for public release. 5 months ago

readme.md

Wireguard manager

App to manage wg conf files.

DB schema

Using gorm. See struct.go.

TODO

  • Maintain a separate database of groups
  • Each group gets its own Interface

Current Capabilities

Usage of ./wg-manager:
  -add-peer
        Add a new Peer to the database.
  -c string
        Configuration file for application (default "./wg-manager.toml")
  -db string
        Database File (default "./wg-manager.sqlite3")
  -delete
        Remove an entry from the database
  -hide-disabled-entries
        Hide disabled entries from hostconf.
  -hostconf
        Generate master/host configuration
  -import string
        Configuration file to import
  -peerconf
        Generate a peer configuration file
  -really-delete
        Really delete an entry from the database
  -set
        Set IdVal Key Val
  -show
        Display this configuration section
  -test-add-peer
        Generate a new Peer but don't add it to the database.
  -undelete
        Un-Remove an entry from the database
  -verbose
        Increase logging verbosity.