Enable IP forward to router
This commit is contained in:
parent
8481fbf42b
commit
e1ec254cf0
@ -35,6 +35,17 @@
|
|||||||
|
|
||||||
networking.nameservers = [ "10.42.10.1" "2a01:4f8:1c0c:8221::1" ];
|
networking.nameservers = [ "10.42.10.1" "2a01:4f8:1c0c:8221::1" ];
|
||||||
|
|
||||||
|
boot.kernel.sysctl = {
|
||||||
|
"net.ipv4.conf.all.forwarding" = true;
|
||||||
|
"net.ipv4.conf.default.forwarding" = true;
|
||||||
|
|
||||||
|
"net.ipv6.conf.all.accept_ra" = 0;
|
||||||
|
"net.ipv6.conf.default.accept_ra" = 0;
|
||||||
|
|
||||||
|
"net.ipv6.conf.all.forwarding" = true;
|
||||||
|
"net.ipv6.conf.default.forwarding" = true;
|
||||||
|
};
|
||||||
|
|
||||||
services.radvd.enable = true;
|
services.radvd.enable = true;
|
||||||
|
|
||||||
services.kea.dhcp4 = {
|
services.kea.dhcp4 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user