Prevent KVM/qemu VMs from accessing the local network
This repository has been archived on 2024-05-28. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2023-10-07 20:20:32 +02:00
.editorconfig 🎉 initial codebase 2023-10-07 19:52:02 +02:00
libvirt-firewall 🐛 make sure script is executable 2023-10-07 20:20:32 +02:00
README.md 🎉 initial codebase 2023-10-07 19:52:02 +02:00

libvirt Firewall

Prevent KVM/qemu VMs from accessing the local network

Setup Instructions

Clone git repository:

# cd /opt
# git clone https://git.tjdev.de/DrMaxNix/libvirt-firewall.git
# cd libvirt-firewall

Install as libvirt daemon hook:

# ln -s /opt/libvirt-firewall/libvirt-firewall /etc/libvirt/hooks/daemon.d/libvirt-firewall