From f46a8e28bd5ee110e88913df38896ccaae3944b6 Mon Sep 17 00:00:00 2001 From: Lanius-collaris <55432068+Lanius-collaris@users.noreply.github.com> Date: Wed, 17 Jul 2024 05:53:52 +0800 Subject: [PATCH] warp/endpoint.go: add 2 prefixes Signed-off-by: Lanius-collaris <55432068+Lanius-collaris@users.noreply.github.com> --- warp/endpoint.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/warp/endpoint.go b/warp/endpoint.go index 6855ae9e2..adca85ca2 100644 --- a/warp/endpoint.go +++ b/warp/endpoint.go @@ -22,6 +22,13 @@ func WarpPrefixes() []netip.Prefix { } } +func WarpNAT64Prefixes() []netip.Prefix { + return []netip.Prefix{ + netip.MustParsePrefix("2a02:898:146:64::a29f:c000/120"), + netip.MustParsePrefix("2001:67c:2960:6464::a29f:c000/120"), + } +} + func RandomWarpPrefix(v4, v6 bool) netip.Prefix { if !v4 && !v6 { panic("Must choose a IP version for RandomWarpPrefix")