If you are running a separate web server to access the vboxwebsrv service, for phpvirtualbox-5.0.3 on funtoo linux,
I had to set in /etc/conf.d/vboxwebsrv service config file
VBOXWEBSRV_HOST="0.0.0.0"
It will not respond to any address, not sure why, tried FQDN's, bridged address's, vbox bridge address's, direct eth0 adress.
Set it to 0.0.0.0, and bam! works.
Secure access to service though firewall. But finally got it to work.
BTW, it is connecting from a LXC container running on the host, Host is running the virtualbox vboxwebsrv service instance.
Haven't got a LXC container to run virtualbox yet, working on that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you are running a separate web server to access the vboxwebsrv service, for phpvirtualbox-5.0.3 on funtoo linux,
I had to set in /etc/conf.d/vboxwebsrv service config file
VBOXWEBSRV_HOST="0.0.0.0"
It will not respond to any address, not sure why, tried FQDN's, bridged address's, vbox bridge address's, direct eth0 adress.
Set it to 0.0.0.0, and bam! works.
Secure access to service though firewall. But finally got it to work.
BTW, it is connecting from a LXC container running on the host, Host is running the virtualbox vboxwebsrv service instance.
Haven't got a LXC container to run virtualbox yet, working on that.
I now have VirtualBox working in a LXC container.
Autostarting the LXC on boot, and autostarting the VM on boot.
Gave LXC access to the VB modules
Loaded modules at boot inside lxc with a local.d script.
cat /etc/local.d/vbox_mod.start
Can't attest to the security of this setup yet, but it works.