[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] XEN / firewall rules..
Hi guys, hope you can help...
Let's start by saying I'm coming from the dark side (Windows), and trying to get up to speed with Linux. I'm dabbling with XEN on a 1and1 server running Debian 6.
I have set XEN up in NAT mode, with dom0 having an external IP on its eth0 port, and an IP of 192.168.1.10 on eth0:0. dom1 has an IP of 192.168.1.11
I'd like to test various setups on dom1, dom2 etc. starting with alternate web servers, which leads me to the crux of my question. Is it possible to route incoming traffic on port 80 to alternate IP addresses based on the content of the traffic in question. i.e. I would like all www traffic to go to dom0, other than www.abc.com<http://www.abc.com>, which I would like to go to dom1, and www.123.com<http://www.123.com> which I'd like to be forwarded onto dom2. I don't want to run the dom1 and dom2 web servers on different ports as this could lead to difficulties with client access.
Has anyone any experience of doing this?
Regards,
Martin.
_______________________________________________
Sheffield Linux User's Group
http://sheflug.org.uk/mailman/listinfo/sheflug_sheflug.org.uk
FAQ at: http://www.sheflug.org.uk/mailfaq.html
GNU - The Choice of a Complete Generation