diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-06-15 19:19:47 +0100 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-06-15 19:19:47 +0100 |
commit | e22c27b549ec1bfe7af7ae212839e0c81080cd3c (patch) | |
tree | c32f0c9caf8b317458148c60a458e916f8c1a009 /roles/wgnet/templates/wgnet0.conf.j2 | |
parent | ee9616ff128fe3938dc3490cbdb42298a5630742 (diff) | |
download | infra-e22c27b549ec1bfe7af7ae212839e0c81080cd3c.tar.gz infra-e22c27b549ec1bfe7af7ae212839e0c81080cd3c.tar.bz2 infra-e22c27b549ec1bfe7af7ae212839e0c81080cd3c.zip |
Rename wg0 interface to wgnet0
Diffstat (limited to 'roles/wgnet/templates/wgnet0.conf.j2')
-rw-r--r-- | roles/wgnet/templates/wgnet0.conf.j2 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/wgnet/templates/wgnet0.conf.j2 b/roles/wgnet/templates/wgnet0.conf.j2 new file mode 100644 index 0000000..f79b2b4 --- /dev/null +++ b/roles/wgnet/templates/wgnet0.conf.j2 @@ -0,0 +1,14 @@ +[Interface] +PrivateKey = {{ wireguard_private_key }} +Address = 10.0.0.1/24 +ListenPort = 51820 + +# flame +[Peer] +PublicKey = YUuBBTKHXsD6tTzcAVWXakZffWKlGS5fAdx7zWSXtlI= +AllowedIPs = 10.0.0.2/32 + +# water +[Peer] +PublicKey = X0Gw37N+AUkZjiyZ9buZ8c2ZzFr+niX3FZjxlyqQq0Q= +AllowedIPs = 10.0.0.3/32 |