1
20.1 Legacy Series / Re: Wireguard - link instantly goes down. (SOLVED)
« on: June 15, 2020, 09:39:52 am »
Thanks, didn't know where to look. I think I've found the issue (obfuscated the key a bit):
Looks like I made a copy-paste error. After re-entering the correct key (and saving it), everything started working again.
Thanks!
Code: [Select]
root@OPNsense:~ # /usr/local/etc/rc.d/wireguard restart
wg-quick: `wg0' is not a WireGuard interface
[#] wireguard-go wg0
INFO: (wg0) 2020/06/15 09:35:05 Starting wireguard-go version 0.0.20200320
[#] wg setconf wg0 /tmp/tmp.v90Z9IPh/sh-np.zTQZji
Key is not the correct length or format: `**********hLQ0vXOb0DxHAtnAvK38ZJYduidtVX**='
Configuration parsing error
[#] rm -f /var/run/wireguard/wg0.sock
Looks like I made a copy-paste error. After re-entering the correct key (and saving it), everything started working again.
Thanks!