diff --git a/config/hosts/mail-1/configuration.nix b/config/hosts/mail-1/configuration.nix index b66124e..d9b4fa6 100644 --- a/config/hosts/mail-1/configuration.nix +++ b/config/hosts/mail-1/configuration.nix @@ -1,4 +1,4 @@ -{ ... }: +{ hosts, ... }: { boot.loader.grub = { enable = true; @@ -47,7 +47,7 @@ name = "valkyrie"; publicKey = "ik480irMZtGBs1AFpf1KGzDBekjdziD3ck7XK8r1WXQ="; presharedKeyFile = "/secrets/wireguard-valkyrie-mail-1-mail-1-psk.secret"; - endpoint = "212.53.203.19:51821"; + endpoint = "212.53.203.19:51822"; allowedIPs = [ "0.0.0.0/0" ]; persistentKeepalive = 25; } diff --git a/config/hosts/valkyrie/configuration.nix b/config/hosts/valkyrie/configuration.nix index f6de52a..8751e09 100644 --- a/config/hosts/valkyrie/configuration.nix +++ b/config/hosts/valkyrie/configuration.nix @@ -8,7 +8,7 @@ firewall = { enable = true; allowedTCPPorts = [ 80 443 ]; - allowedUDPPorts = [ 51820 51821 51827 51828 ]; + allowedUDPPorts = [ 51820 51821 51822 51827 51828 ]; }; wireguard = { enable = true; @@ -46,7 +46,7 @@ }; # mail-1 VPN wg1 = { - listenPort = 51821; + listenPort = 51822; ips = [ "172.16.50.1/24" ];