diff --git a/hosts/carbon/configuration.nix b/hosts/carbon/configuration.nix index f2d21cf..29e00ca 100644 --- a/hosts/carbon/configuration.nix +++ b/hosts/carbon/configuration.nix @@ -36,6 +36,14 @@ networking.interfaces.enp2s0.ipv6.addresses = [ { address = "fd00:152:152:4::1"; prefixLength = 64; } ]; networking.interfaces.enp2s0.ipv4.addresses = [ { address = "10.152.4.1"; prefixLength = 24; } ]; + networking.nat = { + enableIPv6 = true; + enable = true; + externalInterface = "enp1s0"; + internalIPv6s = [ "fd00:152:152::/48" ]; + internalIPs = [ "10.152.0.0/16" ]; + }; + networking.wireguard.enable = true; networking.wireguard.interfaces = { wg-porter = {