blade-tuvok: make sure wg-endpoint sysctl gets forwarding enabled

This commit is contained in:
Luke Granger-Brown 2021-08-30 20:52:20 +01:00
parent 7134fe904a
commit b2e45b56bb

View file

@ -35,6 +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
) )
''; '';
}; };