TunSafe Forum

Welcome to the TunSafe Community Forum. This is open for discussions related to TunSafe and the WireGuard protocol.

You are not logged in.

#1 2019-04-10 17:09:19

Registered: 2019-04-07
Posts: 1

Official Wireguard configuration parsing error bug

I believe this is a bug, i might be wrong.

when creating a config file i get "Line unrecognized: 'Address=xx.xx.xx.xx/32'"

config looks like this:


Address = xx.xx.xx.xx/32

ListenPort = 51820

PrivateKey = <client pk>

Of course, the xx.xx.xx.xx is an actual IP address.

As far as I understand, the "Address" field is the range of IP addresses the interface assigns to clients, correct? Without this no clients will get an internal IP correct?

I am pretty sure this is a bug, there is no reason I can think of that it would reject a parameter that is shown in the examples in the documentation.

Additionally, when I manually set the network up it works great, but when I showconfig it does not include the "Address" line.

Updated Wireguard today, so this issue is occurring in the latest version.


#2 2019-04-10 17:29:33

Registered: 2018-03-09
Posts: 62

Re: Official Wireguard configuration parsing error bug

The WireGuard binary does not support the Address field. You will have to use the 'wg-quick' command/bash script instead. It is installed automatically when you install WireGuard.

wg-quick up ~/wireguard/example.conf



Board footer

Powered by FluxBB