Finally it works, but still have some problems
miniupnpc is already the newest version (2.1-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
public: 0IcKZmBS9NEgodNG+L+OhEvVMddqUdsaOKfUkp+kAC7qng=
Failed to get properties: Unit name cockpit-wsinstance-https@.socket is neither a valid invocation ID nor unit name.
● wg-quick@wgnet0.service - WireGuard via wg-quick(8) for wgnet0
Loaded: loaded (/lib/systemd/system/wg-quick@.service; enabled; vendor preset: enabled)
Active: active (exited) since Sun 2020-03-22 00:26:30 +03; 20ms ago
Docs: man:wg-quick(8)
man:wg(8)
https://www.wireguard.com/quickstart/
https://git.zx2c4.com/wireguar…/about/src/man/wg-quick.8
https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8
Process: 18147 ExecStart=/usr/bin/wg-quick up wgnet0 (code=exited, status=0/SUCCESS)
Main PID: 18147 (code=exited, status=0/SUCCESS)
Mar 22 00:26:30 openmediavault.local systemd[1]: Starting WireGuard via wg-quick(8) for wgnet0...
Mar 22 00:26:30 openmediavault.local wg-quick[18147]: [#] ip link add wgnet0 type wireguard
Mar 22 00:26:30 openmediavault.local wg-quick[18147]: [#] wg setconf wgnet0 /dev/fd/63
Mar 22 00:26:30 openmediavault.local wg-quick[18147]: [#] ip -4 address add 10.192.122.1/24 dev wgnet0
Mar 22 00:26:30 openmediavault.local wg-quick[18147]: [#] ip link set mtu 1420 up dev wgnet0
Mar 22 00:26:30 openmediavault.local wg-quick[18147]: [#] iptables -A FORWARD -i wgnet0 -j ACCEPT; iptables -A FORWARD -o wgnet0 -j A
Mar 22 00:26:30 openmediavault.local systemd[1]: Started WireGuard via wg-quick(8) for wgnet0.
lines 1-19/19 (END)█████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████
████ ▄▄▄▄▄ █▄▀ █▄ ▄▄▀▀█▀ █ ▀ ███ █ ▄▀▄█▀▀▀ █ ▄▄▄▄▄ ████
████ █ █ █ ████ ██▀▀█ ▄ ███ ▄▀▀▄█ ▄█ █ █ ████
████ █▄▄▄█ █▄▀▀▀▀ ▄▄█▀▀▄█ ▄▄▄ ▄▄ ▄▄▄▀██ ▀███ █▄▄▄█ ████
████▄▄▄▄▄▄▄█▄▀ █▄▀▄▀ ▀ █ ▀ █▄█ █ ▀ ▀▄█▄▀ ▀ ▀ █▄▄▄▄▄▄▄████
████ ▄ ▀▀▄▀▄█▄█▀ ▄ ▄█▄█ ▄▄▄▄ ▀███▄▀ ▀███▀▀▀▄█▀▄▄▄█▄████
████ ▀▄██ ▄█▀▀▄ ▄ ▀█▄▀▀ █ ▀█ ▀▀█ ▀ ▄█▄▀▀█▄▀█▄ ▄▀▀ █████
████ █▀ ▄█▄▀ ▀▄█▄▄ ▄██▄▄█▀▄▀ ▄▄▄▀▀ █▄ ▄▀▄███▄▄▄▄█ █▀████
████▀█ █▀▄▄ ▀▀▄ ▄▄▀▄ ▀ ▀▀█▀▄▀▀▄█ ▀█▄▀▄ ▀▀▄█ ▄ ▀▀▄█████
████▄▀ ▄█▄▄█ ▀ █ █ ▄▄ ▀ ▄▄▀█▀ ▄ ▀▀▄█ ▄▄▄▄ ██▀▀▀ ████
████▄█ ▀▀ ▄▀▀▀▀█ ▀▀█▀█▄▄ ▄█▀ ▀█ ▀▄▀█▄█▀ ▀▄█▀▄▄ ▄ ██████
█████ ▀▀█▄▄ ▀██▀▄█ ▄█ █▄▀ ▄▀▄ ▀█ █ ▄███▄▀█▀▀▀ ▄▀▀ ▀████
████▄▄▄███▄█▀█ ▄▄▀██▄ ▀ ▀▀ ▄▄▄ ▀ █▄▀▀▄▄ ▀ ▀ ▄▄▄ ▄ █▀████
████ ▄▄▄▄▄ ██▀█▄▄▄▄ ▀▄ ▄█▄ █▄█ ▀▀▀█▀██ ▄▄▀ █▄█ ▀███████
████ █ █ █▀▀▄▄▀█▄ ▄▀▀▄ ▀ ▄▄█▀██▄▄ ▄▄▀ ▀█▄▄ ▄ ▀█ ████
████ █▄▄▄█ █ █▄██▄▄██ ▄█▄▀▀▄▄ ▀ █▄ ▄ ▄ █▄ ▄▄ ▄▀▄█████
████▄▄▄▄▄▄▄█▄▄▄█▄██▄▄█▄▄▄▄███▄█▄▄████▄██████▄█████▄▄▄████
█████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████
Scan this Qrcode in your client. Before connecting ensure that Port 51820 (UDP) is
forwarded from your router to your Server. Trying to set this up via Upnp now.
upnpc : miniupnpc library test client, version 2.1.
(c) 2005-2018 Thomas Bernard.
Go to http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
desc: http://192.168.0.14:2869/dmr.xml
st: upnp:rootdevice
desc: http://192.168.0.21:8008/ssdp/device-desc.xml
st: upnp:rootdevice
UPnP device found. Is it an IGD ? : http://192.168.0.14:2869/
Trying to continue anyway
Local LAN ip address : unset
GetExternalIPAddress failed.
AddPortMapping(51820, 51820, unset) failed with code 602 (UnknownError)
root@openmediavault:/#