improved Database & Models
This commit is contained in:
commit
0bbe91bec3
18 changed files with 956 additions and 0 deletions
14
templates/wg_server.ejs
Normal file
14
templates/wg_server.ejs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[Interface]
|
||||
Address = <%= interface.ifAddress %>
|
||||
<% if (interface.dnsServer) { %>
|
||||
DNS = <%= interface.dnsServer %>
|
||||
<% } %>
|
||||
PrivateKey = <%= interface.privateKey %>
|
||||
ListenPort = <%= interface.listenPort %>
|
||||
|
||||
<% peerList.forEach((peer) => { %>
|
||||
[Peer]
|
||||
# <%= peer.name %>
|
||||
PublicKey = <%= peer.publicKey %>
|
||||
|
||||
<% }) %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue