khorsmann / libvirt-hook-qemu

Libvirt hook for setting up iptables port-forwarding rules when using NAT-ed networking.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Libvirt port-forwarding hook

Libvirt hook for setting up iptables port-forwarding rules when using NAT-ed networking.

Installation

To install the hook script and it's configuration files, simply use the :file:`Makefile`:

$ sudo make install

Afterwards customize :file:`/etc/libvirt/hooks/qemu.json` to your needs. This Makefile target can be invoked multiple times, already installed configuration files won't be touched. The files can be removed again with:

$ sudo make clean

Author

Sascha Peilicke

About

Libvirt hook for setting up iptables port-forwarding rules when using NAT-ed networking.


Languages

Language:Python 92.2%Language:Makefile 7.8%