Hi,<br><br>This mesage is more for the developpers : <br>I'm using OpenNeubla and your onemc. The code is well done and easy to modify but I have to let you know that you certainly miss something in the onemc_create_user function (in onemc/include/onemc_funcs.php) .The function doesn't add the user in the data base and you need it in the function onemc_deploy_vm() otherwise, if you are not the oneadmin user you will receive this kinfd of message if you triy to deploy a vm : <br>
Notice: xmlrpc: Parameter that is supposed to be a string is not (-501) in /srv/cloud/one/GUI/onemc/include/xml_funcs.php on line 153 because the $template is empty ...<br><br><br><div class="gmail_quote">2010/4/23 Jeroen Nijhof <span dir="ltr"><<a href="mailto:jeroen@nijhofnet.nl">jeroen@nijhofnet.nl</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
You can use iptables for portforwarding i.e. ssh:<br>
# iptables -t nat -A PREROUTING -p tcp --dport 22 -j DNAT --to<br>
<internal-vm>:22<br>
<br>
Just keep in mind that the ssh connection should go back as well so<br>
check the routes/firewall's...<br>
<br>
Regards,<br>
<font color="#888888">Jeroen<br>
</font><div><div></div><div class="h5"><br>
<br>
On Fri, 2010-04-23 at 00:51 -0400, Eddie Liu wrote:<br>
> Hi all:<br>
> I want to set the port forwarding on front-end so that I can access the VMs from internet.<br>
> Does anyone have the similar experience to share? Thanks in advance!<br>
><br>
><br>
> /<br>
> /<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Florian Chazal<br>