[systemd-devel] ip_forward

Lennart Poettering lennart at poettering.net
Mon Jul 27 18:17:29 PDT 2015


On Tue, 23.06.15 13:30, Johannes Ernst (johannes.ernst at gmail.com) wrote:

> (Morale: in doubt, lean hard on your booleans)
> 
> 1. Reboot host. (Arch running in VirtualBox on Mac)
> 
> 2. host> sysctl net.ipv4.ip_forward
> net.ipv4.ip_forward = 1

This is the global option, it is related in non-obvious ways to the
per-interface one, which you can control with IPForward= option in the
.network interface.

Also note that the per-interface IPForward= option was buggy in older
versions, make sure to use only the most recent systemd versions for
this to work correctly.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list