This repository has been archived on 2025-02-14. You can view files and clone it, but cannot push or open issues or pull requests.
esh/esh_wireguard/templates/default/peer.wg0.conf.erb
2025-02-15 01:05:58 +09:00

11 lines
No EOL
213 B
Text

[Interface]
PrivateKey = <%= @privkey %>
Address = <%= @address %>
<% if defined?(@dns) %>
DNS = <%= @dns %>
<% end %>
[Peer]
PublicKey = <%= @pubkey %>
AllowedIPs = <%= @allowedips %>
Endpoint = <%= @endpoint %>