From f1d4c904d9a4d46497fdc14d2be430e2ce6c3af3 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 24 Jan 2024 10:58:20 +0100 Subject: [PATCH] doc/per-user-ip: fix subnet length in ip route command --- doc/per-user-ip.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/per-user-ip.md b/doc/per-user-ip.md index cb2ef73..66ea5d6 100644 --- a/doc/per-user-ip.md +++ b/doc/per-user-ip.md @@ -10,7 +10,7 @@ Assuming you're running Linux and want to use the IPv6 prefix `2001:db8::/32`: as the destination to your bouncer. 2. Enable `net.ipv6.ip_nonlocal_bind=1` with `sysctl`. 3. Setup a local route for this prefix: - `ip route add local 2001:db8::/56 dev lo` + `ip route add local 2001:db8::/32 dev lo` 4. Check network connectivity: `curl -6 --interface 2001:db8::42 https://emersion.fr` 5. Configure soju to use this IP range: `upstream-user-ip 2001:db8::/32`