VPS, Wireguard et IPv6
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

VPS, Wireguard et IPv6

by
BrunoW2
Created on 2021-10-24 11:32:14 (edited on 2024-09-04 10:46:06) in Serveurs Privés Virtuels (VPS)

Bonjour,
j'ai monté sur mon instance VPS (2020, Debian) un peer Wireguard. En IPv4, cela fonctionne parfaitement. Logiquement je cherche maintenant à faire fonctionner la partie IPv6.
Or sur mon VPS, je ne dispose que d'une adresse IPv6 en /128.
Pour configurer Wireguard, j'ai besoin d'assigner à l'interface wireguard (ip link add wg0 type wireguard) une adresse IPv6 de type Unique Local, c'est à dire dans la plage fd00::/8.
Une telle opération est' elle possible ? permise ? J'obtiens systématiquement un code retour "**RTNETLINK answers: Permission denied**"
> ip -6 address add fd56:56:56:56::1 dev wg0
> RTNETLINK answers: Permission denied

Je dois surement avoir sauté une étape de la configuration de cette interface, mais je ne vois pas a priori laquelle ... ???
Merci de votre aide,
BrunoW2