Amahi - Virtualbox + NAT

dforbes
Posts: 37
Joined: Tue Jan 12, 2010 3:48 pm

Amahi - Virtualbox + NAT

Postby dforbes » 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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Amahi - Virtualbox + NAT

Postby bigfoot65 » Sun Oct 24, 2010 7:10 am

Hello,

We do not support Amahi on virtual machines. We do offer some guidance, but that comes from the users. We are a very small team of volunteers and have an overwhelming workload.

I will say that maybe some of our users can assist. If you do find the answer, please post it in the wiki in the VirtualBox area (http://wiki.amahi.org/index.php/VirtualBox.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

dforbes
Posts: 37
Joined: Tue Jan 12, 2010 3:48 pm

Re: Amahi - Virtualbox + NAT

Postby dforbes » Sun Oct 24, 2010 9:37 am

No probs - quite understand.

As it happens, I think I've cracked it, or at least found a plausible work-around. I'll see if I can write it up over the next couple of days.

Dave

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Amahi - Virtualbox + NAT

Postby bigfoot65 » Sun Oct 24, 2010 10:48 am

Awesome. I hope you get it sorted out.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

dforbes
Posts: 37
Joined: Tue Jan 12, 2010 3:48 pm

Re: Amahi - Virtualbox + NAT

Postby dforbes » Mon Oct 25, 2010 12:10 pm

Ok. All sorted, I think. It's quite straight-forward once you realise the trick is to have two network interfaces. My VM based Amahi install has been running for a day or so and seems quite happy. Have written up the notes on the wiki; please PM me if they need clarifying.

Dave.

Who is online

Users browsing this forum: No registered users and 4 guests