diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/wg.conf.j2 (renamed from templates/wg.netdev.j2) | 11 | ||||
-rw-r--r-- | templates/wg.network.j2 | 5 |
2 files changed, 3 insertions, 13 deletions
diff --git a/templates/wg.netdev.j2 b/templates/wg.conf.j2 index 5d0bf5f..6a62c7f 100644 --- a/templates/wg.netdev.j2 +++ b/templates/wg.conf.j2 @@ -1,21 +1,16 @@ -[NetDev] -Name = wg0 -Kind = wireguard -Description = Wireguard - #tamriel 10.0.27.1 -[WireGuard] +[Interface] ListenPort = 48574 PrivateKey = {{ wireguard_private_key }} # balmora 10.0.27.2 -[WireGuardPeer] +[Peer] PublicKey = 6dbkVQAQPkbk0+wt6f+wge5cPW6THe0Kua830jio528= AllowedIPs = 10.0.27.2/32 PersistentKeepalive = 20 # motorola g6 10.0.27.3 -[WireGuardPeer] +[Peer] PublicKey = pqSY7SCKuRkHBTMWVhYAASrx/A1HF8Nlb3emnO8WqAc= AllowedIPs = 10.0.27.3/32 PersistentKeepalive = 20 diff --git a/templates/wg.network.j2 b/templates/wg.network.j2 deleted file mode 100644 index 31fef48..0000000 --- a/templates/wg.network.j2 +++ /dev/null @@ -1,5 +0,0 @@ -[Match] -Name = wg0 - -[Network] -Address = 10.0.27.1/24 |