Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
No Body a1558e3ce6 A little bit of documentation. 5 miesięcy temu
tpl Lots of changes. 5 miesięcy temu
.gitignore Initial commit for public release. 6 miesięcy temu
GNUmakefile Initial commit for public release. 6 miesięcy temu
command.go Lots of changes. 5 miesięcy temu
config.go Lots of changes. 5 miesięcy temu
db.go A little bit of documentation. 5 miesięcy temu
debug.go Lots of changes. 5 miesięcy temu
main.go Lots of changes. 5 miesięcy temu
net.go Initial commit for public release. 6 miesięcy temu
readme.md A little bit of documentation. 5 miesięcy temu
struct.go Lots of changes. 5 miesięcy temu
template.go Lots of changes. 5 miesięcy temu
wg-manager.toml Initial commit for public release. 6 miesięcy temu

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.