(If this is a double post, I apologize, my
email client crashed when I first sent it)
I need some help to configure a
secure network on my Xen server. I
have been looking online and it seems a I need a routed network.
But I am having a terrible time implementing it.
My setup:
Xen 3.4.2
CentOS 5.5 Dom0
1 NIC (eth0)
All guests will be HVM
What I want to do is something similar to a firewall and
port
forwarding.
e.g.
DomU.1 has DHCP address of 10.0.0.50 (DHCP matches MAC to assign
same address and simplifies in creating templates)
DomU.2 has DHCP address of 10.0.0.60 (DHCP matches MAC to assign
same address and simplifies in creating templates)
etc.
Dom0 eht0 has public IP of 92.82.72.100 that forwards port 22 +
80 + 443 to 10.0.0.50
Dom0 eht0 has public IP of 92.82.72.101 that forwards port 21 +
22 + 80 + 443 to 10.0.0.60
etc.
Ideally, the main network card will have a bunch of public IPs
that will individually route to internal DomU systems that have
private IP addresses.
I also need to prevent a
DomU from: a) stealing other IPs
and b) communicating with other private systems unless Dom0 sais
ok.
Right now, I do not need to have DomU on different physical
servers sharing same network - what open vswitch provides as I
understand it - that's phase 2. But of course if it provides
what I need above easily, then I'm for it.
What do I need? I know how to accomplish most of it using real
hardware with firewalls, vlans, etc.
I am fairly new to Xen so please, if possible, provide examples.