dotfiles/root/etc/systemd/network/99-wireguard.netdev

15 lines
346 B
SYSTEMD
Raw Normal View History

2020-04-04 11:33:25 +03:00
[NetDev]
Name = wg0
Kind = wireguard
Description = ReekyNET WireGuard
[WireGuard]
PrivateKey = {{@@ env['WIREGUARD_MIRKWOOD_PRIVKEY'] @@}}
[WireGuardPeer]
PublicKey = {{@@ env['WIREGUARD_MORIA_PUBKEY'] @@}}
PresharedKey = {{@@ env['WIREGUARD_MIRKWOOD_PSK'] @@}}
AllowedIPs = 10.200.0.0/24
Endpoint = reekynet.com:48574
PersistentKeepalive = 25