From 755999655027403b2fd6b4aa29ded1464be82e29 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Sun, 8 Jun 2025 10:15:26 -0400 Subject: [PATCH] fix(oracle): enable IP address forwarding for wireguard --- machines/oracle/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/oracle/configuration.nix b/machines/oracle/configuration.nix index b5b4188..f872a05 100644 --- a/machines/oracle/configuration.nix +++ b/machines/oracle/configuration.nix @@ -33,6 +33,9 @@ listenPort = 51820; privateKeyFile = config.age.secrets.wireguardOracle.path; + # Enable IP address forwarding + preUp = "sysctl -w net.ipv4.ip_forward=1"; + peers = [ { publicKey = "iKJO9Q8LsdCdApapTX9CJmrtAKn1TYhg4YUiBUBPzmo=";