[libvirt] iptables rules location

2010-01-06 Thread Mihamina Rakotomandimby
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'). 

Misaotra, Thanks, Merci.

-- 
   Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche  Developpement
+261 34 29 155 34 / +261 33 11 207 36

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] iptables rules location

2010-01-06 Thread Daniel P. Berrange
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

Regards,
Daniel
-- 
|: 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 :|

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list