improved Database & Models

This commit is contained in:
Kai Waggeling 2025-12-06 20:04:11 +01:00
commit 0bbe91bec3
18 changed files with 956 additions and 0 deletions

11
templates/wg_client.ejs Normal file
View file

@ -0,0 +1,11 @@
[Interface]
PrivateKey = <%= client.PrivateKey %>
Address = <%= client.allowedIps %>
DNS = 1.1.1.1
[Peer]
PublicKey = <%= server.publicKey %>
PresharedKey = <%= client.presharedKey %>
Endpoint = <%= server.endpoint %>:<%= server.listenPort %>
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = <%= client.allowedIps %>