Fórum Root.cz

Hlavní témata => Distribuce => Téma založeno: ntpt 27. 11. 2016, 16:23:57

Název: libvirt a firewall na hostu
Přispěvatel: ntpt 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...
Název: Re:libvirt a firewall na hostu
Přispěvatel: snuff1987 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
Název: Re:libvirt a firewall na hostu
Přispěvatel: ntpt 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 .
Název: Re:libvirt a firewall na hostu
Přispěvatel: ET 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...
Název: Re:libvirt a firewall na hostu
Přispěvatel: kerlik 27. 11. 2016, 23:10:54
Myslíš tento bug?  :D
https://bugzilla.redhat.com/show_bug.cgi?id=846810 (https://bugzilla.redhat.com/show_bug.cgi?id=846810)
Název: Re:libvirt a firewall na hostu
Přispěvatel: ntpt 29. 11. 2016, 12:41:03
Myslíš tento bug?  :D
https://bugzilla.redhat.com/show_bug.cgi?id=846810 (https://bugzilla.redhat.com/show_bug.cgi?id=846810)

jo
Název: Re:libvirt a firewall na hostu
Přispěvatel: citanus006 29. 11. 2016, 16:55:18
ta errata to nefixla?
Název: Re:libvirt a firewall na hostu
Přispěvatel: ET 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.