Running Security Onion on VMware ESXi

Running Security Onion on ESXi needs a dedicated sniffing path, a monitoring vSwitch set up to pass mirrored traffic, and disks that meet the minimum. This page covers what to decide and check before you install.

On this page

Running Security Onion on VMware ESXi: when a virtual sensor fits

Yes, ESXi can host Security Onion, but only with a deliberate network design. The Security Onion VMware guide asks for a monitoring vSwitch with its VLAN ID set to 4095 so that all traffic reaches the sensor, Allow MAC Changes enabled at both the vSwitch and port group level when you monitor more than one interface, and a disk of at least 200 GB. Security teams with a VMware estate often want network visibility without buying new hardware, and a virtual sensor can deliver that for smaller segments. Whether it fits your traffic volume is a separate question that depends on the sizing work covered elsewhere in this guide. Confirm the current requirements against the Security Onion VMware documentation before you build anything.

Security Onion runs in one of four deployment types: Import, Evaluation, Standalone and Distributed. A standalone node combines manager, search and sensor functions on one system, which is simple but leaves no separation of duties. Distributed deployments split the work into a manager node, one or more sensor nodes and one or more search nodes, and the project recommends that design for production. Each role has its own minimum hardware, so a virtual deployment should map each VM to a role before you allocate vCPU, memory and disk. Security Onion is also source-available under the Elastic License 2.0 (ELv2), not an OSI-approved open-source license, so have your legal or procurement team review those terms with your use case in mind.

Version and platform constraints come first. Security Onion 3.x supports only Oracle Linux 9, so a VMware plan built around an older base operating system will not carry forward to 3.x. The platform also supports only x86-64 processors, which rules out ARM-based hosts. Check your ESXi host CPUs, your guest operating system choice and the Security Onion version you intend to run together, and confirm the status of any version you plan to deploy in the Security Onion end-of-life documentation. Your team should also confirm how the sensor's monitoring interface will be connected and whether the hypervisor's security settings will allow promiscuous traffic from that interface.

Which ESXi network options fit which sensor design

This table compares four ESXi network designs for a Security Onion sensor: a single monitored vSwitch, multiple monitored interfaces, VLAN 4095 on the monitoring vSwitch, and a separate monitoring vSwitch for production. Read each row for when the option fits, which VMware setting it changes, and what to confirm before you rely on it. The main takeaway is that the settings are additive and each one widens what the sensor sees, so enable only what your traffic path requires.

Design optionWhat it changesWhen it fits and risk to confirm
Single sensor on one monitored vSwitchSensor NIC attaches to one port group that receives the mirrored traffic, with no MAC change settingsFits a sensor watching one segment. Confirm the port group receives the traffic you expect before assuming full visibility.
Multiple monitored interfacesAllow MAC Changes enabled at both the vSwitch and port group levelFits a sensor with more than one monitored interface. Confirm both settings are applied at each level, since missing either one can stop traffic from reaching the sensor.
VLAN 4095 on the monitoring vSwitchMonitoring vSwitch VLAN ID set to 4095 so tagged frames pass throughFits when the sensor must see all VLAN-tagged traffic. Confirm the guide's requirement for your ESXi version and that no other workload shares this vSwitch.
Separate monitoring vSwitch for productionDedicated vSwitch and uplink for mirrored traffic, isolated from production port groupsFits production networks where monitoring traffic must not share switching with workloads. Confirm the uplink, mirror source and capacity with your network team before cutover.

Installing and configuring the ESXi sensor step by step

