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.
libvirt-firewall/README.md

528 B

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 (libvirt < 6.5.0):

# cp libvirt-firewall /etc/libvirt/hooks/daemon

Install as libvirt daemon hook (libvirt >= 6.5.0, untested):

# mkdir /etc/libvirt/hooks/daemon.d
# cp libvirt-firewall /etc/libvirt/hooks/daemon.d/libvirt-firewall