similar to: Issues with nwfilter rules

Displaying 20 results from an estimated 4000 matches similar to: "Issues with nwfilter rules"

2016 Mar 01
0
nwfilter : iptables rules not working
Hi, I contact you as i have difficulties to use nwfilter with KVM host. I want to implemente flow filtering between my Linux guests. I created the following filter : cat admin-dmz-internet.xml <filter name='admin-dmz-internet'> <!-- this zone is an SSH ingoing only zone --> <!-- but SSH can go to an other SSH proxy --> <filterref
2017 Jun 26
0
Accepting RELATED, ESTABLISHED (TCP) connections into VM using Network Filters
Hi, Over the past few days I've been trying to get a prototype working of a stateful firewall for a Virtual Machine using Libvirt's network filters. My goal is to replace the current custom Python/Java code in the Apache CloudStack [0] project by Network Filters of Libvirt. Both IPv4 and IPv6 should work, but I started off with IPv4 and I have issues with accepting back
2013 Jul 08
6
Getting nwfilter to work on Debian Wheezy
Hi, I'm trying to configure nwfilter for KVM, but so far I haven't managed to figure out a working configuration. Network setup: The dom0 (Debian 7.1, kernel 3.2.46-1, libvirt 0.9.12) is connected via eth0, part of the external subnet 192.168.17.0/24, and has an additional subnet 192.168.128.160/28 routed to its main address 192.168.17.125. The host's subnet is configured as bridge
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
2012 Mar 28
0
ARP entry intermittently is incorrect for guest - lose connectivity
I've run into a problem on my KVM host where a single guest will be unreachable to other guests on the same host. This host has 2 bridged devices and guests assigned to each have the same issue. I've noticed that when I can't reach the problematic guest, the ARP entry for that system is incorrect. This issue seems to only be a problem about 75% of the time when making connections
2018 Nov 08
0
Problems getting nwfilter to work
Hi folks, I'm using libvirt 3.9.0 running under CentOS 7.5. I want the guests, which are all within the same subnet (e.g. 10.0.0.x.), only talk to their default gateway (e.g. 10.0.0.1) but to each other. This is caused by a design issue of our network platform. I set up a filter rule and attached it to the interface of a guest using nwfilter-define: <filter name='private_ip'
2015 Dec 09
0
How to manually add a new interface to a bridge device?
I would stop the VM, edit its definition file (that's an XML file) and then start it up. But be careful: After you edit the XML file, you need to execute a command so KVM re-reads that file. I forgot that command, but you can look it up on Google. On Dec 9, 2015 7:52 AM, "Howard Leadmon" <howard at leadmon.net> wrote: > > > Maybe my google-fu is failing me, but I have
2010 Sep 06
1
Bug#571634: bridge loosing connection
Hi, I'm not sure but I think I suffer under the same problem with a bit different setup with squeeze testing and xen 4.0rc5. In fact I'm using bridges in the dom0 and the connections to the domU get lost sporadically. In don't see where's a solution to the problem... Is it now a bug? When it's an iptables bug, where's the corresponding bug in the iptables bugtracker
2014 Apr 17
0
Re: What's the meaning of sub-element <ip address='X.X.X.X'> in <interface type='bridge'> of domain xml?
On 04/17/2014 10:42 AM, Jianwei Hu wrote: > Hi guys, > > I saw this sub-element in http://libvirt.org/firewall.html, there is some confusion, what's the meaning of sub-element <ip address='X.X.X.X'> in <interface type='bridge'> of domain xml? > > The detail <interface> in domain xml as below: > <interface type='bridge'> >
2015 Dec 09
2
How to manually add a new interface to a bridge device?
Maybe my google-fu is failing me, but I have spent the past couple hours looking at how to add a vnet? Device to my KVM host running CentOS 6, and for the life of me I can't get this going. >From all my research if I want to add a device I should just do 'brctl addif br1 vnet14' if I want to add a vnet14 to bridge br1. When I do this, I get: # brctl addif br0 vnet14
2012 Nov 07
1
Problems when filtering on icmpv6
Hi, I am trying to prevent my qemu guest machines from sending IPv6 router advertisements over their network device. To that end, I have written this filter definition: <filter name='no-ipv6-router-advertisement' chain='root' priority='-690'> <rule action='drop' direction='out' priority='600'> <icmpv6 type='134'/>
2015 Dec 09
0
How to manually add a new interface to a bridge device?
You most definitely do not need to destroy and re-create a VM just to add a 2nd network interface. I don't think those vnet interfaces got created by the host OS. I believe those are created by KVM (or libvirt) when you start a VM. I could be wrong though. But I just checked on my CentOS 6 KVM host machine and I see as many vnet interfaces as many VMs are currently running (or if one VM
2014 Jun 04
3
KVM integrated network (user mode) dying after inactivity
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi list, I searched the web for bug reports regarding this phenomenon I see on *multiple* machines of a customer, however, I didn't find an exact fit. So, I'd like to ask here whether anyone else has run into this. I have multiple CentOS 6 machines running using KVM to virtualize a bunch of machines on them (LVM-based). Software releases
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
2017 Mar 07
2
Re: Help needed on a gentoo system after update to libvirtd 3.1.0
Am 2017-03-07 13:01, schrieb Michal Privoznik: > On 03/07/2017 11:44 AM, Marko Weber | 8000 wrote: >> >> >> (sorry, dont know how i put my posting into an reply to an other issue >> before, >> new posting to sepearte it, big sorry) >> >> >> >> >> Hello list, >> >> i updated on a gentoo system from libvirtd 2.5 to
2013 Sep 02
0
KVM - Network bridge issue - lots of overruns
Hi everybody I've a very big network problem with some server running CentOS with KVM and some linux-like VMs on the top of it. The vm's network is bridged with a physical dedicate NIC (an Intel PRO/1000) with 2.4.14-NAPI driver (but the problem persists with various versions of the driver) and the CentOS version is 6.4 (same problem with a 5.7 sever) with all the last updates.
2013 Aug 07
1
KVM bridge wonkiness in Fedora19
Greetings, I'm attempting to get several virtual machines setup on a Fedora19 host system, with the traditional bridge network devices (br0, br1, etc). I've done this many times before with older versions of Fedora (16, 14, etc), and it just works. However, for reasons that I cannot figure out, the bridge doesn't seem to be working in Fedora19. While I can successfully connect to
2015 Dec 09
0
How to manually add a new interface to a bridge device?
BTW, adding a 2nd virtual nic to a guest can also be done with command line tools (I just googled this for you) : https://kashyapc.fedorapeople.org/virt/add-network-card-in-guest.txt ( It came up as 1st result when I searched for: virsh add network interface to existing guest ) But if you look at the bottom of this guide, they also mention that if something goes wrong, they resort to using
2015 Dec 09
2
How to manually add a new interface to a bridge device?
Tried that as well, but this has to be something that gets set at the OS level and loaded, as if you look at dmesg output, you can see all the vnet?? nodes as the OS comes online. So the question is, what is virt-install doing that creates the needed vnet interface that is part of the bridge. I really had to kill and reload the VM just to load a second interface.. --- Howard Leadmon
2014 Mar 26
1
Recreating nwfilter rules without a restart
Let's say I have some iptables rules defined to restrict guest traffic. If I restart the hosts firewall 'service iptables restart', all the guest-specific rules get blown away. Is there a way to reapply all the guest firewall rules, without restarting each individual guest? It looks like if I edit a nwfilter with `virsh nwfilter-edit` it goes and reapplies the rules to all the