diff --git a/README.md b/README.md index 68315ae..f247c6e 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,14 @@ Simple Web based configuration generator for [WireGuard](https://wireguard.com). --- -
+[![pipeline status](https://gitlab.127-0-0-1.fr/vx3r/wg-gen-web/badges/master/pipeline.svg)](https://gitlab.127-0-0-1.fr/vx3r/wg-gen-web/commits/master) +[![Go Report Card](https://goreportcard.com/badge/github.com/vx3r/wg-gen-web)](https://goreportcard.com/report/github.com/vx3r/wg-gen-web) +![Gitlab pipeline status (self-hosted)](https://img.shields.io/gitlab/pipeline/vx3r/wg-gen-web?gitlab_url=https%3A%2F%2Fgitlab.127-0-0-1.fr%2F) +[![License: WTFPL](https://img.shields.io/badge/License-WTFPL-brightgreen.svg)](http://www.wtfpl.net/about/) +![GitHub last commit](https://img.shields.io/github/last-commit/vx3r/wg-gen-web) +![Docker Pulls](https://img.shields.io/docker/pulls/vx3r/wg-gen-web) +![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/vx3r/wg-gen-web) +![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/vx3r/wg-gen-web) ## Whay another one ? @@ -96,6 +100,12 @@ while inotifywait -e modify -e create /etc/wireguard; do done ``` +## How to use with existing WireGuard configuration + +After first run Wg Gen Web will create `server.json` in data directory with alla server informations. + +Fill free to modify this file in order to use your existing keys + ## What is out of scope * Generation or application of any `iptables` or `nftables` rules diff --git a/ui/src/views/Home.vue b/ui/src/views/Home.vue index a3a7885..b5b611f 100644 --- a/ui/src/views/Home.vue +++ b/ui/src/views/Home.vue @@ -171,6 +171,7 @@ v-on="on" color="success" v-model="client.enable" + v-on:change="updateClient(client)" /> Enable or disable this client @@ -297,7 +298,7 @@