Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2021 09:29:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253889] net/wireguard: doesnt work without IPv6 enabled
Message-ID:  <bug-253889-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253889

            Bug ID: 253889
           Summary: net/wireguard: doesnt work without IPv6 enabled
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: decke@FreeBSD.org
          Reporter: iron.udjin@gmail.com
             Flags: maintainer-feedback?(decke@FreeBSD.org)
          Assignee: decke@FreeBSD.org

I have a VM with FreeBSD 13-STABLE where is disabled IPv6 because I don't n=
eed
it. When I'm trying to start wireguard I'm getting:

# service wireguard start
[#] wireguard-go wg0
ERROR: (wg0) 2021/02/27 11:22:48 Failed to create TUN device: address family
not supported by protocol family
[#] rm -f /var/run/wireguard/wg0.sock
netstat: inet6: unknown address family

wg0.conf:

[Interface]
Address =3D 192.168.222.1/32
PrivateKey =3D <key>
ListenPort =3D 51820

[Peer]
PublicKey =3D <key>
AllowedIPs =3D 192.168.222.2/32

Installed from ports:
wireguard-go-0.0.20210212,1
wireguard-1.0.20210223

Wireguard need to have possibility to work without IPv6 enabled.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253889-7788>