简体   繁体   English

如何从外部网络访问本地计算机上的Openstack?

[英]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? 我想从外部网络访问我的Horizo​​n仪表板和实例,该怎么做? 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外部访问范围:

  1. Create two interfaces in VM, one with NAT and other with Host-Only networking 在VM中创建两个接口,一个使用NAT ,另一个使用Host-Only networking
  2. Use the 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设置。
  3. Install the openstack and then you will have horizon link as http://Host-only_network_IP/dashboard 安装openstack,然后您将获得horizo​​n链接作为http:// Host-only_network_IP / dashboard
  4. Then you can able to access the openstack from outside of VMware VM 然后,您可以从VMware VM外部访问openstack

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从VM访问外网的openstack vm实例 - How to access the openstack vm instance from external network from VM 如何从不同网络上的其他主机访问本地VM上的Web服务器? - How do I access web-server on my local VM from a different host machine on different network? 如何从本地网络上的另一台机器访问Docker容器 - How to access docker container from another machine on local network 如何在本地网络中集成OpenStack实例? - How can I integrate OpenStack instances in my local network? 无法从外部计算机连接到Openstack实例 - Not able to connect to a Openstack Instance from external machine 本地网络上的其他人如何在我的机器上运行时访问我的 NodeJS 应用程序? - How could others, on a local network, access my NodeJS app while it's running on my machine? 将外部网络添加到 openstack - Add external network to openstack 从与主机相同的网络上的外部计算机访问PCF DEV - Access PCF DEV from external machine on same network as host 如何从网络上的其他计算机访问本地WordPress安装 - How to access local WordPress installs from other machines on my network 无法从外部网络 ping OpenStack 机器的实例 - Cannot ping instances of OpenStack machine from external net
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM