Development discussion of WireGuard
 help / color / mirror / Atom feed
From: "Евгений IRON" <iron@mail.ua>
To: wireguard@lists.zx2c4.com
Subject: Wireguard with disabled IPv6 under FreeBSD
Date: Tue, 10 Sep 2019 02:11:37 +0300	[thread overview]
Message-ID: <1568070697.332144477@f522.i.mail.ru> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 827 bytes --]

Hello,

I'm trying to setup wireguard server on FreeBSD which was built from ports. I have custom kernel build where I disabled IPv6 which I currently don't use at this VM. When I trying to start WIreguard I receive an error:

# service wireguard start
[#] wireguard-go wg0
INFO: (wg0) 2019/09/10 02:02:29 Starting wireguard-go version 0.0.20190805
ERROR: (wg0) 2019/09/10 02:02:29 Failed to create TUN device: address family not supported by protocol family
[#] rm -f /var/run/wireguard/wg0.sock
netstat: inet6: unknown address family

Here is my config file wg0.conf:

[Interface]
Address = 192.168.222.1/32
PrivateKey = <priv Key>
ListenPort = 51820

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

Why does it try to use IPv6 on tun0 interface when I didn't specify IPv6 address in the config file.

Thank you!

[-- Attachment #1.2: Type: text/html, Size: 942 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

                 reply	other threads:[~2019-09-11 16:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1568070697.332144477@f522.i.mail.ru \
    --to=iron@mail.ua \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).