dont use net.ipv4.ip_forward

`net.ipv4.conf.all.forwarding` is sufficient.
This commit is contained in:
Casper V. Kristensen 2024-06-11 00:46:56 +02:00
parent 1a33f3791c
commit cba3b31df3

View file

@ -87,7 +87,6 @@
# Enable forwarding of packets # Enable forwarding of packets
boot.kernel.sysctl = { boot.kernel.sysctl = {
"net.ipv4.ip_forward" = true;
"net.ipv4.conf.all.forwarding" = true; "net.ipv4.conf.all.forwarding" = true;
}; };