api-integration-examples icon indicating copy to clipboard operation
api-integration-examples copied to clipboard

Clarified documentation for IPv6 selective routing

Open cedricroijakkers opened this issue 2 years ago • 2 comments

Slightly elaborated on the use of IPv6 Gateway addresses with respect to Wireguard selective routing.

The documentation mentions the use of a /127 for IPv6, but is not entirely clear on which address to use for the local tunnel configuration and which one to use for the Gateway.

Added a little note on how to use an IP calculator tool to determine which address is which. Mixing up this configuration will make the VPN not work.

cedricroijakkers avatar Sep 08 '23 13:09 cedricroijakkers

Not sure I get all the trickery employed here. /128 doesn’t work? Usually that is point to point to any gateway. It works for gif/gre devices. Otherwise suggesting a /126 in general might be better.

fichtner avatar Sep 08 '23 13:09 fichtner

Quite honestly, I don't get the trickery either. I was following the guide to set up my routing, and ran into the problem that I was using the wrong IP of the /127 and therefore it didn't work. I have just added some text with the pitfalls I fell into myself, to make sure other people don't.

The rest of the guide is quite accurate, I just specified some details a little more clearly.

cedricroijakkers avatar Sep 08 '23 14:09 cedricroijakkers