Vpn : Fix broken ipv4 forwarding.
This commit is contained in:
parent
f3e6c0f743
commit
63fec8bf13
|
@ -41,6 +41,7 @@ in {
|
||||||
|
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
"net.ipv4.conf.all.src_valid_mark" = 1;
|
"net.ipv4.conf.all.src_valid_mark" = 1;
|
||||||
|
"net.ipv4.ip_forward" = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
containers.vpn = container.mkContainer cfg {
|
containers.vpn = container.mkContainer cfg {
|
||||||
|
|
Loading…
Reference in a new issue