blade-tuvok: provide a proper path to the sysctl utility

This commit is contained in:
Luke Granger-Brown 2022-01-10 22:40:57 +00:00
parent 4f0a7b60bc
commit 9ccf3b333d

View file

@ -35,7 +35,7 @@ in {
ip -n wg-endpoint addr add 2a09:a441::f00f/48 dev ve-int ip -n wg-endpoint addr add 2a09:a441::f00f/48 dev ve-int
ip -n wg-endpoint route add default via 92.118.28.1 ip -n wg-endpoint route add default via 92.118.28.1
ip -n wg-endpoint route add default via 2a09:a441::1 ip -n wg-endpoint route add default via 2a09:a441::1
ip netns exec wg-endpoint sysctl net.ipv4.ip_forward=1 net.ipv6.conf.all.forwarding=1 net.ipv6.conf.default.forwarding=1 ip netns exec wg-endpoint ${pkgs.procps}/bin/sysctl net.ipv4.ip_forward=1 net.ipv6.conf.all.forwarding=1 net.ipv6.conf.default.forwarding=1
) )
''; '';
nat.extraCommands = '' nat.extraCommands = ''