diff --git a/firewall2.sh b/firewall2.sh index 8933c77..c42c8b1 100644 --- a/firewall2.sh +++ b/firewall2.sh @@ -11,7 +11,7 @@ SYNCTHING=(22000 8384 21027) NFS=(2049 111) JELLYFIN=(8096 1900 7359) MACHINES=(0.0.0.0) -LIBVIRT_IP_ADDRESS=(192.168.122.0/24) +VIRT_BRIDGE="virbr0" ADMIN=(22 9090) #### NFT CONFIG #### NFT='/usr/sbin/nft' @@ -165,7 +165,7 @@ basic-security() { } virtualization() { - $NFT insert rule filter input iif virbr0 $NFT_ACCEPT + $NFT insert rule filter input iif $VIRT_BRIDGE $NFT_ACCEPT }