Chmod wireguard stuff

This commit is contained in:
Marko Korhonen 2020-04-04 11:33:25 +03:00
parent 193cf19413
commit e10d1cf8b3
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,14 @@
[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

View file

@ -0,0 +1,9 @@
[Match]
Name = wg0
[Network]
Address = 10.200.200.2/24
[Route]
Gateway = 10.200.200.1
Destination = 10.200.200.0/24