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.
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 - 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.