From 0a4bf6110a70a495e0fdd1f5719b74af0c937f39 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 8 Oct 2023 16:13:44 +0530 Subject: [PATCH] setup listen ports --- hosts/rico2/wireguard.nix | 1 + hosts/skipper/wireguard.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/hosts/rico2/wireguard.nix b/hosts/rico2/wireguard.nix index b8e88db..f417e87 100644 --- a/hosts/rico2/wireguard.nix +++ b/hosts/rico2/wireguard.nix @@ -12,6 +12,7 @@ in { ips = peers."${config.networking.hostName}".allowedIPs; privateKeyFile = "/etc/wireguard/private.key"; generatePrivateKeyFile = true; + listenPort = 51820; peers = with peers; [ Proxy Skipper diff --git a/hosts/skipper/wireguard.nix b/hosts/skipper/wireguard.nix index 2183dac..0e13f4d 100644 --- a/hosts/skipper/wireguard.nix +++ b/hosts/skipper/wireguard.nix @@ -12,6 +12,7 @@ in { ips = peers."${config.networking.hostName}".allowedIPs; privateKeyFile = "/etc/wireguard/private.key"; generatePrivateKeyFile = true; + listenPort = 51820; peers = with peers; [ Proxy Rico2