How to use this box with Vagrant:

Vagrant.configure("2") do |config|
  config.vm.box = "deargle/security-onion"
  config.vm.box_version = "0.0.1"
end
vagrant init deargle/security-onion \
  --box-version 0.0.1
vagrant up

This version was created 3 months ago.

  • eth0 for management interface
  • eth1 sniffing interface
  • eth2 connected to infosec-net private network
Vagrant.configure("2") do |config|

  config.vm.box = "deargle/security-onion"
  config.vm.provider :libvirt do |libvirt|
    libvirt.memory = 4096
    libvirt.cpus = 2
    libvirt.video_type = 'qxl'
    libvirt.channel :type => 'unix', :target_name => 'org.qemu.guest_agent.0', :target_type => 'virtio'
    libvirt.channel :type => 'spicevmc', :target_name => 'com.redhat.spice.0', :target_type => 'virtio'
    #libvirt.qemu_use_session = true
  end

  config.vm.network :private_network,
    ip: "192.168.56.254", #ip doesn't matter, security-onion configures eth1 to be a sniffing interface
    auto_config: false

  config.vm.network :private_network,
    ip: "192.168.56.103",
    libvirt__network_name: "infosec-net",
    libvirt__dhcp_enabled: false,
    libvirt__host_ip: "192.168.56.101",
    libvirt__guest_ipv6: false,
    autostart: true

end

1 provider for this version.
  • libvirt Hosted by Vagrant Cloud (2.66 GB)