LOGBOOK

HELP

Quiz Entry - updated: 2026.12.01

Why does the blocking rule go into the FORWARD chain and not into INPUT or OUTPUT?

Because the traffic is not for the NSM VM itself: the Windows client's packets are routed through the VM, and routed packets only pass the FORWARD chain.

Netfilter chains and the routing decision

* Packets for the host go through INPUT, packets it sends through OUTPUT, and routed packets only through FORWARD. *

Netfilter (the Linux packet filter behind nftables and iptables) sends a packet through a different chain depending on where it is going:

Chain Packets
INPUT addressed to this host itself (SSH to the VM)
OUTPUT generated by this host (the VM runs curl)
FORWARD arriving on one interface and leaving on another: the host acts as a router

In the lab, the VM is the Windows client's gateway. A download from the client to the EICAR server enters the VM and is forwarded out again; it is never delivered to a local process. A rule in INPUT would never see it.

The flip side: the drop rule does not stop the VM itself from reaching the server. A curl run on the VM goes through OUTPUT and still works. The rule protects the hosts behind the gateway, which is exactly the role of a network firewall.

Go deeper:

From Quiz: ISLAB / Network Security Monitoring | Updated: Dec 01, 2026