[one-users] connect to VMs from Internet

Ruben S. Montero rubensm at dacya.ucm.es
Wed Mar 10 03:26:56 PST 2010


Hi,

Right now, we are doing this with a custom hook[1] that:

* (VM->Internet) we set an iptable NAT rule in the front-end.
* (Internet->VM) we set a port forwarding (e.g. ssh..) from a port in
the front-end to ssh's port in the VM

You can prepare an script to do this and configure a hook that it is
automatically executed whenever a VM is run. Also you can clean up
when the VM is shutdown with other hook...

Cheers

Ruben

REFERENCES:
[1] Hooks in OpenNebula:
http://www.opennebula.org/documentation:rel1.4:oned_conf#hook_system

[2] Example of a Hook to isolate VLANs:
http://www.opennebula.org/documentation:rel1.4:nm

On Wed, Mar 10, 2010 at 11:20 AM, medhioub
<houssem.medhioub at it-sudparis.eu> wrote:
> Hello,
>
> I am just starting with OpenNebula. :-)
> We have:
>
> a Cluster with 32 Servers (Nehalem Based) and we use XEN as a hypervisor
> interconnected via a switch.
> 2 Public IP adress
>
> Using OpenNebula, how can we create/configure VMs and offer an access to
> them (using ssh for example) from the outside (Internet).
>
> Thanks in advance.
>
> Best Regards,
> Houssem Medhioub
>
> --
> Houssem MEDHIOUB
> Research Engineer
> Wireless Networks and Multimedia Services Department(RS2M)
> TELECOM & Management SudParis
> 9 rue Charles Fourier
> 91011 EVRY Cedex, France
> Phone : +33(0)6 61 24 68 06
> Fax   : +33(0)1 60 76 45 78
> E-mail: houssem.medhioub at it-sudparis.eu
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



-- 
-- 
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid

URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7


More information about the Users mailing list