From f59916c838ca896c27a0f6c02e6254dd824fc30f Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Mon, 24 Apr 2023 22:56:45 +0200 Subject: [PATCH] Add nftables setup to install script --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index b626bf7..0b7a787 100644 --- a/install.sh +++ b/install.sh @@ -103,6 +103,12 @@ systemctl stop NetworkManager systemctl enable systemd-networkd systemctl start systemd-networkd +echo "Setup nftables" +echo 'include "/etc/nftables/nfsense.conf"' >> /etc/sysconfig/nftables.conf +touch /etc/nftables/nfsense.conf +systemctl enable nftables +systemctl start nftables + echo "Default nfsense config" ./nfsense -default