From 3541d14c76f433459289083244e36e955b2f1203 Mon Sep 17 00:00:00 2001 From: hexchen Date: Wed, 4 Aug 2021 13:59:35 +0000 Subject: [PATCH] parsons: add nftables --- hosts/parsons/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/parsons/configuration.nix b/hosts/parsons/configuration.nix index 386aa60..675f004 100644 --- a/hosts/parsons/configuration.nix +++ b/hosts/parsons/configuration.nix @@ -5,6 +5,7 @@ ../../common ./hardware.nix modules.encboot + modules.network.nftables modules.nftnat ((import sources.nix-hexchen) {}).profiles.nopersist ]; @@ -21,6 +22,10 @@ networking.hostId = "b2867696"; networking.useDHCP = true; + networking.nftables.enable = true; + hexchen.nftables.nat.enable = true; + networking.nat.internalInterfaces = ["ve-+"]; + networking.nat.externalInterface = "enp35s0"; system.stateVersion = "21.05"; }