refine forwarding configuration for vpn
This commit is contained in:
parent
2c8b80cb2c
commit
4ccbfb5206
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@ in
|
||||||
};
|
};
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
# Enable forwarding for VPN
|
# Enable forwarding for VPN
|
||||||
"net.ipv6.conf.all.forwarding" = true;
|
"net.ipv6.conf.wg0.forwarding" = true;
|
||||||
|
"net.ipv6.conf.ens3.forwarding" = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue