Generate firewall rules only for VMs connected to this firewall (#158)
This commit is contained in:
parent
ab244d803f
commit
fa703c536f
@ -1378,6 +1378,10 @@ class QubesProxyVm(QubesNetVm):
|
|||||||
|
|
||||||
vms = [vm for vm in qvm_collection.values() if vm.has_firewall()]
|
vms = [vm for vm in qvm_collection.values() if vm.has_firewall()]
|
||||||
for vm in vms:
|
for vm in vms:
|
||||||
|
# Process only VMs connected to this ProxyVM
|
||||||
|
if not vm.netvm_vm or vm.netvm_vm.qid != self.qid:
|
||||||
|
continue
|
||||||
|
|
||||||
conf = vm.get_firewall_conf()
|
conf = vm.get_firewall_conf()
|
||||||
|
|
||||||
xid = vm.get_xid()
|
xid = vm.get_xid()
|
||||||
|
Loading…
Reference in New Issue
Block a user