Vpn : Fix broken ipv4 forwarding.

This commit is contained in:
Dmitry Voronin 2024-08-02 23:55:08 +03:00
parent f3e6c0f743
commit 63fec8bf13
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -41,6 +41,7 @@ in {
boot.kernel.sysctl = {
"net.ipv4.conf.all.src_valid_mark" = 1;
"net.ipv4.ip_forward" = 1;
};
containers.vpn = container.mkContainer cfg {