NetworkManager/man
Wen Liang a8a2e6d727 ip-config: Support configuring per-device IPv4 sysctl forwarding option
Add support for configuring per-interface IPv4 sysctl forwarding setting
in NetworkManager. The feature allows users to configure the
net.ipv4.conf.<interface>.forward setting directly through
NetworkManager, enabling targeted forwarding configurations for
interfaces. This is particularly useful for cases such as enabling
forwarding for MetalLB load balancing without requiring a global
ip_forward=1 setting.

While forwarding setting can be managed via /etc/sysctl.conf,
configuring sysctl options for dynamically created or
software-configured interfaces (e.g., bridges) poses challenges. With
this feature, NetworkManager can configure these settings when
interfaces are created or updated, users no longer need to rely on
nm-dispatcher scripts for per-interface sysctl configuration, which can
be error-prone and complex. This feature ensures a more seamless and
integrated way to manage per-interface forwarding configurations,
reducing user overhead and improving usability in complex network
setups.

We do not support configuring per-device IPv6 sysctl forwarding because
in order to make per-device IPv6 sysctl forwarding work, we also need to
enable the IPv6 global sysctl forwarding setting, but this has potential
security concerns because it changes the behavior of the system to
function as a router, which expose the system to new risks and
unintended traffic flows, especially when enabling forwarding on the
interface the user previously explicitly disabled. Also enabling
per-device IPv6 sysctl setting will change the behavior of router
advertisement (accept_ra), which is not expected. Therefore, we
only support configuring per-device IPv4 sysctl forwarding option in
NetworkManager.

Resolves: https://issues.redhat.com/browse/RHEL-60237
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2071
https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/-/merge_requests/1833
2025-04-01 09:32:46 -04:00
..
common.ent.in man: document which DHCP clients are enabled in this build 2025-01-20 19:02:06 +01:00
meson.build meson: remove deprecated ExternalProgram.path 2024-04-04 08:13:38 +00:00
NetworkManager-dispatcher.xml man/NetworkManager-dispatcher: document /{etc,usr} precedence 2025-01-16 16:11:09 +00:00
NetworkManager-wait-online.service.xml update DocBook DTD version to latest stable 4.5 2024-04-22 12:06:16 +00:00
NetworkManager.conf.xml ip-config: Support configuring per-device IPv4 sysctl forwarding option 2025-04-01 09:32:46 -04:00
NetworkManager.xml update DocBook DTD version to latest stable 4.5 2024-04-22 12:06:16 +00:00
nm-cloud-setup.xml Rephrase certain expressions to avoid the usage of the term "allows to" 2025-03-27 09:44:07 +01:00
nm-initrd-generator.xml initrd-generator: support rd.net.dns-backend and rd.net.dns-resolve-mode 2025-02-04 10:44:48 +01:00
nm-online.xml update DocBook DTD version to latest stable 4.5 2024-04-22 12:06:16 +00:00
nm-openvswitch.xml src: drop most slave references from the code 2024-08-09 15:47:32 +02:00
nm-settings-dbus.xsl update DocBook DTD version to latest stable 4.5 2024-04-22 12:06:16 +00:00
nm-settings-ifcfg-rh.xsl src: drop most slave references from the code 2024-08-09 15:47:32 +02:00
nm-settings-keyfile.xsl src: drop most slave references from the code 2024-08-09 15:47:32 +02:00
nm-settings-nmcli.xsl ip-config: Fix the nmcli docs for the renamed dhcp-send-hostname 2024-10-24 17:03:10 -04:00
nmcli-examples.xml src: drop most slave references from the code 2024-08-09 15:47:32 +02:00
nmcli.xml src: drop most master references from the code 2024-08-09 15:47:32 +02:00
nmtui.xml update DocBook DTD version to latest stable 4.5 2024-04-22 12:06:16 +00:00