kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Writting iptables rules to accept inbound connections to kvm guests
@ 2009-09-16 10:18 carlopmart
  0 siblings, 0 replies; only message in thread
From: carlopmart @ 2009-09-16 10:18 UTC (permalink / raw)
  To: kvm

Hi all,

  I have installed a CentOS 5.3 x86_64 server with kvm and libvirt to do 
some tests for future virtualized deployments.

My environment:

eth0 --> 172.25.50.1/24 ("public" host ip)
virbr0 ---> 192.168.122.1/24 (natted interface installed by libvirt)
virbr1 ---> 172.26.50.0/24 (isolated internal virtualized network, 
whithout physical interface binded)

  Between 192.168.122.0/24 network and 172.26.50.0/24 network I have 
installed a virtual firewall. So to reach 172.26.50.0/24 network, all 
connections needs to go to 192.168.122.0/24 network.

  I need to insert some iptables rules to allow access to some services 
installed on 172.26.50.0/24 network like smtp,http,ftp, etc.

  How can I configure libvirt to forward and nat these services coming 
from 172.25.50.0/24 network to a specific IP under 192.168.122.0/24 
network?? Or do I need to use /etc/sysconfig/iptables configuration and 
disable libvirt's iptables rules ?? Some examples, please??.

many thanks.

-- 
CL Martinez
carlopmart {at} gmail {d0t} com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-16 10:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-16 10:18 Writting iptables rules to accept inbound connections to kvm guests carlopmart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).