diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-16 09:20:46 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-16 09:20:46 +0100 |
commit | 8ae06b5f397dd2923ac0507c357064726d942cee (patch) | |
tree | 7a9827fbc849cd954a3da0aa5f82d67c015fdc12 /hosts/surtr/default.nix | |
parent | 1f2efed9d6759cadc275f2b02fcbbf367f73039d (diff) | |
download | nixos-8ae06b5f397dd2923ac0507c357064726d942cee.tar nixos-8ae06b5f397dd2923ac0507c357064726d942cee.tar.gz nixos-8ae06b5f397dd2923ac0507c357064726d942cee.tar.bz2 nixos-8ae06b5f397dd2923ac0507c357064726d942cee.tar.xz nixos-8ae06b5f397dd2923ac0507c357064726d942cee.zip |
surtr: ip forwarding
Diffstat (limited to 'hosts/surtr/default.nix')
-rw-r--r-- | hosts/surtr/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix index 70a825a4..2a3e6bb0 100644 --- a/hosts/surtr/default.nix +++ b/hosts/surtr/default.nix | |||
@@ -87,6 +87,12 @@ | |||
87 | }; | 87 | }; |
88 | }; | 88 | }; |
89 | }; | 89 | }; |
90 | boot.kernel.sysctl = { | ||
91 | "net.ipv6.conf.all.forwarding" = true; | ||
92 | "net.ipv6.conf.default.forwarding" = true; | ||
93 | "net.ipv4.conf.all.forwarding" = true; | ||
94 | "net.ipv4.conf.default.forwarding" = true; | ||
95 | }; | ||
90 | 96 | ||
91 | services.timesyncd.enable = false; | 97 | services.timesyncd.enable = false; |
92 | services.chrony = { | 98 | services.chrony = { |