Ask Your Question
0

How do I access Fuel page from other machine than the host?

asked 2016-07-30 18:57:58 -0500

C Magno gravatar image

updated 2016-07-30 18:58:22 -0500

After testing the Mirantis Fuel 8.0 in a Windows host all was fine. I'm able to go to the Fuel panel (10.20.0.2:8443 ) from the host machine.

Now, I've installed an Ubuntu server with virtualbox and do the fuel install. Without the host browser (and not any desktop utility) how can I access the Fuel interface and the OpenStack Horizon from outside the host machine since this IP ( 10.20.0.1 network ) is not visible by my home network ( 192.168.25.0 ) ?

edit retag flag offensive close merge delete

Comments

Something to help (I'm reading too) https://www.virtualbox.org/manual/ch06.html#natforward (https://www.virtualbox.org/manual/ch0...)

C Magno gravatar imageC Magno ( 2016-07-30 19:55:43 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-08-10 08:14:41 -0500

C Magno gravatar image

updated 2016-08-10 08:25:59 -0500

The answer came from here http://codigo.cmabreu.com.br/2016/08/01/openstack-mirantis-fuel-no-ubuntu-server/ (http://codigo.cmabreu.com.br/2016/08/...) ( PT_BR sorry ).

Lets say your host machine is 192.168.25.25. Add this iptables rules to the host machine.

iptables -I FORWARD -d 10.20.0.2 -m comment --comment "Accept to forward Fuel DashBoard traffic" -m tcp -p tcp --dport 8443 -j ACCEPT
iptables -I FORWARD -m comment --comment "Accept to forrward Fuel DashBoard return traffic" -s 10.20.0.2 -m tcp -p tcp --sport 8443 -j ACCEPT
iptables -t nat -I PREROUTING -m tcp -p tcp --dport 8443 -m comment --comment "redirect pkts to virtual machine" -j DNAT --to-destination 10.20.0.2:8443
iptables -t nat -I POSTROUTING -m comment --comment "NAT the src ip" -d 10.20.0.2 -o vboxnet0 -j MASQUERADE

Now http://192.168.25.25:8443 will access Fuel at 10.20.0.2:8443

edit flag offensive delete link more
0

answered 2016-08-04 02:08:20 -0500

Sofiane68 gravatar image

How dont you install a browser?

edit flag offensive delete link more

Comments

It's Ubuntu Server host machine hosting a VirtualBox headless environment. I have no Desktop or any resource to "navigate" from the host machine. Need to do this by outside (a Notebook or other machine in my home network)

C Magno gravatar imageC Magno ( 2016-08-10 07:22:02 -0500 )edit

look if you can configure an ssh access to your machine. when you access through putty or console shell.. i think you cloud access the dashboard

Sofiane68 gravatar imageSofiane68 ( 2016-08-11 02:04:36 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-07-30 18:57:58 -0500

Seen: 337 times

Last updated: Aug 10 '16