libvirt a firewall na hostu

ntpt

libvirt a firewall na hostu
« kdy: 27. 11. 2016, 16:23:57 »
Dobrá den, neví někdo sběhlejší, jak donutit libvirtd (gentoo) aby při spuštění doslova NEROZ...AL na hostu celý firewall ?

Při /etc/init.d/libvirtd start je existující firewall nahrazen  nějakým bordelem...


Re:libvirt a firewall na hostu
« Odpověď #1 kdy: 27. 11. 2016, 17:40:04 »
upravit startovaci skript tak aby po nastaveni libvirt hned opravilo aj spravny firewal...iptables alebo neviemco tam mas..

iptables-restore < /foo/bar

ntpt

Re:libvirt a firewall na hostu
« Odpověď #2 kdy: 27. 11. 2016, 18:09:42 »
upravit startovaci skript tak aby po nastaveni libvirt hned opravilo aj spravny firewal...iptables alebo neviemco tam mas..

iptables-restore < /foo/bar


Mno, to je spíše workaround .

ET

Re:libvirt a firewall na hostu
« Odpověď #3 kdy: 27. 11. 2016, 21:51:17 »
ja to nakonec obesel (IMHO trochu cistsi) tak, ze bridge (br1) konfiguruju v systemu manualne (tj. mimo libvirt)  a pro virtual nastavuju:

Kód: [Vybrat]
<interface type='bridge'>
  <source bridge='br1'/>
</interface>

PS: nic lepsiho jsem na netu nenasel...

kerlik

Re:libvirt a firewall na hostu
« Odpověď #4 kdy: 27. 11. 2016, 23:10:54 »


ntpt


citanus006

Re:libvirt a firewall na hostu
« Odpověď #6 kdy: 29. 11. 2016, 16:55:18 »
ta errata to nefixla?

ET

Re:libvirt a firewall na hostu
« Odpověď #7 kdy: 29. 11. 2016, 18:18:43 »
pro me stejne k nicemu, jelikoz:
 
Citace
Jiri Denemark 2014-04-04 17:36:40 EDT

This bug was not selected to be addressed in Red Hat Enterprise Linux 6. We will look at it again within the Red Hat Enterprise Linux 7 product.