From 0b6cc0e884fa529ab11edd5b1d8579d786761b61 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 7 Oct 2023 22:14:46 +0900 Subject: [PATCH] Test --- nixos/hosts/osaka-vultr-01/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/hosts/osaka-vultr-01/default.nix b/nixos/hosts/osaka-vultr-01/default.nix index 72b8b6a5..1bff6d3d 100644 --- a/nixos/hosts/osaka-vultr-01/default.nix +++ b/nixos/hosts/osaka-vultr-01/default.nix @@ -34,6 +34,9 @@ sopsFile = ../../../secrets/wireguard.yaml; }; + networking.nat.enable = true; + networking.nat.externalInterface = "eno3"; + networking.nat.internalInterfaces = [ "wireguard0" ]; # Wireguard Forwarder boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; }; networking.firewall.allowPing = true;