disabling ipv6 with wg-quick

Jason A. Donenfeld Jason at zx2c4.com
Thu Nov 16 13:28:24 CET 2017


Remove the v6 addresses from Address= and AllowedIPs=, and then you'll be
set.

--
Sent from my telephone.

On Nov 16, 2017 11:04 AM, <ds at fastmail.fm> wrote:

> Hi,
>
> Is there a way to disable ipv6 when using wg-quick?
>
> If I have the following line on my conf file:
>
> Address = xx.xx.x.39/32,xxxx:xxxx:xxx:bb01::327/128
>
> wg-quick will fail with the following error:
>
>  ~ 2   wg-quick up mullvad-se2
> [#] ip link add mullvad-se2 type wireguard
> [#] wg setconf mullvad-se2 /dev/fd/63
> [#] ip address add  xx.xx.x.39/3 dev mullvad-se2
> [#] ip address add xxxx:xxxx:xxx:bb01::327/128 dev mullvad-se2
> RTNETLINK answers: Permission denied
>
> I have ip6 disabled in my system.
>
> Removing xxxx:xxxx:xxx:bb01::327/128 works, but wg-quick still sets ups
> some ipv6 routes `ip -6 ..` etc.
>
> Is there a way to use ipv4 only with wg-quick?
>
> Thanks.
>
> _______________________________________________
> WireGuard mailing list
> WireGuard at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20171116/0905e76e/attachment.html>


More information about the WireGuard mailing list