<HTML><BODY>Hello,<br><br>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:<br><br># service wireguard start<br>[#] wireguard-go wg0<br>INFO: (wg0) 2019/09/10 02:02:29 Starting wireguard-go version 0.0.20190805<br>ERROR: (wg0) 2019/09/10 02:02:29 Failed to create TUN device: address family not supported by protocol family<br>[#] rm -f /var/run/wireguard/wg0.sock<br>netstat: inet6: unknown address family<br><br>Here is my config file wg0.conf:<br><br>[Interface]<br>Address = 192.168.222.1/32<br>PrivateKey = <priv Key><br>ListenPort = 51820<br><br>[Peer]<br>PublicKey = <pub key><br>AllowedIPs = 192.168.222.2/32<br><br>Why does it try to use IPv6 on tun0 interface when I didn't specify IPv6 address in the config file.<br><br>Thank you!<br></BODY></HTML>