Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #234947

Re: Shorewall and libvirt

From Charles Curley <charlescurley@charlescurley.com>
Newsgroups linux.debian.user
Subject Re: Shorewall and libvirt
Date 2021-05-06 21:10 +0200
Message-ID <CbRxL-8if-1@gated-at.bofh.it> (permalink)
References <CbCyJ-7zw-1@gated-at.bofh.it> <CbGVH-1J3-3@gated-at.bofh.it>
Organization occasionally

Show all headers | View raw


On Thu, 6 May 2021 09:49:29 +0200
john doe <johndoe65534@mail.com> wrote:

> First you need to disable libvirt from playing with iptables, I
> changed (virsh net-edit default) from:
>    <forward mode='nat'/>
> 
> to:
> 
>    <forward mode='open'/>

Thank you, that seems to have worked.

> 
> Then you can use whatever firewalling solution you like (this is
> documented in Libvirt's doc).

I missed it. Sorry.

> 
> 
> Remember that Bullseye as nftables per default, you might want to
> switch back to iptables for Shorewall to work properly.

Done, thank you.

During this whole fiasco, I noticed a problem with virtmanager. The
Bullseye version lets the user edit the XML. This is nice, because it
then applies whatever changes the user makes. However, as soon as you
hit the apply button, the displayed XML reverts to the original. The
file is correct, as indicated by cat, but the display is wrong.
Similarly, if you edit externally, even with virsh net-edit, the GUI
does not pick up the changes. I believe this is a serious bug.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Shorewall and libvirt Charles Curley <charlescurley@charlescurley.com> - 2021-05-06 05:10 +0200
  Re: Shorewall and libvirt john doe <johndoe65534@mail.com> - 2021-05-06 09:50 +0200
    Re: Shorewall and libvirt Charles Curley <charlescurley@charlescurley.com> - 2021-05-06 21:10 +0200
      Re: Shorewall and libvirt john doe <johndoe65534@mail.com> - 2021-05-06 21:30 +0200
        Re: Shorewall and libvirt Charles Curley <charlescurley@charlescurley.com> - 2021-05-07 01:50 +0200
          Re: Shorewall and libvirt Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-07 08:20 +0200

csiph-web