Join our Newsletter — 33% off our NHI Course
Home Glossary Cyber Security IP Forwarding
Cyber Security

IP Forwarding

← Back to Glossary
By NHI Mgmt Group Updated September 8, 2026 Domain: Cyber Security

IP forwarding is a network stack capability that allows a device to pass packets from one interface to another instead of dropping them. It is required when a host acts as a router. In security terms, it expands the device’s role from endpoint to transit path and must be governed carefully.

Expanded Definition

IP forwarding is the mechanism that lets a host relay traffic between network interfaces rather than treating packets as local-only traffic. In a security context, that simple routing function changes the device’s boundary: it can become a transit point, not just a destination.

The term is often used interchangeably with routing behaviour, but the boundary matters. A router is designed to forward traffic, while a workstation or server with forwarding enabled may unexpectedly bridge segments that were meant to stay separated. That is why forwarding is usually discussed alongside segmentation, firewall policy, and network trust zones. The key implementation reality is that the setting itself is not inherently unsafe; the risk comes from enabling transit on systems that were not intended to carry it.

For readers working with identity-heavy environments, the same principle applies to management planes and workloads: once a host can forward traffic, it may also become a path for administrative protocols, service calls, and control traffic that should have been constrained.

Examples and Use Cases

IP forwarding appears in several common environments where a system must pass packets between networks instead of terminating them locally.

  • A Linux server is configured to forward traffic between an internal subnet and a protected application segment, usually as part of a router or firewall role.
  • A cloud instance with multiple network interfaces forwards traffic between a public-facing side and a private workload network.
  • A container host or virtual appliance forwards packets for lab, test, or segmentation scenarios where isolated networks still need controlled exchange.
  • A jump host or bastion-like system may forward traffic temporarily during administration, though this is typically more restrictive than full routing.
  • A misconfigured workstation with forwarding enabled can unintentionally create a bridge between VLANs or subnets that were meant to remain separated.

The practical tradeoff is reachability versus containment. Forwarding enables legitimate network paths, but each enabled path reduces the value of segmentation unless firewall rules and route control are equally disciplined.

For more detail on the non-human identity implications of machine-facing paths and service trust, the OWASP Non-Human Identity Top 10 is a useful companion reference.

Security Implications

When IP forwarding is enabled without a clear routing purpose, a host can become an unintended conduit between networks. That creates exposure because traffic may bypass the controls that were meant to separate user, server, management, or partner segments. The result is not just wider connectivity, but wider trust.

Common failure conditions include forwarding being enabled on multi-homed systems, routes being added without matching firewall policy, and administrators assuming a host behaves like a normal endpoint when it is actually relaying packets. In those situations, the device may permit lateral movement, policy bypass, or unexpected access to internal services. If the forwarding path carries management traffic, the consequences can include administrative reachability into systems that were supposed to be isolated.

A useful practitioner observation is that forwarding mistakes are often discovered only after network path testing or incident review, because the packet relay is a configuration state rather than a visible application service. That makes inventory and configuration drift especially important.

Domain and Governance Relevance

IP forwarding matters in cybersecurity because it changes control boundaries. A system that forwards packets is part of the transport layer trust model, so governance has to treat it as infrastructure with security responsibility, not just as another host. The question is not whether forwarding exists, but whether the resulting path is intentional, documented, and controlled.

In identity-heavy environments, forwarding becomes more sensitive when it can carry administrative sessions, service-to-service calls, or agent traffic across zones. That does not make the feature specific to NHI, but it does mean machine access paths can inherit the same segmentation mistakes that affect human admin traffic. For that reason, forwarding decisions should be aligned with network ownership, access policy, and the expected trust level of the systems involved.

For NHI governance, the key point is that every additional transit path increases the surface where machine credentials, tokens, or management traffic may travel. Forwarding is therefore a network control issue with downstream identity consequences, not an identity control by itself.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AC-4 — Access Permissions and AuthorizationsForwarding changes trust boundaries and can expose unauthorized network paths.
PR.PT-4 — Communications and Control NetworksIP forwarding directly affects how traffic moves across network boundaries.
Recommendation — Restrict routed paths to approved segments and review whether transit supports least-privilege access. Segment communications networks and control allowed transit paths between interfaces.
CIS Controls v812.3 — Data ProtectionUncontrolled forwarding can move sensitive traffic across zones that should stay separated.
13.1 — Network Monitoring and DefenseForwarding drift is often visible only through monitoring and route validation.
Recommendation — Limit traffic flow between trusted and untrusted network zones to protect sensitive data in transit. Monitor routing behavior and investigate unexpected packet transit across hosts.
OWASP Non-Human Identity Top 10NHI-01 — Inventory and OwnershipForwarding paths can affect where machine credentials and service traffic are allowed to travel.
Recommendation — Track hosts that can forward traffic and assign ownership for any machine-facing transit path.
MITRE ATT&CKT1021 — Remote ServicesForwarding can enable or extend access paths used for remote administration and lateral movement.
Recommendation — Map unexpected transit paths to remote-access abuse and hunt for pivoting activity.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 8, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org