LOGBOOK

HELP

Quiz Entry - updated: 2026.11.26

How is the monitoring VM put into the traffic path in this lab, and why is IP forwarding needed?

The Windows client's default gateway is changed to the NSM VM, so all its outbound traffic is routed through the VM; IP forwarding lets the Linux VM pass those packets on instead of dropping them.

Lab topology: Windows client routed through the NSM VM

* The client's default gateway is the NSM VM, which forwards every packet and lets Suricata see it on the way. *

The NSM VM (running Suricata) sits between the Windows client and the real default gateway:

Windows client  →  NSM VM (Suricata)  →  default gateway  →  network

Two settings make that work:

  1. On the client, the default gateway is set to the NSM VM's IP address. Every packet for another network is now sent to the VM. A typo here cuts off the client, including your RDP session.
  2. On the VM, net.ipv4.ip_forward=1 (in a file under /etc/sysctl.d/, applied with sysctl --system). By default a Linux host drops packets that are not addressed to itself. With forwarding on it acts as a router and passes them on, and Suricata can watch them as they go by.

This is a lab shortcut. In production you would not turn a VM into a router for monitoring, because it adds a point of failure. You would give the IDS a copy of the traffic through a SPAN port or a TAP.

Go deeper:

From Quiz: ISLAB / Network Security Monitoring | Updated: Nov 26, 2026