From dbc610e54e75479901d760042bc93ad33dfc75b1 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Fri, 21 Feb 2025 16:20:00 +0100 Subject: [PATCH] Note about loc1xe-vms --- machines/loc1xe/setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/machines/loc1xe/setup.sh b/machines/loc1xe/setup.sh index a3616d4..d1f968e 100755 --- a/machines/loc1xe/setup.sh +++ b/machines/loc1xe/setup.sh @@ -23,6 +23,8 @@ ip link add name wg-vms type wireguard wg setconf wg-vms ./machines/$mach/wg-vms.conf ip link set wg-vms netns "$vm_netns" nsenter --net="$vm_netns" ip link set wg-vms up +# The netns has *no* means of participating in the traffic, because it has no address to use. +# FIXME: Apart from possibly a link-local one :-/ nsenter --net="$vm_netns" ip route add 2a01:4f8:c0c:36b8:ff01:8000:0:0001/128 dev wg-vms onlink nsenter --net="$vm_netns" ip route add default via 2a01:4f8:c0c:36b8:ff01:8000:0:0001 dev wg-vms nsenter --net="$vm_netns" sysctl net.ipv6.conf.all.forwarding=1