Amahi - Virtualbox + NAT
Posted: Sun Oct 24, 2010 3:44 am
I've been running Amahi on my domestic network for some time now and it works great. However, I'd also like to do some testing/experimenting and experience has taught me not to do that on the machine that is DHCP for the entire network.
So I thought I'd set up Amahi in Virtualbox on my mac. Now I use Virtualbox quite a bit for other things, so am reasonably comfortable with it. I can set Amahi up and get it to run behind VB's built in NAT quite happily using either the full Fedora 12 DVD or the Express CD.
However, when I do this, I can't seem to be able to get port-forwarding working to connect via either ssh or http from the host machine. The machine can ping (and I believe connect to external sites), so basic connectivity is ok, just the incoming port-forwarding. I have done a stock F12 install and the port-forwarding works fine with the same settings, which suggests that it is something Amahi specific.
I haven't really got my head around Amahi's internals yet, so is there somewhere I should start looking? Any clues/pointers gratefully accepted.
Dave.
PS - packet tracing from VB shows that the only relevant packet that makes it through the NAT is the first one. There's no reply. None of the logfiles inside the VM show any record of connection attempts. "ssh localhost" works ok inside the VM.
So I thought I'd set up Amahi in Virtualbox on my mac. Now I use Virtualbox quite a bit for other things, so am reasonably comfortable with it. I can set Amahi up and get it to run behind VB's built in NAT quite happily using either the full Fedora 12 DVD or the Express CD.
However, when I do this, I can't seem to be able to get port-forwarding working to connect via either ssh or http from the host machine. The machine can ping (and I believe connect to external sites), so basic connectivity is ok, just the incoming port-forwarding. I have done a stock F12 install and the port-forwarding works fine with the same settings, which suggests that it is something Amahi specific.
I haven't really got my head around Amahi's internals yet, so is there somewhere I should start looking? Any clues/pointers gratefully accepted.
Dave.
PS - packet tracing from VB shows that the only relevant packet that makes it through the NAT is the first one. There's no reply. None of the logfiles inside the VM show any record of connection attempts. "ssh localhost" works ok inside the VM.