mirror of
https://github.com/w0rng/amnezia-wg-easy.git
synced 2025-04-25 21:00:21 +03:00
wip
This commit is contained in:
parent
e5eda35965
commit
e89e364b36
2 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
```bash
|
||||
$ docker run \
|
||||
--name wg-easy \
|
||||
--env WG_HOST=192.168.1.2 \
|
||||
--mount type=bind,source="$(pwd)",target=/etc/wireguard \
|
||||
--cap-add=NET_ADMIN \
|
||||
--cap-add=SYS_MODULE \
|
||||
|
|
|
@ -46,6 +46,7 @@ module.exports = class WireGuard {
|
|||
},
|
||||
clients: {},
|
||||
};
|
||||
debug('Configuration generated.');
|
||||
}
|
||||
|
||||
await this.__saveConfig(config);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue