mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 10:38:20 +00:00
Add nftables setup to install script
This commit is contained in:
parent
93cf0d7305
commit
f59916c838
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue