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

19 lines
397 B
Markdown
Raw Normal View History

2023-10-07 19:52:02 +02:00
# libvirt Firewall
Prevent KVM/qemu VMs from accessing the local network
## Setup Instructions
Clone git repository:
```console
# cd /opt
# git clone https://git.tjdev.de/DrMaxNix/libvirt-firewall.git
# cd libvirt-firewall
```
Install as libvirt daemon hook:
```console
2023-10-07 20:21:16 +02:00
# mkdir /etc/libvirt/hooks
2023-10-07 19:52:02 +02:00
# ln -s /opt/libvirt-firewall/libvirt-firewall /etc/libvirt/hooks/daemon.d/libvirt-firewall
```