From 809eb05edfc0e04184ca0fed8a89892566882710 Mon Sep 17 00:00:00 2001 From: Ciapa Date: Fri, 9 Feb 2024 22:33:22 +0100 Subject: [PATCH] Add base requirements for NAT --- hosts/phoenix.lewd.wtf/networking.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/phoenix.lewd.wtf/networking.nix b/hosts/phoenix.lewd.wtf/networking.nix index 5de44db..a499968 100644 --- a/hosts/phoenix.lewd.wtf/networking.nix +++ b/hosts/phoenix.lewd.wtf/networking.nix @@ -10,6 +10,13 @@ }; }; + networking.nat = { + enable = true; + internalInterfaces = ["ve-+"]; + externalInterface = "wg0"; + enableIPv6 = true; + }; + networking.interfaces.br0.ipv4.addresses = [ { address = "192.168.0.42";