clong / DetectionLab

Automate the creation of a lab environment complete with security tooling and logging best practices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solved: Change network in VirtualBox for logger

LasseKrache opened this issue · comments

  • Operating System Version: Mac OS
  • Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): VirtualBox
  • Vagrant Version (if applicable): 2.3.4

Description of the issue:

Vagrant seems to setup the system "logger" with the wrong network in VirtualBox.

After fixing my first problem (#866) I can't connect from the windows systems to the logger. I noticed know, that the network adapter no.2 is connected to "internal network" only. After switching it manually to "host-only network" it seems, that logger uses the correct ip address (192.168.56.105).
But (of course) the necessary services are not started now: fleet, splunk, etc.

My question: how/where can I modify the wrong setting so that the vagrant script connects to the "host-only network"?

(Sorry for this stupid question, but I have never used vagrant before.)

Lasse

Solved it (I guess) with a change in Vagrantfile:

before: virtualbox__intnet: true
now: virtualbox__intnet: false