This sequence takes a host from hardware check to a Security Onion sensor that receives mirrored traffic and reports to its manager, with a verification point after each step.

  1. Confirm hardware and choose the install image

    Confirm the ESXi host is x86-64 and meets the minimums for the node role you are building: a sensor needs at least 4 cores, 12 GB RAM and 2 NICs, while a standalone node needs 4 cores, 24 GB RAM, 200 GB storage and 2 NICs. Decide whether you are installing from the official ISO or a marketplace image, and confirm the image version matches the release line you plan to run, since Security Onion 3.0.0 supports only Oracle Linux 9. Check the Security Onion VMware guide for any host-specific notes. Done when you have a written hardware sheet and a verified image checksum that the sensor team has signed off.

  2. Create the VM with disk and two network adapters

    Create the virtual machine with at least 200 GB of virtual disk, then add a management adapter for the manager connection and a second adapter dedicated to sniffing. Keep the sniffing adapter on its own port group so that its traffic is not mixed with management traffic. Attach the ISO and confirm the VM boots from it. Done when the VM settings list the disk size and both adapters, and the boot device shows the Security Onion media.

  3. Configure the monitoring vSwitch and port group

    On the vSwitch that carries mirrored traffic, set the VLAN ID to 4095 if your mirrored feed arrives tagged and you need the sensor to see all VLANs. Enable Allow MAC Changes at both the vSwitch and the port group level so that the sensor can monitor traffic destined for other interfaces. Enable Promiscuous Mode on the sniffing port group if your mirror design requires it, and confirm the setting with your network team. Done when the security settings on both levels show the intended values and the physical uplink carries the mirror feed.

  4. Set time sync on the host and guest

    Configure the ESXi host to use your approved NTP sources, then confirm the Security Onion guest uses the same time source during setup. Accurate timestamps matter for correlating alerts, Zeek logs and endpoint events, and a drifting sensor produces hard-to-trust timelines. Check the host clock and the guest clock against each other before you begin analysis. Done when both clocks agree within the tolerance your incident process requires and the NTP source is recorded in your build notes.

  5. Run the install and record the node role

    Boot the VM from the ISO and run the setup wizard, selecting the deployment type and node role that match your design. For a sensor joining an existing grid, use the sensor role and point it at the manager so it can register. Record the hostname, management address, sniffing interface name and manager details in your build notes. Done when setup finishes without errors and the node reboots to a login state.

  6. Verify mirrored traffic reaches Suricata and Zeek

    Generate known traffic from a test host on the monitored segment, such as a DNS lookup or an HTTP request to an internal test page, then check the sniffing interface on the sensor for packets. Confirm that Suricata and Zeek services are running and that new Zeek connection logs appear for the test traffic. If packets are missing, check the vSwitch VLAN and Allow MAC Changes settings from the earlier step before changing anything inside the guest. Done when your test traffic appears in the sensor's logs.

  7. Confirm the manager sees the node

    From the Security Onion Console on the manager, check that the new sensor is listed as an online node and that its health reports are arriving. Review the sensor's status and confirm that its events show up in the console for the test traffic from the previous step. If the node is missing, check the management adapter, the firewall rules between the sensor and manager, and the registration step in setup. Done when the manager lists the sensor as healthy and the test events are searchable.

Security and operational risks of a virtual sensor

A Security Onion sensor on ESXi sits in a position that changes what the hypervisor, the virtual switch and the host schedule can do to your monitoring. The cards below cover where those risks come from and the controls to plan for before the sensor goes live. Confirm each setting against the current VMware and Security Onion documentation for your versions.

Hypervisor and vSwitch join the trust boundary

A sensor that sees mirrored traffic is only as trustworthy as the ESXi host, vCenter and virtual switch that carry that traffic. Anyone who can change the port group, the host or the VM's network settings can blind the sensor or redirect what it sees. Plan who holds vCenter administrator rights, log changes to the monitoring vSwitch, and review who can edit the Security Onion VM's virtual hardware. Ask your VMware administrators to document these controls before the sensor is accepted.

VMware docs

Permissive vSwitch settings widen visibility

VLAN 4095 and Allow MAC Changes let the sensor receive frames it would never see on a normal port group. That is what makes monitoring work, but it also means the VM can receive traffic from segments it was not meant to inspect. Limit these settings to the monitoring port group only, keep production port groups on their default values, and record which VMs share the monitoring vSwitch. Re-check the settings after host or vCenter changes.

Keep management off the sniffing NIC

The sniffing adapter should receive mirrored traffic only. If the same interface carries SSH, console access or updates, the sensor's management path depends on the capture path and an overloaded or misconfigured mirror can cut off administration. Assign a separate management adapter to the VM, restrict the sniffing adapter to a monitoring port group with no IP address assigned, and confirm that the firewall host groups in Security Onion permit management only on the management interface.

Time drift breaks event correlation

Alerts, Zeek logs and Suricata events are only useful in an investigation when their timestamps line up with each other and with logs from other systems. A VM whose clock drifts after a host pause, a snapshot restore or a migration can produce events that appear out of order or outside the window an analyst searches. Plan one authoritative time source for the ESXi hosts and the sensor, enable VMware Tools time synchronization only if it is consistent with your NTP design, and check clock offset after maintenance.

