mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-11-18 00:19:22 +08:00
wip
This commit is contained in:
parent
e5eda35965
commit
e89e364b36
@ -5,6 +5,7 @@
|
|||||||
```bash
|
```bash
|
||||||
$ docker run \
|
$ docker run \
|
||||||
--name wg-easy \
|
--name wg-easy \
|
||||||
|
--env WG_HOST=192.168.1.2 \
|
||||||
--mount type=bind,source="$(pwd)",target=/etc/wireguard \
|
--mount type=bind,source="$(pwd)",target=/etc/wireguard \
|
||||||
--cap-add=NET_ADMIN \
|
--cap-add=NET_ADMIN \
|
||||||
--cap-add=SYS_MODULE \
|
--cap-add=SYS_MODULE \
|
||||||
|
@ -46,6 +46,7 @@ module.exports = class WireGuard {
|
|||||||
},
|
},
|
||||||
clients: {},
|
clients: {},
|
||||||
};
|
};
|
||||||
|
debug('Configuration generated.');
|
||||||
}
|
}
|
||||||
|
|
||||||
await this.__saveConfig(config);
|
await this.__saveConfig(config);
|
||||||
|
Loading…
Reference in New Issue
Block a user