mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
Update install.sh
This commit is contained in:
parent
4d39692075
commit
160e8d9001
1 changed files with 10 additions and 10 deletions
20
install.sh
20
install.sh
|
@ -98,20 +98,20 @@ EOT
|
||||||
echo "reload systemd"
|
echo "reload systemd"
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
||||||
echo "Setup nfsense Config"
|
|
||||||
./nfsense --setup
|
|
||||||
|
|
||||||
echo "Setup networkd"
|
|
||||||
systemctl disable NetworkManager
|
|
||||||
systemctl stop NetworkManager
|
|
||||||
systemctl enable systemd-networkd
|
|
||||||
systemctl start systemd-networkd
|
|
||||||
|
|
||||||
echo "Setup nftables"
|
echo "Setup nftables"
|
||||||
echo 'include "/etc/nftables/nfsense.conf"' >> /etc/sysconfig/nftables.conf
|
echo 'include "/etc/nftables/nfsense.conf"' >> /etc/sysconfig/nftables.conf
|
||||||
touch /etc/nftables/nfsense.conf
|
touch /etc/nftables/nfsense.conf
|
||||||
|
|
||||||
|
echo "Setup nfsense Config"
|
||||||
|
./nfsense setup
|
||||||
|
|
||||||
|
# Enable & Disable Network Services
|
||||||
systemctl enable nftables
|
systemctl enable nftables
|
||||||
systemctl start nftables
|
systemctl enable systemd-networkd
|
||||||
|
systemctl disable NetworkManager
|
||||||
|
|
||||||
|
echo "Apply nfsense Config"
|
||||||
|
./nfsense apply
|
||||||
|
|
||||||
echo "Starting nfsense"
|
echo "Starting nfsense"
|
||||||
systemctl enable nfsense
|
systemctl enable nfsense
|
||||||
|
|
Loading…
Add table
Reference in a new issue