diff --git a/modules/system/devices/networking/wireguard/pc/default.nix b/modules/system/devices/networking/wireguard/pc/default.nix index 45d9308..a792486 100644 --- a/modules/system/devices/networking/wireguard/pc/default.nix +++ b/modules/system/devices/networking/wireguard/pc/default.nix @@ -1,5 +1,9 @@ { config, ... }: { + networking.firewall = { + allowedUDPPorts = [ 51820 ]; + }; + networking.wireguard.interfaces = { "${config.ips.wgInt}" = { # Define IP of client in per device config diff --git a/modules/system/devices/networking/wireguard/server/default.nix b/modules/system/devices/networking/wireguard/server/default.nix index e8d8a43..89ac746 100644 --- a/modules/system/devices/networking/wireguard/server/default.nix +++ b/modules/system/devices/networking/wireguard/server/default.nix @@ -21,10 +21,6 @@ publicKey = config.secrets.wgPixel9Pub; allowedIPs = [ "${config.ips.wgSpan}.2/32" ]; } - { # Oracle VM - publicKey = config.secrets.wgOraclePub; - allowedIPs = [ "${config.ips.wgSpan}.3/32" ]; - } { # General Nix publicKey = config.secrets.wgClientPub; allowedIPs = [ "${config.ips.wgSpan}.16/28" ];