[libvirt] iptables rules location

Daniel P. Berrange berrange at redhat.com
Wed Jan 6 10:40:55 UTC 2010

On Wed, Jan 06, 2010 at 01:21:49PM +0300, Mihamina Rakotomandimby wrote:
> Manao ahoana, Hello, Bonjour,
> When starting libvirt there are some iptables  rules setup.
> I would like to know where are they stored (and the filename, I use
> ubuntu package, need to 'find' or 'locate'). 

They're not stored anywhere - they're adding when starting a libvirt
virtual network

If you do 'virsh net-list' you'll see which network was responsible
to adding the ones you currently see.  'virsh net-destroy' stops a
network, and removes the iptables rules, while 'virsh net-start'
starts a network, adding the rules

|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

More information about the libvir-list mailing list