This commit is contained in:
iFargle 2023-10-07 22:14:46 +09:00
parent 7d80befe76
commit 0b6cc0e884

View file

@ -34,6 +34,9 @@
sopsFile = ../../../secrets/wireguard.yaml; sopsFile = ../../../secrets/wireguard.yaml;
}; };
networking.nat.enable = true;
networking.nat.externalInterface = "eno3";
networking.nat.internalInterfaces = [ "wireguard0" ];
# Wireguard Forwarder # Wireguard Forwarder
boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; }; boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; };
networking.firewall.allowPing = true; networking.firewall.allowPing = true;