1
0
Fork 0

Enable ip forwarding

main
Ethan Reece 2025-02-22 07:26:53 -06:00
parent 5110471fe8
commit 826f0d5d48
Signed by: me
GPG Key ID: 198E9EB433DB1B28
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,7 @@ in
firewall = { firewall = {
allowedUDPPorts = [3478]; allowedUDPPorts = [3478];
allowedTCPPorts = [80 443]; allowedTCPPorts = [80 443];
checkReversePath = "loose";
}; };
}; };
@ -94,5 +95,10 @@ in
pkgs.hcloud pkgs.hcloud
pkgs.dhcpcd pkgs.dhcpcd
]; ];
boot.kernel.sysctl = {
"net.ipv4.ip_forward" = 1;
"net.ipv6.conf.all.forwarding" = 1;
};
} }