appel's picture

Just discovered this distribution and so far absolutely love it. It works very well on my macbook whenever there's a network. But what if there's no internet connection? Would I still be able to reach it? Excuse me if I'm overlooking something completely obvious!

Jeremy Davis's picture

But you do obviously need a network path from the PC you're working on to the LAMP appliance. Internet is only required for updates, installation of apps and backups with TKLBAM.

Dan Robertson's picture

If you are running this in a virtual machine, there are three different types of networking you can use.  Bridged, NAT, and Host Only.  Bridged means it gets its own IP address, NAT means it piggybacks off of your computer's IP and Host Only means it can only communicate with your computer.  If you don't have a network connection, you would still be able to access the virtual machine if it is set to NAT or Host Only.

appel's picture

Thank you for your replies, I got it to work in host-only mode, which is perfect for my needs!

appel's picture

Did you set up port forwarding rules under the network tab of Virtualbox' settings?

Monte Milanuk's picture

What seems to work for me is to set the LAMP appliance up with two network adapters inside Virtualbox (using latest version, also running on a Macbook).

The first is set up as a host-only, so it gets an address from VBox's built in NAT that looks something like ''.  That is the interface that all the ports that the appliance offers - ssh, http/https, the webmin interface, shell-in-a-box, phpmyadmin, etc. are offered up on.

The other interface is set up via regular Vbox NAT (the default connection type).  It gets its address from the NAT dhcp server, something like '' or whatever, but really all this interface is for is to get updates.  When the virtual machine is up and the laptop is connected, I can run 'apt-get update && apt-get upgrade' and it'll automagically get the updates via its NAT'd connection.  The rest of the time, even when the laptop isn't connected, I can still connect to it via the 'host-only' net using ssh, https, etc.



Jeremy Davis's picture

Thanks for sharing. :)

Add new comment