Setup development environment in vagrant machine


#1

Hi, I’m Matteo,

First of all, thank you for the GlobaLeaks platform, a very good idea!!

Second of all, I would like to set up a development environment for functional testing purposes. I followed the guidelines for it and it works fine; the globaleaks process starts as expected. The problem is that I set up the environment in a vagrant ubuntu 16.04 machine and I am able to access the process only from the machine itself.

The following is my vagrant file, where I forward the port 8082.

Vagrant.configure(2) do |config|
  config.vm.box = "ubuntu/xenial64"

  config.vm.network "forwarded_port", guest: 8082, host: 8082

  config.vm.synced_folder ".", "/vagrant"
  config.vm.provider "virtualbox" do |vb|
     # Customize the amount of memory on the VM:
     vb.memory = "5120"
     vb.cpus = "2"
  end

end

Actually I don’t know if it is a problem of configuration of vagrant (that I’m doing in the wrong way) or it is a feature of GlobaLeaks. I’m posting this question because with other web applications I’m testing I never had this problem.

Thank you for your help!

Matteo


#2

Hi Matteo,

did you managed to fix the issue?

Latests version of GlobaLeaks do require port 80 and 443 directly, like most web application, with the key core differences that it feature an embedded and hardened webserver, without relying on existing nginx or apache webserver.