forwarding


Description:

[ NoAccessorMethod ]
[ Version ( since = "1.54" ) ]
public int forwarding { get; set; }

Whether to configure sysctl interface-specific forwarding.

When enabled, the interface will act as a router to forward the packet from one interface to another. When set to nm_setting_ip_config_forwarding_default, the value from global configuration is used; if no global default is defined, nm_setting_ip_config_forwarding_auto will be used. The forwarding property is ignored when method is set to "shared", because forwarding is always enabled in this case. The accepted values are: nm_setting_ip_config_forwarding_default: use global default. nm_setting_ip_config_forwarding_no : disabled. nm_setting_ip_config_forwarding_yes: enabled. nm_setting_ip_config_forwarding_auto: enable if any shared connection is active, use kernel default otherwise.