Skip to content
This repository was archived by the owner on Nov 21, 2022. It is now read-only.
This repository was archived by the owner on Nov 21, 2022. It is now read-only.

Support IPv6 over wireguard #25

@withinboredom

Description

@withinboredom
wg-quick up
[#] ip link add wg type wireguard
[#] wg setconf wg /dev/fd/63
[#] ip -4 address add 10.9.0.1/24 dev wg
[#] ip -6 address add REDACTED/64 dev wg
[#] ip link set mtu 65456 up dev wg
[#] wg set wg fwmark 51820
[#] ip -6 route add ::/0 dev wg table 51820
[#] ip -6 rule add not fwmark 51820 table 51820
Error: Rule family not supported.
[#] ip link delete dev wg

As far as I can tell, missing the following config to support the rule:

CONFIG_IPV6_MULTIPLE_TABLES=y

From there, ipv6 support should "just work" using wireguard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions