13 lines
321 B
Plaintext
13 lines
321 B
Plaintext
[Interface]
|
|
ListenPort = <%= $wg_port %>
|
|
PrivateKey = <%= $(cat secrets/wireguard.private.key) %>
|
|
Address = <%= $wg0_address %>
|
|
DNS = <%= $wg0_gateway %>
|
|
MTU = 1280
|
|
|
|
[Peer]
|
|
PublicKey = <%= $(cat secrets/wireguard.public.key) %>
|
|
Endpoint = <%= $wg_server %>:<%= $wg_port %>
|
|
AllowedIPs = 0.0.0.0/0
|
|
PersistentKeepalive = 25
|