Why is ip_forward set to 1 when my Red Hat Enterprise Linux 5 system boots, even though I set it to zero with sysctl?

Updated -

Release Found: Red Hat Enterprise Linux (RHEL) 5, 6, 7 and 8

Problem

  • You have tried to set ipv4.ip_forward to "0" using /etc/sysctl.conf, but when the system boots IP forwarding is enabled.
  • We are not setting sysctl's net.ipv4.conf.all.forwarding or net.ipv4.conf.default.forwarding, but somethin...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content