diff --git a/firewall2.sh b/firewall2.sh index f9e3bcc..0d34451 100644 --- a/firewall2.sh +++ b/firewall2.sh @@ -168,7 +168,9 @@ basic-security() { virtualization() { ip link del virbr0 + killall dnsmasq /usr/bin/systemctl restart libvirtd + sleep 10 $NFT insert rule filter input iif $VIRT_BRIDGE $NFT_ACCEPT /usr/bin/virsh net-start default } @@ -317,6 +319,8 @@ stop() { if [ "$1" = "start" ]; then start +elif [ "$1" = "virt" ]; then + virtualization elif [ "$1" = "fediblock" ]; then fediblock elif [ "$1" = "bot-search" ]; then