wireguard-kmod-0.0.20210323 on releng/13.0-8f731a397 (RC3) transition to if_wg from wireguard-go, magic! just 'PersistentKeepalive' is not working here in the meantime: nohup ping -qi 25 -s 0 wg_internal_peer_ip &
Thank you for the report. Fixed here: https://git.zx2c4.com/wireguard-freebsd/commit/?id=5bd562e6994f0750e96629749a939fde6e1afd67 [I would mark this bug as closed but I haven't the permissions to do so on Bugzilla.]
Thanks for the fix! I'll leave this PR open until the next snapshot has landed in the portstree because this is how we usually do it.
(In reply to Jason A. Donenfeld from comment #1) Your patch works perfect here. Thanks a lot.
Fix released in https://lists.zx2c4.com/pipermail/wireguard/2021-April/006612.html
Created attachment 224086 [details] wireguard-kmod-0.0.20210412
(In reply to Jason A. Donenfeld from comment #4) New snapshot built with locally modified port. I was already using all but last commit. Thanks a lot!
Port was updated.