[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] PAT NAT for my VM's?


  • To: xen-users@xxxxxxxxxxxxx
  • From: dan geci <d.geci33@xxxxxxxxx>
  • Date: Fri, 30 Nov 2012 15:36:16 -0500
  • Delivery-date: Mon, 03 Dec 2012 13:07:25 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

I saw this info http://wiki.kartbuilding.net/index.php/Xen_Networking but it doesn't cover my issue I don't think.  I want several of the same Linux OS running on xen from one server(dom0) where dom0 has the one public IP I have available to me.  From there I want to access these VM's from any where over internet with ssh and once logged in reach the internet via these same machines for tasks like apt-get.  The issue is I can't configure the default gateway to do the routing because someone else owns the network.  I just have permission to put this server in the DMZ and use a pubic IP for it and give it internet access. Basically xen needs to do routing for the vm's.   It's for a school work study. I am tasked with giving each student in Unix class their own VM with root permissions that they can log into from anywhere.  And I need apt-get to work on said VM's for when they learn package installation etc... I've never used xen so please be detailed if possible.  Basically I thought xen uses port address translation not just NAT.  In other words if my public IP is 1.1.1.1 then I could map port say 4601 to mean my first VM and 4602 for the second ect... that way I could ssh into them from home with ssh user@xxxxxxx:4601 for the first VM  and so on and  and NAT would use the PAT mappings to send traffic out for tasks like apt-get (the 4601 would point to that particular VM and the xen hyper visor would send the ssh request to that machine via ssh's normal port on said machine which is 22).  Am I wrong about how this works? If so what is my solution or how do I set up xen to do this?  Or point me to a tutorial on this scenario.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.