similar to: Easy solution for custom firewall rules- is it possible?

Displaying 20 results from an estimated 1100 matches similar to: "Easy solution for custom firewall rules- is it possible?"

2019 May 31
0
Re: Easy solution for custom firewall rules- is it possible?
Hi, libvirts nwfilter module can achieve that. I'm currently working on opt-out patches to disable that functionality if wished. I also don't use firewalld. It's both paternalizing and annoying and takes away user flexilibity in exchange for nothing. anyways Check the nwfilter page to write own filters for the beginning: https://libvirt.org/formatnwfilter.html#nwfwrite some
2019 Jun 03
1
Easy solution for custom firewall rules-
Nakta wrote: > libvirts nwfilter module can achieve that. I read over those resources and I did what I thought would be correct, but it's not having any effect. I created a new nwfilter like this: <filter name='allow-virbr2-vpn' chain='ipv4' priority='-700'> <rule action='accept' direction='in' priority='500'> <all
2020 Jan 01
2
Passing multiple addresses with masks to nwfilter
Hello, I have a nwfilter that I'm using to ensure that libvirt domains can't spoof IPv6 traffic. It looks like this: <filter name='no-ipv6-spoofing' chain='ipv6-ip' priority='-710'> <rule action='return' direction='out' priority='500'> <ipv6 srcipaddr='$IPV6' srcipmask='$IPV6MASK'/> </rule>
2017 Jun 20
2
guest A from virbr0 can talk to guest B in virbr1 but not vice versa
Hello, I came across an interesting problem in my home lab a few weeks ago as I'm prepping for my RHCE exam using Michael Jang study guide. I've been at this for days now, and I still can't wrap my head around how two or more virtual networks in default NAT configuration are even allowed to communicate with each other despite what the libvirt documentation said. Here's the
2016 Jan 23
5
RX dropped packets on guests subnets
Hello, I have first a question (and then may be a problem), that I have difficulties to understand and eventually to investigate. On each of my guests VM, I see constantly a RX dropped number increasing , Even if the VM does nothing ! ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.100.15 netmask 255.255.255.0 broadcast 192.168.100.255
2016 Apr 04
1
add external access to routed dnsmasq
I have created a routed virtual network. From within the routed net, DNS requests to the dnsmasq interface virbr2 work fine. On the libvirt host, DNS requests to the dnsmasq interface virbr2 work fine. I would like to allow external hosts, on the same network as the libvirt host, to query the dnsmasq interface. However external DNS queries to the virbr2 interface time out. The iptables firewall
2017 Jun 20
0
Re: guest A from virbr0 can talk to guest B in virbr1 but not vice versa
On Tue, Jun 20, 2017 at 02:26:59AM -0400, Travis S. Johnson wrote: >Hello, > >I came across an interesting problem in my home lab a few weeks ago as I'm >prepping for my RHCE exam using Michael Jang study guide. I've been at this >for days now, and I still can't wrap my head around how two or more virtual >networks in default NAT configuration are even allowed to
2020 Apr 17
3
Re: My VMs don't get IP with libvirt and dnsmasq
Hello! Thanks for your answer. Well, I think it has to ask for an IP as I have the same configuration in a different machine (with the same OS) and it works, there I see the DHCP packets and so on, but not here. And yeah, that pepito.conf file exists, this is its content: ##WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE ##OVERWRITTEN AND LOST. Changes to this
2020 Apr 17
1
Re: My VMs don't get IP with libvirt and dnsmasq
Hi, That was right. I mean, I've tried it at the same time in both machines I have (the one where it works and the other), and using tcpdump -i virbr2 in both ones, after creating the domain with virsh, showed that the right one is getting DHCP traffic, but there's no DHCP request or anything about DHCP in the one that is not working. El vie., 17 abr. 2020 a las 12:50, Michal Privoznik
2014 Oct 05
1
Re: Assigning IPv6 address to guest
On 10/5/2014 1:56 AM, Bhasker C V wrote: > On 04/10/14 21:13, The Cop wrote: >> On 10/4/2014 8:46 PM, Bhasker C V wrote: >>> On 04/10/14 15:36, The Cop wrote: >>>> Hello, >>>> >>>> I am trying to assign an IPv6 address to one of my guests. I followed the >>>> following guide, unsuccessfully: >>>> >>
2020 Apr 16
4
My VMs don't get IP with libvirt and dnsmasq
Hello there, I wanted to share a problem I'm having with libvirt, for the case someone here could know how to solve it. I'm using an Ubuntu 18.04 LTS, I have libvirtd already installed and I think I got all the dependencies installed. So, I'm using virsh net-create to create this network: <network> <name>pepito</name> <forward mode='nat'/>
2010 Jun 30
0
FYI: a short guide to libvirt & network filtering iptables/ebtables use
I just wrote this to assist some Red Hat folks understanding what libvirt does with iptables, and thought it is useful info for the whole libvirt community. When I have time I'll adjust this content so that it can fit into the website in relevant pages/places. Firewall / network filtering in libvirt ======================================= There are three pieces of libvirt
2017 Dec 29
1
OpenVPN server and firewalld
On Fri, Dec 29, 2017 at 10:32 AM, Kenneth Porter <shiva at sewingwitch.com> wrote: > How do I insert the iptables rule below using firewalld? > > I'm moving up from CentOS 6 to 7 on an office gateway and I'm trying to > get OpenVPN working to allow home workers to access PCs at the office. I've > got it all working but only by manually inserting an ACCEPT rule in
2020 Jul 19
4
Routed network can't reach outside network
Greetings folks. I've setup libvirtd on my manjaro linux laptop. Got a couple of VM's running (Win10 and Debian10) through NAT without any issues. This is what the current network diagram looks like and it works fine: +-----------------------------------+ | +---------------------+ | | |
2015 Aug 26
3
Isolated networks && test lab
I'm trying to migrate my VirtualBox test lab to KVM. In my VB configuration, I have several VM routers with 4 interfaces each. Each router has a bridged interface which connects them all together and to the outside world. I have servers/clients dispersed on each of the other private (Isolated) segments that use the routers as default gateways. In trying to make this work, I used Virtual
2020 Nov 07
0
Upgrade CentOS 7 to 8, error: network is already in use by interface
Hi, I've been trying to migrate some of my CentOS 7 KVM hypervisors to CentOS 8, and I have encountered the following issue while trying to load my network config: virsh:     error: Failed to start network test1     error: internal error: Network is already in use by interface virbr2 journalctl:     error : networkCheckRouteCollision:123 : internal error: Network is already in use by
2018 Dec 25
2
Network filters with clean-traffic not working on Debian Stretch
Hello, I'm recently stumbled over the libvirt network filter capabilities and got pretty excited. Unfortunately I'm not able to get the the "clean-traffic" filterset working. I'm using a freshly installed Debian Stretch with libvirt, qemu and KVM. My config snippet looks as follows: sudo virsh edit <VM> [...] <interface type='bridge'> <mac
2018 Mar 30
2
Re: Possible to edit/apply nwfilter at runtime?
On 2018/02/16 12:12 pm, Daniel P. Berrangé wrote: > On Fri, Feb 16, 2018 at 11:59:42AM -0500, Andre Goree wrote: >> I'm trying to determine if it's possible to edit/attach/apply nwfilter >> rules >> at runtime? I.e., after a VM is already running, can I apply a >> nwfilter to >> the VM and have it work without rebooting the machine? Thus far, I've
2019 May 06
2
disable libvirt-nwfilter
Hi, i want to disable the nwfilter functionality of libvirt. It's surely nice for some people, nevertheless i don't want libvirt to alter any netfilter rules, neither i want the according functionality even available. I know about nwfilter-undefine, but what i'm looking for is an option to globally disable this functionality at all. Some config flag or similar. How can i achieve
2018 Feb 16
3
Possible to edit/apply nwfilter at runtime?
I'm trying to determine if it's possible to edit/attach/apply nwfilter rules at runtime? I.e., after a VM is already running, can I apply a nwfilter to the VM and have it work without rebooting the machine? Thus far, I've not come across a way to do so, but I thought I'd ask here before I chase my tail around Google. Thanks! -- Andre Goree -=-=-=-=-=- Email - andre at