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 October 30, 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.

What IP forwarding changes in a networked host

IP forwarding turns a normal endpoint into a transit device. Instead of terminating traffic at the local stack, the host can pass packets between interfaces, which means its reach, failure modes, and trust boundary are materially different from a single-purpose workstation.

This matters because forwarding is not just a routing convenience, it changes the security role of the device. Once enabled, the host can affect traffic paths, influence segmentation assumptions, and become part of the infrastructure that other systems depend on for connectivity.

Why IP forwarding matters for security architecture

Forwarding is a core function in routers, firewalls, VPN gateways, container hosts, and other systems that sit between networks. If it is enabled unintentionally, traffic can bypass intended controls. If it is disabled where routing is required, legitimate communications fail and administrators may create brittle workarounds that weaken policy enforcement.

That duality is why forwarding should be treated as a deliberate architectural decision, not a default convenience. The moment a host begins relaying traffic, its configuration, patching, packet filtering, and monitoring posture become part of the security design for the networks it connects.

Well-governed infrastructure usually treats forwarding as an explicit per-role setting, alongside firewall policy and interface scoping. Hardening guidance for network devices also helps ensure that routing behaviour matches the intended trust model, rather than being left to incidental defaults.

Operational conditions that make forwarding risky

Forwarding increases exposure when the host is multi-homed, reachable from untrusted networks, or used as an administrative jump point. In those cases, a simple configuration mistake can create an unintended transit path, weaken isolation, or allow traffic to traverse an interface that was meant to remain non-routable.

It also creates resilience and visibility concerns. Because the device may now carry third-party traffic as well as its own, a failure, overload, or compromise can affect more than one system boundary. That makes logging, interface-level filtering, and change control more important than they are on an ordinary endpoint.

How practitioners govern IP forwarding

The key operational question is whether the device should ever route traffic at all, and if so, which interfaces and protocols are allowed to participate. The setting should align with the device’s role, be reviewed during hardening, and be monitored for drift after maintenance or automation changes.

For a practical baseline, the host’s routing role should be explicit in configuration management and security documentation. Network hardening references such as CIS Benchmarks and control-oriented guidance such as NIST SP 800-53 Rev 5 Security and Privacy Controls both reinforce the need to manage configuration, access control, and system integrity around devices that forward traffic.

Where forwarding is part of a routed design, zero-trust thinking is also useful: NIST SP 800-207 Zero Trust Architecture helps frame routing paths as controlled trust boundaries rather than implicit safe links.

Risk and Threat Considerations

IP forwarding becomes a risk when a host unintentionally starts carrying transit traffic, because that can undermine segmentation, expose internal networks, and create an unmonitored path between security zones. It is also attractive to attackers when they gain control of a multi-homed system, since forwarding can support lateral movement or traffic redirection without needing a separate router compromise.

Failure mechanism: A misconfiguration, automation error, or post-compromise change enables packet relay on a system that was never intended to act as a transit device, or enables it on the wrong interface.

Impact: Traffic may bypass intended inspection points, internal zones can become reachable from less trusted networks, and the host can become a pivot point for persistence, interception, or broader network compromise.

Standards & Framework Alignment

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

CIS Controls v8, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
CIS Controls v8CIS-5 — Account ManagementIP forwarding is governed through secure configuration and controlled device roles.
Recommendation — Baseline and review device configurations so only intended systems can forward traffic.
NIST CSF 2.0PR.PS-01 — Configuration ManagementForwarding is a configuration state that changes the device’s security role and trust boundary.
Recommendation — Manage forwarding settings as controlled configuration changes and verify they match the intended architecture.
NIST SP 800-53 Rev 5CM-2 — Baseline ConfigurationForwarding should be defined in the host baseline when the system is expected to route packets.
SC-7 — Boundary ProtectionForwarding directly affects how traffic crosses boundaries between networks and zones.
Recommendation — Include forwarding state in approved baselines and detect unauthorized drift. Restrict and monitor forwarding paths so traffic only crosses approved boundaries.
ISO/IEC 27001:2022A.8.9 — Configuration managementForwarding is a security-relevant configuration item that needs controlled change and review.
Recommendation — Control and review forwarding-related configuration changes as part of secure operations.

Practitioner Guidance

Why practitioners should care: Treat forwarding state as part of the device’s security role, not as a background networking toggle. If a host is meant to route, that decision should be deliberate, documented, and continuously checked against the network design.

What to watch for: Review multi-homed servers, VPN endpoints, firewall appliances, and lab systems first, because these are the places where forwarding is often necessary and where accidental exposure is most likely to matter. A configuration drift check should confirm that only the intended devices can relay traffic.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

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