From 045a0b3ca7a2c06fa48a0863a264e791873aeee7 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 19 Oct 2021 23:40:46 +0100 Subject: [PATCH] Add firefishy wireguard peer --- cookbooks/networking/recipes/default.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 8569c731c..f43eaf2a7 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -261,6 +261,12 @@ if node[:networking][:wireguard][:enabled] :allowed_ips => "10.0.16.1/32", :endpoint => "gate.compton.nu:51820" } + + node.default[:networking][:wireguard][:peers] << { + :public_key => "RofATnvlWxP3mt87+QKRXFE5MVxtoCcTsJ+yftZYEE4=", + :allowed_ips => "10.89.122.1/32", + :endpoint => "gate.firefishy.com:51820" + } end template "/etc/systemd/network/wireguard.netdev" do -- 2.39.5