Enable ip forwarding
parent
5110471fe8
commit
826f0d5d48
|
@ -27,6 +27,7 @@ in
|
|||
firewall = {
|
||||
allowedUDPPorts = [3478];
|
||||
allowedTCPPorts = [80 443];
|
||||
checkReversePath = "loose";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -94,5 +95,10 @@ in
|
|||
pkgs.hcloud
|
||||
pkgs.dhcpcd
|
||||
];
|
||||
|
||||
boot.kernel.sysctl = {
|
||||
"net.ipv4.ip_forward" = 1;
|
||||
"net.ipv6.conf.all.forwarding" = 1;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue