Ask Your Question

change public api url

asked 2016-01-03 07:56:50 -0500

Moorthy gravatar image

I have a private cloud Openstack setup (kilo) behind firewall. I got a requirement to access Openstack from Internet using its APIs. To enable accrss from Internet, created a ptoxy server in DMZ that forwards requests to Openstack behind firewall.

When 'keystone endpoint-list' equivalent is used from Internet, it provides public URL which in side the firewall. Can I change the public URL IP to that of DMZ server? How to change? Will it beak anything?

I am using Horizon UI in internal network.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-01-05 13:21:28 -0500

Radhakrishnan Rk gravatar image

Hi, You can done it simple by updating your new public url network ip address under endpoint table of keystone db.If you are -using domain name instead of ip address,you can map the new public ip corresponding to that domain name in domain management portal.In my case,I entered my public endpoint name in /etc/hosts file for the sake of simplicity. For example, image description

image description

Then modify the neutron,nova conf file where it needs your public url.

To verify the whether changes has been reflected or not by using the following command.

export your openstack credentials to your shell environment.

$ sudo source

$ sudo openstack endpoint list

$ sudo openstack endpoint show <endpoint id="">


$ sudo nova endpoints

You will get the output like this for all registered services via keystone.

image description

Thanks and regards,


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-01-03 07:56:50 -0500

Seen: 4,206 times

Last updated: Jan 05 '16