[英]How to Access Openstack on my local machine from External network?
I deployed a private cloud in openstack with the help of packstack, Everything is working fine, I can create new instances, Launch it, use it to install software from internet and delete it, All the set up is running on my Local machine as virtual machine in vmware, I created a router, a public and a private network. 我在packstack的帮助下在openstack中部署了一个私有云,一切工作正常,我可以创建新实例,启动它,使用它从Internet安装软件并删除它,所有设置都在本地计算机上以虚拟方式运行在vmware中的计算机上,我创建了一个路由器,一个公共网络和一个专用网络。 I can access Internet from my instance as well as from my main server.
我可以从我的实例以及从主服务器访问Internet。 Basically everything is working as expected.
基本上,一切都按预期进行。 But I can only access my cloud from the network in which I am using it.
但是我只能从使用它的网络中访问我的云。 I want to Access my horizon dashboard and my instance from an external network, how can I do this?
我想从外部网络访问我的Horizon仪表板和实例,该怎么做? currently I can only access my cloud from ip as http://10.0.5.2/dashboard but I want to assign a public ip to my cloud.
目前,我只能通过ip作为http://10.0.5.2/dashboard来访问我的云,但是我想为我的云分配一个公共ip。
From the dashboard/horizon " http://10.0.5.2/dashboard " link it means you are using the NAT/NAT network/any other internal network IP for OpenStack setup. 通过仪表板/水平“ http://10.0.5.2/dashboard ”链接,它表示您正在使用NAT / NAT网络/任何其他内部网络IP进行OpenStack设置。 So you can't access it outside the VMware VM.
因此,您无法在VMware VM之外访问它。
If you need to access the horizon from outside VMware: 如果需要从VMware外部访问范围:
NAT
and other with Host-Only networking
NAT
,另一个使用Host-Only networking
NAT
IP for internet and Host-Only networking IP
as HOST_IP
for openstack setup. NAT
IP用于Internet, Host-Only networking IP
用作HOST_IP
用于Openstack设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.