First post. Apologies in advance …
Problem:
New foreman install on CentOS 7 Minimal VM.
Cannot access GUI from host server.
Expected outcome:
Should be able to access GUI via NAT Network with Port Forwarding.
Other relevant data:
Desktop: Ubuntu 18.04 running Oracle VM VirtualBox 6.0.2 r128162 (Qt5.9.5)
Guest VM: CentOS-7-x86_64-Minimal-1810 with VBoxGuestAdditions_6.0.2
NAT Network with Port Forwarding - needed for Internet (repo) access through my desktop host server.
Followed https://www.theforeman.org/manuals/1.20/index.html#2.Quickstart as best I could …
Ran the foreman-installer, and began configuration with:
foreman-rake db:migrate
foreman-rake db:seed
and started foreman …
systemctl start foreman
Because I am running a “headless” CentOS 7 (Minimal) VM, I need to access the foreman/puppet GUI’s from my host server.
I suspect that there are multiple issues here:
- Listener address (127.0.0.1, or on IPv6 only)
- SSL Cert issues (CA, IP address vs. FQDN?)
- HTTP/1.1 301 Moved Permanently
[root@centos7m ~]# netstat -an46 | grep LISTEN
tcp 0 0 0.0.0.0:3000 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN
tcp6 0 0 :::8140 :::* LISTEN
tcp6 0 0 :::80 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 ::1:5432 :::* LISTEN
tcp6 0 0 ::1:25 :::* LISTEN
tcp6 0 0 :::8443 :::* LISTEN
tcp6 0 0 :::443 :::* LISTEN
Before I get any deeper, can someone give me a sanity check and just tell me that I am doing it wrong,
and should start over with a different approach?
There is much more to this story, and I have many questions, obviously.
Happy to provide whatever additional info that might be helpful.