Skip to content

Linux: IPv4 forwarding

Marcos Aurélio Silvério edited this page Sep 9, 2020 · 1 revision

Change the config file

Edit /etc/sysctl.d/99-sysctl.conf and add the following line: net.ipv4.ip_forward = 1

Reload rules

sysctl --system

Clone this wiki locally