[Bug 253889] net/wireguard: doesnt work without IPv6 enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 27 09:29:17 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253889

            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 at FreeBSD.org
          Reporter: iron.udjin at gmail.com
             Flags: maintainer-feedback?(decke at FreeBSD.org)
          Assignee: decke at FreeBSD.org

I have a VM with FreeBSD 13-STABLE where is disabled IPv6 because I don't need
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 = 192.168.222.1/32
PrivateKey = <key>
ListenPort = 51820

[Peer]
PublicKey = <key>
AllowedIPs = 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.

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


More information about the freebsd-ports-bugs mailing list