Snapshots and vMotion interrupt capture

Taking a snapshot, suspending the VM or moving it to another host with vMotion pauses or changes the path that carries mirrored packets. Packets seen during those windows are lost from the sensor, and a snapshot that stays open for days also grows the datastore and slows I/O. Set a policy that prohibits routine snapshots of sensor VMs, schedule any required migration as a planned maintenance window, and record capture gaps in your change log so analysts know where the evidence is incomplete.

Host sharing affects sensor load

A sensor needs dedicated CPU, memory and disk throughput to keep up with packet capture, and other VMs on the same host compete for those resources. Contention shows up as dropped packets and delayed indexing, which are easy to miss when the sensor appears healthy at the VM level. Ask for CPU and memory reservations on the sensor, keep high-I/O workloads off the same datastore, and monitor packet loss from the Security Onion console after any change to the host.

Sizing the ESXi VM and its disks against the minimums

Start by treating the published minimums as the floor, not the target. For a standalone node, Security Onion needs at least 4 cores, 24 GB RAM, 200 GB of storage and 2 NICs. A manager or search node needs 4 cores and 16 GB RAM, and a sensor needs 4 cores, 12 GB RAM and 2 NICs. Security Onion supports only x86-64 processors, so confirm that the ESXi host's CPUs meet that requirement before you size anything else. On the VM itself, set the vCPU count and memory reservation to match the role you are building, and give the sensor its second virtual NIC as the dedicated sniffing adapter. Keep in mind that the VMware guide points to at least 200 GB of disk, so a VM sized to the minimum with no spare capacity will fill quickly once logs and captures accumulate.

Those floors describe what the software will start on, not what your network will need. Traffic volume drives real sizing: the sustained throughput a sensor must inspect sets how many Suricata and Zeek workers it can run and how many cores and how much memory it needs, and the amount of traffic you retain sets how much disk the search and sensor data consumes. Work through the sibling topics on sensor sizing by link speed and storage sizing for PCAP and Elasticsearch before you pick vCPU, memory and virtual disk sizes. Ask your network team for measured peak and average throughput on each monitored segment, since average figures alone will understate what a busy sensor sees.

On ESXi, confirm that the datastore behind each VM has enough free space for the disk you allocate and for Elasticsearch and PCAP growth beyond it. Thick provisioning gives predictable performance for search data, while thin provisioning delays the cost but can fail quietly when the datastore runs out. Decide this with your storage team before the build, and record the chosen disk sizes in your build sheet so that a later node replacement or upgrade starts from the same numbers.

Questions teams ask before running Security Onion on ESXi

Can our own team run Security Onion on ESXi without outside help?

Yes, many teams do, provided they have Linux administration skills, someone who owns the VMware networking, and time to test the monitoring path before relying on it. The work is less about installing the operating system and more about getting every sensor interface to receive the traffic you intend to inspect. Ask yourself whether your team can validate port mirroring end to end, document the vSwitch settings, and keep the grid patched through later soup upgrades. If any of those is uncertain, a fixed-scope engagement can cover planning, build, validation and handover, with the written scope setting what is included.

What drives the effort of a Security Onion ESXi deployment?

Effort rises with the design choices you make before installation. The main drivers are the network design (where the sensor sits and which segments it watches), the traffic mirroring method, the number of nodes (standalone, or a distributed grid with a manager, sensors and search nodes), and change control in your environment. Each additional monitored interface needs its own mirrored port group, and each change needs review by the network and security teams. Ask any provider to break out effort by these drivers in the quote so you can see which items you can carry in-house.

What do our VMware and network teams need to provide?

Your VMware team needs to create or review the monitoring vSwitch and its port groups, and confirm that the hypervisor hosts can carry the sniffing traffic. Your network team needs to confirm which switch ports or segments feed the mirrored traffic and who approves changes to those paths. Expect a few specific settings to be reviewed together:

  • The monitoring vSwitch VLAN ID set to 4095, which the Security Onion VMware guide notes may be needed to pass all traffic.
  • Allow MAC Changes enabled at the vSwitch and port group level when monitoring multiple interfaces.
  • A dedicated sniffing adapter for the sensor, separate from management.

