Add nftables setup to install script

This commit is contained in:
Samuel Lorch 2023-04-24 22:56:45 +02:00
parent 93cf0d7305
commit f59916c838

View file

@ -103,6 +103,12 @@ systemctl stop NetworkManager
systemctl enable systemd-networkd systemctl enable systemd-networkd
systemctl start 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" echo "Default nfsense config"
./nfsense -default ./nfsense -default