Re: [libvirt-users] nwfilter and address of network ip address

2017-05-08 Thread Nicolas Bock
On Mon, May 08, 2017 at 04:57:58PM +0100, Daniel P. Berrange wrote: On Mon, May 08, 2017 at 11:30:46AM -0400, Nicolas Bock wrote: On Mon, May 08, 2017 at 03:35:19PM +0100, Daniel P. Berrange wrote: > On Sat, May 06, 2017 at 08:09:49PM -0400, Dan wrote: > > On Fri, May 5, 2017 a

Re: [libvirt-users] nwfilter and address of network ip address

2017-05-08 Thread Nicolas Bock
On Mon, May 08, 2017 at 04:57:58PM +0100, Daniel P. Berrange wrote: On Mon, May 08, 2017 at 11:30:46AM -0400, Nicolas Bock wrote: On Mon, May 08, 2017 at 03:35:19PM +0100, Daniel P. Berrange wrote: > On Sat, May 06, 2017 at 08:09:49PM -0400, Dan wrote: > > On Fri, May 5, 2017 a

Re: [libvirt-users] nwfilter and address of network ip address

2017-05-08 Thread Nicolas Bock
On Mon, May 08, 2017 at 03:35:19PM +0100, Daniel P. Berrange wrote: On Sat, May 06, 2017 at 08:09:49PM -0400, Dan wrote: On Fri, May 5, 2017 at 4:29 PM, Nicolas Bock wrote: > Hi, > > I am running a webserver on the libvirt host and would like to add a > nwfilter such that a VM can

Re: [libvirt-users] nwfilter and address of network ip address

2017-05-08 Thread Nicolas Bock
Hi Dan, On Sat, May 06, 2017 at 08:09:49PM -0400, Dan wrote: On Fri, May 5, 2017 at 4:29 PM, Nicolas Bock wrote: Hi, I am running a webserver on the libvirt host and would like to add a nwfilter such that a VM can access that server. The corresponding iptables rule would look like this

[libvirt-users] nwfilter and address of network ip address

2017-05-05 Thread Nicolas Bock
Hi, I am running a webserver on the libvirt host and would like to add a nwfilter such that a VM can access that server. The corresponding iptables rule would look like this: iptables --append INPUT --in-interface virbr0 --destination 192.168.122.1 --protocol tcp --dport 80 --jump ACCEPT wh