Agree on these owners and approval steps early, because a single missed setting can make the sensor look healthy while seeing little traffic.

How long does a Security Onion ESXi deployment take?

The duration depends on scope, not on a fixed number of days. A single standalone node monitoring one segment takes less time than a distributed grid with several sensors, search nodes and change approvals across teams. Time is also driven by how quickly your VMware and network teams can deliver the port groups and mirror paths, how many validation cycles you need, and whether the environment needs airgap or proxy handling. Ask for a timeline in the written scope that lists the milestones, the dependencies on your teams, and what is needed to close each one.

Is a virtual sensor on ESXi enough for our traffic volume?

It depends on the throughput you need to inspect, the number of interfaces, and how much of the traffic is actually mirrored to the sensor. A virtual sensor is a reasonable choice for lower volumes and for segments where you need visibility without dedicated hardware, but the hypervisor host, its NICs and the other VMs sharing it all affect packet loss. Confirm the sensor minimums in the Security Onion hardware documentation, including 4 cores, 12 GB RAM and 2 NICs for a sensor, then size CPU and memory for your measured peak. Test with representative traffic and check for dropped packets before you call the design complete.

Does the VMware setup change which Security Onion features we can use?

The virtualization platform does not change feature availability on its own. Security Onion Pro adds OIDC single sign-on to the Console, LUKS data-at-rest encryption, FIPS mode, OS STIG compliance, the Security Onion API, external notifications, Manager of Managers, an MCP server, the Onion AI assistant and professional support, all sold on 1 to 5 year terms. Whether you need Pro depends on your identity, encryption and support requirements, so check those against the Pro page. Confirm with the vendor how licensing applies to your virtual nodes before you budget for it.

What should we confirm about Security Onion licensing before deploying?

Security Onion's repository is licensed under the Elastic License 2.0, which is source-available rather than an OSI-approved open-source license. Read the license terms with your legal team before you deploy, especially if you plan to offer the platform to third parties or embed it in a product. Also confirm which edition and support level fit your environment, and record that decision alongside the architecture. Your legal and procurement teams should own this review, and the answer should be documented before the build starts.

Which Security Onion version should we plan around for ESXi?

Plan around a version that is still supported for the operating system you intend to use. Security Onion 3.0.0 was released on March 31, 2026 and supports only Oracle Linux 9, while Security Onion 2.4 reached end of life on October 1, 2026. Because 2.4 installs on Oracle Linux 9 can upgrade to 3 after moving full packet capture from Stenographer to Suricata, check your current build before committing. Confirm the current release and its support window with the vendor on the Security Onion EOL documentation before you choose a version.

Limits to confirm in your environment before you build

Several Security Onion limits depend on your release, your hypervisor and your security requirements, not on the VMware guide alone. Confirm these items before you size hosts or order licenses, because a wrong assumption on any one of them can force a rebuild.

ESXi and vSphere version support

Confirm in writing which ESXi and vSphere versions your target Security Onion release supports, because the VMware guide does not replace your release's compatibility statement. Check the version against your current host build and any patch level your security team requires. If your hosts run an older or newer build than the one the vendor documents, ask for the test evidence before you deploy sensors that depend on promiscuous mode and MAC changes.

VMware docs

Oracle Linux 9 requirement for 3.x

Security Onion 3.0.0 supports only Oracle Linux 9, so a 3.x grid cannot run on another base operating system. Confirm that your virtual machine templates, kernel and partitioning plan match Oracle Linux 9 before you clone nodes. If your standard VM template is a different distribution, build a dedicated Oracle Linux 9 template rather than adapting the existing one.

3.0.0 release post

Version 2.4 end of life and upgrade path

Security Onion 2.4 reaches end of life on October 1, 2026, so a new VMware build on 2.4 would need an upgrade soon after go-live. Confirm whether your 2.4 nodes run Oracle Linux 9, because only those can upgrade to 3 after moving full packet capture from Stenographer to Suricata. Other distributions need a fresh install, which changes your cutover and data retention plan.

End of life docs

Pro features your controls require

Decide early whether you need Security Onion Pro features such as OIDC single sign-on, FIPS mode, LUKS data-at-rest encryption or OS STIG compliance, because these are paid edition features and not part of the free distribution. Ask whether your identity provider and FIPS policy must be in place before the first login, since enabling them later can change the build. Pro is sold on 1 to 5 year terms, so confirm the term and renewal cost in your quote.

