You are here
Dennis Gray - Mon, 2015/09/21 - 07:32
I have installed the turnkeylinux PostgreSQL appliance on a Virtualbox VM. The installation default was to install with NAT but I was unable to SSH nor get to the various tools via the web from my Windows host. I then changed the networking interface to bridged
After rebooting, the addresses assigned were on my network but I still cannot ssh nor access anything on the guests's browser.
From the shell on the guest, I can ping 192.168.1.1, which is the address of my router but cannot ping the Windows host nor anything else.
I have checked iptables and there are no rules.
Can anyone help?
Forum:
Tags:
NAT is no good. You need bridged
When you complete the install it should show you the "confconsole" screen which will tell you the IP of your VM (assuming that you use bridged). You should be able to access it via your web browser...
Also AFAIK IMCP (which is what ping uses) is disabled in Win7 onwards (so by default it won't respond to ping unless you;ve specifically configured it so it will).
I am using bridged
So I am still stuck. I cannot access anything on the VM
TBH I have no idea...
The fact that the only machine that you can't access from within the VM makes me very suspicious of your host OS. Either it should work, or not; there is nothing inside the VM that should be affecting access to anything (as you note IPTables is disabled by default). It sounds like something is filtering/blocking your VMs networking access to your host OS...
The only other thing that I can think of is an IP conflict (that can cause weird stuff to happen - although I very much doubt that this is the cause). IP conflicts should be automatically avoided by using a DHCP allocated IP but perhaps there is an IP clash somewhere? Maybe try giving it a static IP that you know is not in use?
It sounds to me like there is an issue with VirtualBox and/or networking (on the host OS) and/or firewall (on the host OS or somewhere on the network).
Failing all that the only other thing I can think of is to try reinstalling VBox.
Installed links...connection refused
This is a fresh install with no configuration changes.
I turned off the Windows firewall temporarily but no change.
From the Virtualbox console, I decided to install links to see if I can access the web services. I get a connection refused or connection reset by peer message, depending on which port I was using.
I then applied a static IP address that I know is not in use. Same problem.
Sounds like networking is messed up
You mentioned that it can ping other computers on the network. Can you access your server from other hardware on your network? E.g. in their web browser? There should be a simple page available via http(s).
Perhaps it's worth checking the integrity of the (ISO) image? Over the years we have had a few weird issues traced back to just ever so slightly corrupt download.
Maybe there is something up with your VBox install? VBox virtual networking setup? Something within the VM's config? I cannot think of anything that could come from the TurnKey install that would block access just to/from your host.
Maybe a workaround might be to add an additional virtual NIC and make it "host only"?
Add new comment