Security Onion Pro

Vendor host NIC settings

Confirm that your host platform, including any vendor-specific build or hardware driver, exposes the vSwitch and port group settings the sensor needs. Check whether the VLAN ID of 4095 and Allow MAC Changes can be set at both the vSwitch and port group level on your version. Also confirm that the physical NIC driver handles the traffic volume you expect, because a driver limit will appear as packet loss inside the sensor.

Minimum disk
200 GB

Airgap or proxy installation needs

Decide whether the sensor and manager must reach the internet for packages, NIDS rules and updates, or whether they sit in a network that needs a proxy or no outbound access. An airgap install carries packages and rules on the ISO and updates through newer ISO media, while a proxy install needs manager and tool proxy settings. Choose before you build the virtual machines, since the chosen mode determines how you deliver updates to the grid.

Airgap docs

How the ESXi monitoring path fits together

The path starts with traffic from monitored VMs on their own port group, which sits on a monitoring vSwitch set to VLAN 4095 so the switch passes all traffic. Allow MAC Changes must be enabled at both the vSwitch and port group level so the sensor can watch several interfaces. The sensor's dedicated sniffing NIC receives the copied traffic, while a separate management NIC carries its connection to the manager. Check that the sniffing adapter has no IP address, that the management path is isolated from the monitored traffic, and that the hypervisor boundary is documented before you go live.

Monitored VM traffic reaches the sensor's sniffing NIC through the monitoring vSwitch.

When an outside team speeds up the ESXi deployment

An outside team is worth considering when the ESXi build is one part of a larger rollout that your own staff cannot absorb in time. The most common cases are several sites or sensors that must share one design, production monitoring that compliance will need to review and sign off on, a vSwitch design nobody on the team has built before, and an airgap or proxy installation where the VMware settings and the update path interact. In each case the risk is less about getting a single VM to boot and more about getting the monitoring vSwitch, the sniffing adapter and the manager-to-sensor relationship right the first time, then being able to show how they were set up.

DeployOpen works on a fixed-scope basis. Before any work starts, the scope, the deliverables and the timeline are agreed in writing. For this topic, a written scope would normally name the ESXi hosts and vSwitches in use, the sensor and manager roles and how many of each, the sniffing adapter and VLAN 4095 approach, whether Allow MAC Changes is applied at the right levels, the time source, the disk layout meeting the 200 GB minimum, and the acceptance checks that prove traffic is visible on every sensor. Ask the partner to list which of those items are configuration on your side and which are delivered as documents or evidence.

DeployOpen does not publish a price list. A quote follows from the written scope, so the inputs that move cost are the number of sites and sensors, the number of ESXi hosts and vSwitch designs to document, whether an airgap or proxy path is involved, and how much compliance evidence you need. Ask for the quote to separate one-time build work from any recurring support or retainer, and to state what your own team must supply, such as hardware access, change windows and approvals.

How DeployOpen scopes and delivers Security Onion on ESXi

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including virtualized Security Onion sensors and managers on VMware ESXi. Engagements start from a written scope that fixes the deliverables and timeline before any build work begins.

How we scope

  • Inventory the ESXi hosts, vSwitch layout, monitored port groups and the VLANs carrying traffic to be captured.
  • Confirm the node roles (standalone, manager, search or sensor) and the deployment type that fits your grid.
  • Agree in writing which vSwitch, port group, disk and network settings are in scope and which are left to your team.

How we build

  • Configure the dedicated sniffing adapter, the monitoring vSwitch VLAN setting and MAC change permissions on each affected port group.
  • Provision disks at or above the documented minimum and verify time synchronization between the hypervisor and each node.
  • Test that the sensor sees the expected mirrored traffic, then review interface, storage and console access settings against your standards.

How we hand over

  • Deliver the as-built configuration with vSwitch, port group and VM settings recorded for your change control records.
  • Document the build steps, the reasons behind each non-default setting and the checks used to confirm capture works.
  • Walk your platform and security teams through the handover so they can rebuild or review the setup without us.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the initial handover.
  • Plan how Security Onion upgrades and ESXi host changes will be tested against the monitoring configuration before rollout.
  • Ask any support provider to confirm response scope, change handling and who owns the vSwitch and VM settings after go-live.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.